20 Oct
2010
20 Oct
'10
5:11 p.m.
Am 20.10.2010 um 16:16 schrieb Bela Mulder:
Wolfgang: thanks for the tips, I'll try them out.
Be aware that prefix/numbersegments is only available in mkiv.
Hans: Here is the example, which produced the output in my Thoughts document (http://dl.dropbox.com/u/5718469/counters.pdf)
\definetyping[cmds] \setuptyping[cmds][option=commands] \starttext \startcmds \def\MySectionCounter{P\currentcounter[part].C\currentcounter[chapter]-\currentcounter[section]} /stopcmds \stoptext
which has inserted spaces before the opening square brackets and between e.g. \def and \MySectionCounter.
Can’t reproduce your problem here (using latest minimals) neither with mkii nor with mkiv but why do you write „/stopcmds“ and not „\stopcmds“? Wolfgang