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? Kind regards Willi
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
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 ______________________________________________________________________ _____________
Am 21.02.10 17:51, schrieb Willi Egger:
Hm, that I see your answer I think I have seen this earlier :-( http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-t...
Wolfgang
No! Even with a comment on my own account ;-( very bad! Thanks Willi On Feb 21, 2010, at 5:57 PM, Wolfgang Schuster wrote:
Am 21.02.10 17:51, schrieb Willi Egger:
Hm, that I see your answer I think I have seen this earlier :-(
http://randomdeterminism.wordpress.com/2009/03/05/tex-programming- the-past-the-present-and-the-future/
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 ______________________________________________________________________ _____________
participants (2)
-
Willi Egger
-
Wolfgang Schuster