[NTG-context] Re: tagigng

2025-08-13 Thread Mikael Sundqvist
Hi Den ons 13 aug. 2025 20:13Matthias Weber skrev: > Follow-up: The 66 complaints come from \startsection .. \stopsection pairs > (and \startsubsection .. \stopsubsection). > Adding just one of them increases the number of complaints by two. > > Instead of your > > \se

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
025, at 2:03 PM, Matthias Weber wrote: > > Follow-up: The 66 complaints come from \startsection .. \stopsection pairs > (and \startsubsection .. \stopsubsection). > Adding just one of them increases the number of complaints by two. > > Instead of your > > \setuph

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
Follow-up: The 66 complaints come from \startsection .. \stopsection pairs (and \startsubsection .. \stopsubsection). Adding just one of them increases the number of complaints by two. Instead of your \setupheads [section,subsection] [color=darkred] \setuphead [section] [style=\bfb

[NTG-context] Decreasing size of the section number according to its level

2025-01-23 Thread garulfo
[section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] [numberconversionset=mysectionnumbersforlist] \starttext \placecontent \startsection [title={Section}] \startsubsection [title={SubSection}] \startsubsubsection [title={SubSubSection}] \startsubsub

[NTG-context] How to force section title to be on same page as some of the content?

2024-11-02 Thread Joel via ntg-context
\define[9]\event{%  \staged{#9}   \startsubsection[title={\recurselevel.\getvalue{activitynumber}~~~#9}, reference={activity_\activitynumber_\recurselevel}]%  \activitytype{#9}%   #2%  \doifsomething{#4}{%\FrameTitle{\strut \bf Suggested Materials

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread Gerion Entrup
> style=\tfx, > > ] > > \setuplist[subsection][ > > aligntitle=yes, > > style=\tfxx, > > after={\blank[none]}, > > before={\blank[none]}, > > ] > > > > \starttext > > > > \placecontent > >

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread mf
rline \startchapter[title=foo] \startsection[title=foo] \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubsection \stopsection \startsection[title=foo] \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubse

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread Mikael Sundqvist
t; ] > \setuplist[subsection][ > aligntitle=yes, > style=\tfxx, > after={\blank[none]}, > before={\blank[none]}, > ] > > \starttext > > \placecontent > > \hairline > > \startchapter[title=foo] > \startsection[title=foo] > \s

[NTG-context] Vertical spacing in table of content

2024-10-05 Thread Gerion Entrup
, style=\tfxx, after={\blank[none]}, before={\blank[none]}, ] \starttext \placecontent \hairline \startchapter[title=foo] \startsection[title=foo] \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubsection

[NTG-context] build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread garulfo
npath] % <=== WITHOUT \startsubsection #2 %\startsubsection[title={Title for section #1}] \MySubSectionCommand{1}{Title for section #1} \input knuth \endgraf \input ward %\stopsubsection \stopshapetext \setlayer [testA] [hoffset={\the\dimexpr\backspace\relax}, voffset={\the\dimexpr\

[NTG-context] what am I missing in the typescript?

2024-05-15 Thread madiazm . eoicc
ctoria posible. %%% trying to get cormorant working... \startsubsection[title=Organización de carpetas] {\switchtobodyfont[miCorm] {\tfc la fuente Cormorant no funciona}} \stopsubsection Las carpetas aparecen nombradas {\ss por idioma}, nivel y set de pruebas, no apareciendo ninguna referencia a c

[NTG-context] font error in float placement?

2024-01-13 Thread Henning Hraban Ramm
e/mkiv/grph-chk.lua:112: in function <...-10/tex/texmf-context/tex/context/base/mkiv/grph-chk.lua:97> ...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1680: in function <...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1665> (...tail calls...)

[NTG-context] Re: Better option for a macro with lots of arguments

2023-08-23 Thread Hans Hagen via ntg-context
\startsection[title={Palabras clave}] #2 \stopsection \start \language[en] \startsection[title={Abstract}] #3 \stopsection \startsection[title={Keywords}] #4 \stopsection \stop \startsection[title={¿Cómo citar este capítulo? / How to cite this book?}] \startsubsection[title={Apa}] #5

[NTG-context] Better option for a macro with lots of arguments

