[l2h] Nesting amsmath constructs align and cases causes infinite loop
Julius Smith
jos at ccrma.stanford.edu
Thu Aug 21 22:03:11 CEST 2014
fwd - jos [P.S. It fixes the problem in my test case]
At 03:02 AM 8/21/2014, Shigeharu TAKENO wrote:
>shige 08/20 2014
>----------------
>
>Julius Smith wrote:
>| I get the same behavior in my Mac OS environment. The failure is
>| noted in images.log but not in the console printout:
>=====
>| I have no idea how it's happening, but images.tex contains a
>| definition only for \centerinlinemathS:
>
>It may be a bug of versions/math.pl which divide the cases
>environment in the images.tex.
>
>It may be fixed the following patch.
>
>Well, I send it to M.Saltman and latex2html at tug.org, but it was
>not send to l2h-ml because my address may be rejected by
>latex2html at tug.org.
>
>----- From here (patch for math.pl) -----
>--- versions/math.pl.ORG 2004-01-01 15:15:01.000000000 +0900
>+++ versions/math.pl 2014-08-19 20:02:50.828761000 +0900
>@@ -1432,6 +1432,7 @@
> while ($pre_test =~ s/(($O|$OP)\d+($C|$CP))(.*)\1/$4/) {};
> $use_all = 1 if ($pre_test=~s/($O|$OP)\d+($C|$CP)//);
> if (!$use_all) {
>+ $pre_test = $pre_text;
> while ($pre_test =~
> s/\\begin(($O|$OP)\d+($C|$CP))(.*)\\end\1/$4
>/){};
> $use_all = 1 if
> ($pre_test=~s/\\(begin|end)($O|$OP)\d+($C|$CP)//
>);
> };
>----- To here (patch for math.pl) -----
>
>+========================================================+
> Shigeharu TAKENO NIigata Institute of Technology
> kashiwazaki,Niigata 945-1195 JAPAN
> shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
>+========================================================+
Julius O. Smith III <jos at ccrma.stanford.edu>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/latex2html/attachments/20140821/271d290f/attachment.html>
More information about the latex2html
mailing list