[texhax] Why are there two definitions of \loop \repeat in latex.ltx?

Vafa Khalighi vafaklg at gmail.com
Fri Nov 4 16:33:59 CET 2011


In lines 101-104 of latex.ltx:

  \iterate \let\iterate\relax}

In lines 450-457 of latex.ltx, you have (essentially the same definition
but with \long):

\long\def \loop #1\repeat{%
  \def\iterate{#1\relax  % Extra \relax

Do you know why there are two definitions instead one? I guess you would
only need second definition.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20111105/e5619bb9/attachment.html>

More information about the texhax mailing list