2023-08-22 Thread Andres Conrado Montoya
\language[en] \startsection[title={Abstract}] #3 \stopsection \startsection[title={Keywords}] #4 \stopsection \stop \startsection[title={¿Cómo citar este capítulo? / How to cite this book?}] \startsubsection[title={Apa}] #5 \stopsubsection \startsubsection[title={Chicago}] #6

Re: [NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
ad [section] [color=darkred,style=\tfc,inbetween={\mono{\CheckC}}] \setuphead [subsection] [inbetween=] \starttext \startsection[title=Section A] Text of section A. \startsubsection[title=SubSection A.A] Text of subsection A.A \stopsubsection \stopsection

Re: [NTG-context] numbering questions

2023-01-01 Thread Henning Hraban Ramm via ntg-context
}] \startsubsection [title={C}] \stopsubsection \startsubsection [title={D}] \stopsubsection \startsubsection [title={E}] \stopsubsection \stopsection \startsection [title={F}] \startsubsection [title={G}] \stopsubsection \startsubsection [title={H}] \stopsubsection \startsubsection [title={I

Re: [NTG-context] numbering questions

2023-01-01 Thread Wolfgang Schuster via ntg-context
]   [sectionset=reverse-subsection] \starttext \startchapter [title={A}] \startsection [title={B}] \startsubsection [title={C}] \stopsubsection \startsubsection [title={D}] \stopsubsection \startsubsection [title={E}] \stopsubsection \stopsection \startsection [title={F}] \startsubsection [title={G

Re: [NTG-context] numbering sections/subsections

2022-07-10 Thread Alan Bowen via ntg-context
s=section:subsection, stopper={.}] > > % found in https://wiki.contextgarden.net/Titles > > > \starttext > > > > \startsection[title=New section] > > \input knuth > > \startsubsection[title=New subsection] > > \input ward > > \stopsubsection >

Re: [NTG-context] numbering sections/subsections

2022-07-09 Thread Henning Hraban Ramm via ntg-context
][sectionsegments=section:subsection, stopper={.}] % found in https://wiki.contextgarden.net/Titles \starttext \startsection[title=New section] \input knuth \startsubsection[title=New subsection] \input ward \stopsubsection \stopsection \stoptext Hraban

[NTG-context] numbering sections/subsections

2022-07-09 Thread Alan Bowen via ntg-context
[subsection][conversion=n, sectionsegements=section:subsection, stopper={.}] \starttext \startsection[title=New section] \input knuth \startsubsection[title=New subsection] \input ward \stopsubsection \stopsection \stoptext

Re: [NTG-context] no leavevmode

2021-05-28 Thread Hans Hagen
that \leavevmode? \startsubsection[title=TEST] \hbox{abc} def\crlf ghi jkl xyz \stopsubsection first of all, context never uses (and used) \leavevmode and that is for a good reason anyway, adding any mode change command automatically will somehow interfere, \starttext \def\MyTitle#1{\blank{

[NTG-context] no leavevmode

2021-05-27 Thread Hans van der Meer
implicite switch to horizontal mode. I can imagine that this behaviour could be confusing for users not well versed in the different behaviour of the horizontal and vertical modes. Therefore my question: Wouldn't it be wise to implement that \leavevmode? \startsubsection[title=TEST] \hbox{abc

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
gt; > \starttext > > \setupcaption[figure][way=bytext,prefixsegments=1:*] > > \setupformulas[way=bytext,prefixsegments=1:*] > > \startsection[title=Section] > > \startsubsection[title=SubSection] > > \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigur

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
,prefixsegments=1:*] \setupformulas[way=bytext,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] About the numbering of theorems

