Thanks, that helps. Am 10.12.2013 um 19:55 schrieb Aditya Mahajan : > 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___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________