% Context file
% Filename: test-recurselevel.tex
% Willi Egger
% 21-02-2010

\setuppagenumbering[location=]
\setuplayout
	[topspace=2.5cm,
	backspace=1.5cm,
	header=0pt,
	footer=0pt,
	height=middle,
	width=middle]
\mainlanguage[nl]

\starttext
\subject{bTABLE--eTABLE: recurse creates rows}
\bTABLE
	\dorecurse{3}
		{\bTR
			\bTD \recurselevel \eTD
		\eTR}
\eTABLE

\subject{Tabulate: recurse creates rows}
\starttabulate[|l|]
	\dorecurse{3}{\NC \recurselevel \NR\NR}
\stoptabulate

\subject{Tabulate with recurselevel inside a cell}

\definetabulate[Mystyle][|p|]

\startMystyle
	\NC \dorecurse{5}{\recurselevel\par} \NC\NR
\stopMystyle

\subject{Normal text}
\dorecurse{3}{\bf\recurselevel\ Test run\par}
\stoptext