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

Pablo Rodriguez oinos at gmx.es
Tue Sep 25 21:34:38 CEST 2018

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:


Just in case it helps,


More information about the ntg-context mailing list