On Tue, 10 Dec 2013, Jannik Voges wrote: > Dear ConTeXt-Users, > > > I want to use counters in tables. But incrementing counters in tables doesn’t work as expected. For example, when I typeset the following example, I get numbers between 80 and 119, I would expect numbers between 0 and 39. How can I get the desired numbers? > > \definenumber[test] > > \starttext > \bTABLE > \dorecurse{8}{ > \bTR > \dorecurse{5}{\bTD \rawcountervalue[test]\incrementnumber[test] \eTD} > \eTR > } > \eTABLE > \stoptext Change that to: \rawcountervalue[test]\iftrialtypesetting\else\incrementnumber[test]\fi Aditya