Re: [NTG-context] Counter names

2022-01-20 Thread Hans Hagen via ntg-context
will be tremendous. But I would like to know what the "most common" counters are called, for example the ones that control the different structural units (chapter, section...) or the elements of a structured list, etc. I have tried to apply \incrementcounter or \decrementcounter to some

[NTG-context] Counter names

2022-01-20 Thread Joaquín Ataz López via ntg-context
ommon" counters are called, for example the ones that control the different structural units (chapter, section...) or the elements of a structured list, etc. I have tried to apply \incrementcounter or \decrementcounter to some counters that also exist in TeX as, for example, chapter, sect

Re: [NTG-context] late reset of counter with way=bypage

2016-02-22 Thread massifr
note]% \incrementcounter[authornote]\decrementcounter[authornote]% <-- authornote is incremented and decremented to force the reset by page >\setcounter[footnote][{\rawcountervalue[authornote]}]% >\setupnotation[footnote][numberconversion=set 1]% >\foot

Re: [NTG-context] \definelabel

2014-04-01 Thread Hans Hagen
nt one for labels but increment is the same as next so that one is gone \incrementcounter[video] \decrementcounter[video] are of course also there Hans - Hans Hagen |

Re: [NTG-context] solutions and problems

2014-02-23 Thread Wolfgang Schuster
rried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit,before={\incrementcounter[resposta]}] >>> >>> % Answers >>> \defineenumeration[resposta][headstyle=\ss,text={Solucions de l&#

Re: [NTG-context] solutions and problems

2014-02-23 Thread Xan
{.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit,before={\incrementcounter[resposta]}] > > > > % Answers > > \defineenumeration[resposta][headstyle=\ss,text={Solucions de l'exercici > > \getnumber[exercici]},width=fit,alternati

Re: [NTG-context] solutions and problems

2014-02-22 Thread Wolfgang Schuster
adstyle=\ss,distance=0.25em,width=fit,before={\incrementcounter[resposta]}] > > % Answers > \defineenumeration[resposta][headstyle=\ss,text={Solucions de l'exercici > \getnumber[exercici]},width=fit,alternative=serried,before={\decrementcounter[resposta]},number=no] >

Re: [NTG-context] solutions and problems

2014-02-22 Thread Xan
]}] % Answers \defineenumeration[resposta][headstyle=\ss,text={Solucions de l'exercici \getnumber[exercici]},width=fit,alternative=serried,before={\decrementcounter[resposta]},number=no] \defineblock[resposta] \hideblocks[resposta] % Exercises \startexercici Bla... \beginresposta \resposta (Solu

Re: [NTG-context] solutions and problems

2014-02-21 Thread Xan
,headstyle=\ss,distance=0.25em,width=fit,before={\incrementcounter[answer]}] \defineenumeration[resposta][headstyle=\ss,text={Solucions},width=fit,alternative=serried,before={\decrementcounter[resposta]}] \defineblock[resposta] \hideblocks[resposta] @Thomas: thank you very much for the link. Ev

Re: [NTG-context] store counter or variable and reread again

2007-01-01 Thread Hans Hagen
ddtocounter#1#2% #1 name #2 value >[EMAIL PROTECTED] > \protect > > % To Hans and Taco: Should the above macro be added to syst-ext? > i've added: \def\incrementcounter#1#2% #1 name #2 value {\setxvalue{#1}{\the\numexpr\csname#1\endcsname+#2\relax}} \def\decrement