Why do I have to enclose \rawcounter in braces in this MWE ?
![](https://secure.gravatar.com/avatar/553a05e1439e99fda5e0aca4f8af1e4f.jpg?s=120&d=mm&r=g)
Hello list, Why do I have to enclose \rawcountervalue in braces to get this MWE compiled ? \definecounter[fiche][way=bytext] \setupheadertexts[Fiche méthodologique N.{\rawcountervalue[fiche]} ][][][] \starttext \setcounter[fiche][2] \starttitle[title={Un essai}] \startsection[title={Un premier chapitre}] voilà \stopsection \startsubsection[title={Un deuxième}] tak jest. \stopsubsection \stoptitle \stoptext Thanks, Damien Thiriet
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 9/25/18 9:22 PM, Damien Thiriet wrote:
Hello list,
Why do I have to enclose \rawcountervalue in braces to get this MWE compiled ?
Hi Damien, just as you wrote it is the way to enclose brackets inside brackets (you need a pair of braces between them.
\definecounter[fiche][way=bytext] \setupheadertexts[Fiche méthodologique N.{\rawcountervalue[fiche]} ][][][]
BTW, I can compile you sample perfectly right on my computer. A similar sample would be: \setuphead[title][after={\blank[3*big]}] Just in case it helps, Pablo -- http://www.ousia.tk
participants (2)
-
Damien Thiriet
-
Pablo Rodriguez