Am 07.05.2009 um 15:08 schrieb Henning Hraban Ramm:
Am 2009-05-07 um 13:38 schrieb Wolfgang Schuster:
My minimal example shows some more problems, but these are
probably because \recurselevel isn't expanded at the right time...
\dorecurse{1000}{Use \type{\expanded{...}}\par}
Use \expanded{...}
Use \expanded{...}
...
Hä? Was soll das?
I don't want to \type some command, but just to expand \recurselevel
before processing.
Brett + Kopf = ?
\dorecurse{20}{%
\expanded{\chapter{My chapter \recurselevel}}
\expanded{\index{Index entry \recurselevel}}
\input zapf\expanded{\footnote{Zapf \recurselevel}}
\input tufte\expanded{\footnote{Tufte \recurselevel}}
}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________