2020-08-07 Thread Fabrice Couvreur
, prefix=yes, prefixsegments=chapter, titlestyle=bold, width=broad] \defineenumeration [theorem] [text=Théorème, number=yes, style=italic] \starttext \startchapter [title={First chapter}] \startsection [title={First section}] \startsubsection [title={First

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Jairo A. del Rio
ments=subsection,conversion=n] > > \starttext > > \startchapter[title=Dummy chapter] > > \startsection[title=Dummy section] > > \startsubsection[title=Dummy subsection] > > \input knuth > > \stopsubsection > > \stopsection > > \stopchapter > >

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Wolfgang Schuster
[subsection][numbercommand=,textstyle={\it},sectionsegments=subsection,conversion=n] \starttext \startchapter[title=Dummy chapter] \startsection[title=Dummy section] \startsubsection[title=Dummy subsection] \input knuth \stopsubsection \stopsection \stopchapter \stoptext This caused by the second

[NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Jairo A. del Rio
section] \startsubsection[title=Dummy subsection] \input knuth \stopsubsection \stopsection \stopchapter \stoptext The log says: \endgroup \22>:157>:middle ...headshownumber \strut \headnumbercontent \par \else \fakeheadnumbercontent \fi \begstrut \headtextcontent \en

[NTG-context] About the table of contents

2020-07-11 Thread Fabrice Couvreur
[chapter,section,subsection] [criterium=all, interaction=all, alternative=c] \startchapter [title=My first chapter] \dorecurse{2}{\input knuth} \startsection [title=My first section] \dorecurse{2}{\input knuth} \startsubsection [title=My first subsection

Re: [NTG-context] using modeset

2020-06-11 Thread Wolfgang Schuster
a Dutch case. Within this two cases I would still apply all sorts of other modes using \startmode and \doifmode. Duplication is unavoidable but it would make sense to try and re-use the existing structural elements such as \startsection \startsubsection \placefigure etc as much as possible

[NTG-context] using modeset

2020-06-11 Thread Jan Willem Flamma
of other modes using \startmode and \doifmode. Duplication is unavoidable but it would make sense to try and re-use the existing structural elements such as \startsection \startsubsection \placefigure etc as much as possible. After all, only the title and caption text needs to be translated.I tried

[NTG-context] Chapters, sections, usw

2020-02-24 Thread Jean-Pierre Delange
ction}] \startsection[title={Préambule}] \startsubsection[title={À qui s'adresse ce cours ?}] Ce {\em cours} de philosophie s'adresse d'abord aux élèves de classe de terminale des Lycées, motivés par le massif intimidant d'interrogations et de réflexions que la tradition eu

[NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Thangalin
r={\column}, ] \setuphead[subsubsection][ after={\blank[small]}, ] \starttext \startsection[title={Section Title}] \startsubsection[title={Subtitle}] \dorecurse{2}{\input knuth} \dorecurse{2}{% \startsubsubsection[title={Subsubtitle}] \dorecurse{1}{\input ward} \dorecurse{2}{\input lorem}

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Daniel Haid
}] \startsubsection[title={Subsection}] \startsubsubsection[title={First Subsubsection}] \startsubsubsubsection[title={Foo}, reference=foo] \stopsubsubsubsection \startsubsubsection[title={Second subsubsection}] \startsubsubsubsection[title={Bar}, reference

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-03 Thread Hans Hagen
ction] \setuphead[subsubsubsubsubsubsection][sectionsegments=subsubsubsubsubsubsection] \setuphead[subsubsubsubsubsubsubsection][sectionsegments=subsubsubsubsubsubsubsection] \def\startA{\startchapter} \def\stopA{\stopchapter} \def\startI{\startsection} \def\stopI{\stopsection} \def\start

[NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-02 Thread Daniel Haid
on] \setuphead[subsubsubsubsubsubsection][sectionsegments=subsubsubsubsubsubsection] \setuphead[subsubsubsubsubsubsubsection][sectionsegments=subsubsubsubsubsubsubsection] \def\startA{\startchapter} \def\stopA{\stopchapter} \def\startI{\startsection} \def\stopI{\stopsection} \def\startS{\startsubsection}

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
ection[title=List of Tables] \placelistoftables \stopsection \startsection[title=List of Symbols] \placelistofsymbols \stopsection \stopfrontmatter \startbodymatter \startsection[title=Symbols] \startsubsection[title=Using the Symbols] \placeformula \startsubformulas \startformula \startalign \NC \frac{d

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
rking[section] \hfill \llap{\userpagenumber} \stopsetups \startsetups[text left] \rlap{\userpagenumber} \hfill \sc \getmarking[chapter] \hfill \llap{} \stopsetups \startfrontmatter Hello \completecontent \stopfrontmatter \startbodymatter \startchapter[title=yay] \startsection[title=wow] \startsubse

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
[section] \hfill \llap{\userpagenumber} \stopsetups \startsetups[text left] \rlap{\userpagenumber} \hfill \sc \getmarking[chapter] \hfill \llap{} \stopsetups \startfrontmatter Hello \completecontent \stopfrontmatter \startbodymatter \startchapter[title=yay] \startsection[title=wow] \startsubsection[title

[NTG-context] Footnotes and endnotes

2018-11-17 Thread Axel Kielhorn
.} \startsubsection[title={Endnoten}] \placenotes[endnote] \placenotes[commentnote] \stopsubsection \stopsection \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Why do I have to enclose \rawcounter in braces in this MWE ?

2018-09-25 Thread Damien Thiriet
}] \startsection[title={Un premier chapitre}] voilà \stopsection \startsubsection[title={Un deuxième}] tak jest. \stopsubsection \stoptitle \stoptext Thanks, Damien Thiriet ___ If your question is of

