![](https://secure.gravatar.com/avatar/ae8a35d98b1fe0b419145ee4e3c777b2.jpg?s=120&d=mm&r=g)
20 Oct
2010
20 Oct
'10
8:16 a.m.
Wolfgang: thanks for the tips, I'll try them out. 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. -- Bela Mulder Group Leader Theory of Biomolecular matter FOM Institute AMOLF Science Park 104, 1098XG Amsterdam, THE NETHERLANDS Tel: + 31 20 7547100 FAX: + 31 20 7547290 web: http://www.amolf.nl/research/theory_of_biomolecular_matter/