[NTG-context] recursion/loop with counter?

Henning Hraban Ramm hraban at fiee.net
Thu Jan 6 14:25:57 CET 2005


Hello again!

In a form I need a lot of empty, but numbered fields.
Can I access the counter of \dorecurse somehow, or is there another  
loop command?

e.g.
\dorecurse{20}{\bTR \bTD \LoopCounter bottles of beer \eTD \bTD{\strut}  
\eTD \eTR}
or
\dorecurse{20}{\definefield[Fld\LoopCounter][line][MySetup][]\field[Fld\ 
LoopCounter]}


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net


More information about the ntg-context mailing list