Hello Wolfgang,
Thank yo very much, indeed!
Hm, that I see your answer I think I have seen this earlier :-(
Willi
On Feb 21, 2010, at 12:07 PM, Wolfgang Schuster wrote:
Am 21.02.10 11:37, schrieb Willi Egger:
Hello,
I was busy to build a larger table with a lot of empty but
numbered rows. So I thought to use the \dorecurse macro to help me.
Now I can't recall the actual value of \recurselevel.
Interestingly it fails only when calling for preparing whole rows
in the table. When the \recurselevel is retrieved in normal text
it works as expected.
Please refer to the attached minimal example-file.
Is there something changed in calling for the \recurselevel value?
No, that's normal for TABLE and tabulate.
\starttext
\bTABLE
\dorecurse{3}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}}
\eTABLE
\starttabulate[|l|]
\dorecurse{3}{\expanded{\NC\recurselevel\NC\NR}}
\stoptabulate
\starttabulate[|p|]
\NC\dorecurse{5}{\recurselevel\par}\NC\NR
\stoptabulate
\page
\bTABLE
\dorecurse{3}{\bTR\bTD#1\eTD\eTR}
\eTABLE
\starttabulate[|l|]
\dorecurse{3}{\NC##1\NC\NR}
\stoptabulate
\starttabulate[|p|]
\NC\dorecurse{5}{##1\par}\NC\NR
\stoptabulate
\stoptext
Wolfgang
______________________________________________________________________
_____________
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
______________________________________________________________________
_____________
___________________________________________________________________________________
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
___________________________________________________________________________________