Re: [NTG-context] Some questions about the presentation of a book

2018-07-21 Thread Fabrice Couvreur
[structure] > [n, R, n, n, n] > > \definestructureconversionset > [digits] > [n, n, n, n, n] > > \setupheads[sectionconversionset=structure] > > \setuplist[chapter][style=bold,width=5mm] > > \starttext > > \starttitle[title={\bf So

[NTG-context] Some questions about the presentation of a book

2018-07-20 Thread Fabrice Couvreur
\stoptitle \startchapter[title=First chapter] \startsection[title=Fist section] \startsubsection[title=First subsection] \dorecurse{10}{\fakewords{120}{120}\par} \stopsubsection \stopsection \stopchapter \startchapter[title=Second chapter] \startsection[title=Second section] \startsubsection[ti

[NTG-context] Problem of compiling a file with Emacs

2018-07-19 Thread Fabrice Couvreur
\starttitle[title={Sommaire}] \start \placelist [chapter,section,subsection] [criterium=all, alternative=c] \stop \stoptitle \startchapter[title=Espaces probabilisés] \startsubsection[title=Expérience aléato

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
t=OLIE] % \setupreferencestructureprefix [chapter] [default] % [prefixstopper=\zerowidthspace, % numberconversionset=OLIE] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward S

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
rttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopc

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Wolfgang Schuster
hspace, % numberconversionset=OLIE] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={refe

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-01 Thread Wolfgang Schuster
{First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={

Re: [NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2

[NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter

[NTG-context] \setupreferencestructureprefix and numberconversionset

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
={}] \startsubsection[title={},reference={reference1}] \input ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={Second}] \startsubsection[title={},reference={reference3

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
t},reference={}] \startsubsection[title={},reference={reference1}] \input ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={Second}] \startsubsection[title={},reference

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Wolfgang Schuster
ctionstopper=., criterium=local] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={reference2}]

[NTG-context] referencing and stoppers

2018-06-29 Thread Idris Samawi Hamid ادريس سماوي حامد
=text] \setuphead[subsection][distance=0em, textdistance=0.7em, sectionstopper=., criterium=local] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input

Re: [NTG-context] space sectioning control

2018-06-26 Thread Procházka Lukáš Ing .
ni 2018 um 04:45 Dear gang, Here's an interesting one, attached and below: === \setuphead[chapter] [alternative=normal] \setuphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference

Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
\starttext \startchapter[title={First},reference={}] \startsubsection%[title={First}] \input ward \stopsubsection \startsubsection%[title={Second}] \input ward \stopsubsection \stopchapter \startchapter[title={Second},reference={}] \startsubsection%[title={}] \input ward \stopsubsection \startsubsec

Re: [NTG-context] space sectioning control

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
ve=normal] \setuphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference={}] \startsubsection%[title={First}] \input ward \stopsubsection \startsubsection%[title={Second}] \input ward \stopsu

Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
tive=normal] \setuphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference={}] \startsubsection%[title={First}] \input ward \stopsubsection \startsubsection%[title={Second}] \input ward \sto

[NTG-context] space sectioning control

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Here's an interesting one, attached and below: === \setuphead[chapter] [alternative=normal] \setuphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference={}] \startsubse

[NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
econtent[criterium=all] \stopfrontmatter \startbodymatter \startchapter[title={The First Numerals Chapter}] \startsection[title={The First Caps-Romannumerals Section}] \input knuth \startsubsection[title={The First characters Subsection}] \input knuth \stopsubsection \stopsectio

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
=text, criterium=all, number=no, textcommand=\subsubParagraphNumber, insidesection=\hskip-0.49em] % adjust space after title \setupwhitespace[line] \starttext \startsection[title={Text.}] \input ward \startsubsection \input ward \startsubsubsection[title={Text.}] \input ward

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
}{% \startsection \startpar\input ward\stoppar \startparagraph\input ward\stopparagraph \startsubsubsection{} \startpar\input ward\stoppar \stopsubsubsection \dorecurse{2}{% \startsubsection \startpar\input ward\stoppar \startparagraph\input ward\stopparagraph \dorecurse

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
\stopsection \startsection \PARHEAD{Paragraph 2.} \input ward \startparagraph \input ward \stopparagraph \startsubsection \input ward \startsubsubsection \input ward \stopsubsubsection \stopsubsection \stopsection \startsection \input ward \startsubsubsection \input ward \stopsubsubsection \stopsection

Re: [NTG-context] methods for numbered paragraphs

2017-08-06 Thread Wolfgang Schuster
medium]},color=walayahred,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stops

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
][style=\tf,after={\blank[big]},before={\blank[big,medium]},color=walayahred,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph

[NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stopsection \stoptext == See

[NTG-context] methods for numbered paragraphs

2017-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stopsection \stoptext == See attached output. In paragraphs 1 and 2, there is too much distance between

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
\dorecurse{5}{\placefigure{Eine andere Kuh} > {\externalfigure[cow.pdf]}} > \dorecurse{5}{\chapter{Kapitel} > \placefigure{Noch eine andere Kuh}{\externalfigure[cow.pdf]}} > \stoptext > > In general, please provide minimal samples of code that show your problem. Was no

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Todd DeVries
74, students with disabilities are participating in higher education in increasing numbers (Madaus, 2011). Students with psychiatric, learning, and cognitive impairment who once considered college out of reach are taking the plunge. … \stopparagraph \startsubsection[titl

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Alan Braslau
Have you tried: On Sat, 1 Apr 2017 20:20:02 +0200 Pablo Rodriguez wrote: > Tagging PDFs the way you seem to be trying might be impossible. Here > is my sample: > > \setuppapersize[letter] > \setuptagging[state=start] > \starttext > \startsubsection[t

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Pablo Rodriguez
rt] \setuphead[subsection][style=\bf, number=no, commandafter={.~}, textdistance=0cm, alternative=text] \starttext \startsubsection[title=First Subsection] \input knuth \stopsubsection \stoptext >>> alternative=text is working, but \startparagraph is s

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Rik Kabel
:deep, title=Deep Thoughts \startparagraph Oh Hum, its too windy to play out side, so perhaps I'll write a while... \startsubsection[reference=first, title=First Subsection] \startparagraph \input knuth \stopparagraph \stopsubsection \stopsection \stoptext First, add a cl

[NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
h Hum, its too windy to play out side, so perhaps I'll write a while... \startsubsection[reference=first, title=First Subsection] \startparagraph \input knuth \stopparagraph \stopsubsection \stopsection

Re: [NTG-context] grid snapping problem

2016-12-07 Thread Csikos Bela
the whole first page. Is it possible? >However, you have to keep \setnostrut and \setstrut around the figure because >the >before and after keys for captions are not (yet) implemented. It's fine, not a problem. I guess I can use simply \subsection command instead of \st

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Henri Menke
\stoptexdefinition \setupcaptions [ width=fit, align=last, headstyle={\ss\bfx}, style={\ss\tfx}, before={\setnostrut}, textcommand=\getvalue{caption:text}, ] \starttext \startsubsection[title={Subsection title}] \input dawkins \input dawkins \setnostrut

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Fabrice Couvreur
; > \starttext > > \setuphead > [subsection] > [ > sectionsegments=subsection:subsection, > color=darkred, > ] > > \startsubsection[title={Recherche d'une fonction sous contraintes}] > \stopsubsection > > \stoptext > > On 07/27/2016 11:2

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Henri Menke
Hi Fabrice, use \setuphead (see below). Cheers, Henri --- \starttext \setuphead [subsection] [ sectionsegments=subsection:subsection, color=darkred, ] \startsubsection[title={Recherche d'une fonction sous contraintes}] \stopsubsection \stoptext On 07/27/2016 11:24 AM, Fa

[NTG-context] Change the color of the number of subsection

2016-07-27 Thread Fabrice Couvreur
Hello, With this \startsubsection [title={\darkred Recherche d'une fonction sous contraintes}, sectionsegments=subsection:subsection, numbercommand={\darkred}] it does not work. Thanks Fabrice ___ If

[NTG-context] [NTG-ConTeXt] Wrong order of sections and subsections

2016-06-18 Thread Marcus Vinicius Mesquita
\startsection[title=First section] \startsubsection[title=First subsection] Lorem ipsum \dots \stopsubsection \startsubsection[title=second subsection] Lorem ipsum \dots \stopsubsection \stopsection \startsection[title=Second section] \startsubsection[title=First

Re: [NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Wolfgang Schuster
\startsection[ reference=sec:Two, title={Section Two}, ] [a_variable={some value}] a_variable=\quote{\structureuservariable{a_variable}}. \startsubsection[ reference=sec:Two:Sec, title={Here’s a subsection}, ] In this subsection there’s some text\ldots \stopsubsection \stopsection \stoptext but r

[NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
_variable={some value}] a_variable=\quote{\structureuservariable{a_variable}}. \startsubsection[ reference=sec:Two:Sec, title={Here’s a subsection}, ] In this subsection there’s some text\ldots \stopsubsection \stopsection \stoptext but running it under Debian (Sid) gives: [gour@atmar

Re: [NTG-context] A document composed only of TEXpages

2016-03-04 Thread Hans Hagen
topTEXpage \setcounter[userpage][\pagenumber+1] \startTEXpage \startsubsection[title={My First Subsection}] Contents \stopsubsection \stopTEXpage \setcounter[userpage][\pagenumber+1] \startTEXpage \startsubsection[title={My Second Subsection}] Contents \stopsubsection \stopTEXpage \setcounte

[NTG-context] A document composed only of TEXpages

2016-03-04 Thread Chicho Pep
artTEXpage \startsection[title={My Section}] \placecontent \stopTEXpage \setcounter[userpage][\pagenumber+1] \startTEXpage \startsubsection[title={My First Subsection}] Contents \stopsubsection \stopTEXpage \setcounter[userpage][\pagenumber+1] \startTEXpage \startsubsection[title={My Second Subsection}

Re: [NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread Alan BRASLAU
This works only because ConTeXt has some sanity checks, so a new \startsubsection will implicitly stop an un-stopped subsection. But it is bad practice to count on this, for I am sure that there are some situations where something might fail. The \startXXX ... \stopXXX syntax is generally better

Re: [NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread josephcanedo
Thanks a lot, very concise. I was wondering if the \stopchapter (or more generally \stop) were needed ? In my document I write in some instances: \startsubsection Bla bla \startsubsection etc …. and it seems to work fine (but perhaps pure luck or is the \startsubsection implictly

Re: [NTG-context] User-Defined Commands With Key-Value Options

2015-07-19 Thread Hans Hagen
startsection, \startsubsection, etc., control the formatting of sections, subsections, etc.) Now, as you see. these commands are user-defined commands with key-value options. My goal is to define the way they do the formatting with Lua. But I do not know how to do. I know a bit about programming, so lea

[NTG-context] User-Defined Commands With Key-Value Options

2015-07-19 Thread Joas Yannick
l the Bibles are divided into books, and each book into chapters, and each chapter into verses. The purpose of \startbiblebook, \startbiblechapter, and \startbibleverse is to control the formatting thereof respectively (as \startsection, \startsubsection, etc., control the formatting of sections,

Re: [NTG-context] toc and macro

2015-05-28 Thread Wolfgang Schuster
and finds itself out (by the nesting of the command) > if its behave > as \startpart or \startchapter or \startsection or \startsubsection or > \startsubsubsection … You’re looking for the \startsectionlevel command. %\definesectionlevels[default][part,chapter,section,subsection] \starttext

Re: [NTG-context] toc and macro

2015-05-28 Thread Harry
\stopSameCommand \stopSameCommand \stoptext ___ The \startSameCommand finds itself out (by the nesting of the command) if its behave as \startpart or \startchapter or \startsection or \startsubsection or \startsubsubsection ... Harry Am 28.05.2015 um 12:47 schrieb

[NTG-context] Bug? Missing items in nested columnar layout

2014-04-01 Thread Thangalin
Hi, \setuphead[subsection][after={\blank[small]},] \starttext \startcolumns \startmixedcolumns[balance=yes,] \startsubsection[title=title,] \startitemgroup[][packed][before=\empty] \dorecurse{10}{\startitem item \#\recurselevel{}.\stopitem} \stopitemgroup

[NTG-context] Strange behaviour with columnar itemized text

2014-02-27 Thread Thangalin
, ] \setupstartstop[RecipeInstructionGroup][ before={\startmixedcolumns[grid=strut,]}, ] \setupstartstop[RecipeIngredientGroup,RecipeInstructionGroup,][ after={\stopmixedcolumns}, ] \starttext \startRecipeIngredientGroup \startsubsection[title={Title},] \startRecipeIngredients \dorecurs

Re: [NTG-context] reference to structureuservariable

2014-01-20 Thread Wolfgang Schuster
<---cut here---start->8--- \starttext \startsection[title=sec][foo=bar] % \edef\myFoo{\structureuservariable{foo}} % workaround \startsubsection[title=sub 1] sub 1 \stopsubsection \startsubsection[title=sub 2] sub 2 \stopsubsection \par foo is \structureuservariable{foo}.

[NTG-context] reference to structureuservariable

2014-01-20 Thread Peter Münster
Hi, How can I read a structureuservariable at the end of the section, when there are subsections? Example: --8<---cut here---start->8--- \starttext \startsection[title=sec][foo=bar] % \edef\myFoo{\structureuservariable{foo}} % workaround \startsubs

Re: [NTG-context] Sectioning from 0?

2013-10-06 Thread Lukáš Procházka
On Fri, 04 Oct 2013 16:53:58 +0200, Mari Voipio wrote: On Fri, Oct 4, 2013 at 5:11 PM, Peter Münster wrote: \startsection[ownnumber=123, title=A] bla \stopsubsection ? That was a typo, I guess; it should have been: \startsubsection[ownnumber=123,title=A] bla \stopsubsection Lukas

[NTG-context] Image width in a two-column layout

2013-09-02 Thread Thangalin
[ title={Section}, reference=sec:chapter, ] \placefigure[]{}{% \externalfigure[sheep.jpg][ width=\textwidth, ] } \startsubsection[ title={Equipment}, reference=sec:equipment,] \input knuth \stopsubsection \stopsection \stopchapter\stopbodymatter

Re: [NTG-context] PDF-Toc text is wrong for new \start? commands

2013-07-16 Thread Andres Conrado
4 > Date: Tue, 16 Jul 2013 10:10:29 +0200 > From: Steffen Kram > To: mailing list for ConTeXt users > Subject: [NTG-context] PDF-Toc text is wrong for new \start? commands > Message-ID: <6b6f3970-3477-4021-9312-b9408c70f...@kram.io> > Content-Type: text/plain; charset=wind

Re: [NTG-context] PDF-Toc text is wrong for new \start… commands

2013-07-16 Thread Steffen Kram
A similar problem occurs, when using references: \startsection[ title={my fancy section}, ] \startsubsection[title={first subsection}] \in{see}[secsub] \stopsubsection \startsubsection[ title={second subsection}, reference=secsub ] foo \stopsubsection \stopsection the \in

[NTG-context] Including section number in reference broken

2013-03-17 Thread Steffen Wolfrum
] \setuphead [sectionconversionset=myset] \setuphead [subsection] [sectionsegments=subsection] \starttext \startsection [title=Foo] \startsubsection [title=Bar, reference=bar] \stopsubsection \in{subsection}[bar] \stopsection \stoptext

  1   2   >