[texhax] Strange \loop-behaviour
news3 at nililand.de
Tue Jun 2 09:17:54 CEST 2009
Am Mon, 1 Jun 2009 20:37:05 +0200 schrieb Reiner Durchholz:
> This is a report of what I believe is a flaw in the "\loop"
> The appended source text behaves differently with and without the
> Instead of \null, almost any other command can be used.
> \null % without this command, the loop either does not end or ends
A \fi doesn't unterrupt the assignment to the counter more. TeX
continues to read/expand commands to find more numbers. You can even
use \if-commands inside the assignment:
\newcount\more \more=1 %
\ifx aa \more=0\fi 2
To stop the assignment, use \relax \more=0\relax
or a space: \more=0 \fi
More information about the texhax