[l2h] Nesting amsmath constructs align and cases causes infinite loop

Matthew Saltzman mjs at clemson.edu
Wed Aug 13 23:16:25 CEST 2014


Using latex2html-2012-4.fc20.noarch on Fedora 20 Linux with
texlive-2013-5.20131226_r32488.fc20.x86_64, the following file compiles
with latex (and looks fine as a DVI) or with pdflatex (and looks fine as
a PDF), but fails to compile with latex2html.

        \documentclass{article}
        \usepackage{amsmath}
        \usepackage{html}
        
        \begin{document}
        
        \mbox{}
        \begin{align}
          v_j &= 
          \begin{cases}
            1 & \text{if this happens} \\
            0 & \text{otherwise}
          \end{cases}
        \end{align}
        
        \end{document}

The tail of the output when it hangs is:

        Writing image file ...
        
        This is pdfTeX, Version 3.1415926-2.6-1.40.14 (TeX Live 2014/dev)
         restricted \write18 enabled.
        entering extended mode
        (./images.tex
        LaTeX2e <2011/06/27>
        Babel <3.9h> and hyphenation patterns for 2 languages loaded.
        
[hangs here consuming 100% of a cpu]

        ^C! Interruption.
        <to be read again> 
                           \vfill 
        l.163 \lthtmlcheckvsize
                               \clearpage}
        
        LaTeX2HTML shutting down.
        
Any suggestions?

TIA.

-- 
Matthew Saltzman
Clemson University Math Sciences
mjs AT clemson DOT edu



More information about the latex2html mailing list