Am 06.05.2012 22:26, schrieb Hans Hagen:
On 3-5-2012 19:01, Peter Rolf wrote:
Hi,
the system parameter 'n' is not properly set on the third run.
% test.tex
\starttext
\ifnum\systemparameter{n}=1\relax
\ctxlua{print(*** 1st run)}\fi
\ifnum\systemparameter{n}=2\relax
On 3-5-2012 19:01, Peter Rolf wrote:
Hi,
the system parameter 'n' is not properly set on the third run.
% test.tex
\starttext
\ifnum\systemparameter{n}=1\relax
\ctxlua{print(*** 1st run)}\fi
\ifnum\systemparameter{n}=2\relax
\ctxlua{print(*** 2nd run)}\fi
Hi,
the system parameter 'n' is not properly set on the third run.
% test.tex
\starttext
\ifnum\systemparameter{n}=1\relax
\ctxlua{print(*** 1st run)}\fi
\ifnum\systemparameter{n}=2\relax
\ctxlua{print(*** 2nd run)}\fi
\ifnum\systemparameter{n}=3\relax
\ctxlua{print(*** 3rd run)}\fi