On Mon, Mar 22, 2010 at 4:40 PM, Wolfgang Schuster
Am 22.03.10 16:35, schrieb luigi scarso:
\starttext \dorecurse{4}{% \edef\T{\recurselevel} \expandafter\chapter\expandafter{\recurselevel{}Chapter } \section{Section}} \stoptext
\dorecurse{4}{\chapter{#1 Chapter}\section{Section}} Runaway argument? {\dorecurse {4}{\chapter {##1 Chapter}\section {Section}} \stoptext ! File ended while scanning use of \xdorecurse. <inserted text> \par <*> ./test.tex
or \dorecurse{4}{\expanded{\chapter{\recurselevel{} Chapter}}\section{Section}}
Runaway argument? {\dorecurse {4}{\expanded {\chapter {\recurselevel {} Chapter}}\section \ETC. ! File ended while scanning use of \xdorecurse. <inserted text> \par <*> ./test.tex
-- luigi