[NTG-context] incrementing counters in tables

Jannik Voges jannik.voges at icloud.com
Tue Dec 10 19:47:40 CET 2013


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

Thanks

Jannik Voges
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20131210/4319f0e5/attachment-0001.pgp>


More information about the ntg-context mailing list