<html>
<body>
<font size=3>I get the same behavior in my Mac OS environment. The
failure is noted in images.log but not in the console printout:<br><br>
! Undefined control sequence.<br>
\lthtmlindisplaymathZ ->\egroup \centerinlinemath <br>
\lthtmllogmath \lthtmlsetm...<br>
l.162 \lthtmlindisplaymathZ<br><br>
<br>
I have no idea how it's happening, but images.tex contains a definition
only for \centerinlinemathS:<br><br>
\def\centerinlinemathS{%<br>
\dimen1=\ifdim\ht\sizebox<\dp\sizebox
\dp\sizebox\else\ht\sizebox\fi<br>
\advance\dimen1by.5pt \vrule width0pt height\dimen1 depth\dimen1
<br>
\dp\sizebox=\dimen1\ht\sizebox=\dimen1\relax}<br><br>
while latex2html clearly wants to emit the desired definition:<br><br>
"\\def\\centerinlinemath{%\n" . <br>
"
\\dimen1=\\ifdim\\ht\\sizebox<\\dp\\sizebox
\\dp\\sizebox\\else\\ht\\sizebox\\fi\n" .<br>
" \\advance\\dimen1by.5pt \\vrule width0pt
height\\dimen1 depth\\dimen1 \n".<br>
"
\\dp\\sizebox=\\dimen1\\ht\\sizebox=\\dimen1\\relax}\n\n" .<br><br>
Where is that 'S' coming from?!?<br><br>
At 02:16 PM 8/13/2014, Matthew Saltzman wrote:<br>
<blockquote type=cite class=cite cite="">Using
latex2html-2012-4.fc20.noarch on Fedora 20 Linux with<br>
texlive-2013-5.20131226_r32488.fc20.x86_64, the following file
compiles<br>
with latex (and looks fine as a DVI) or with pdflatex (and looks fine
as<br>
a PDF), but fails to compile with latex2html.<br><br>
\documentclass{article}<br>
\usepackage{amsmath}<br>
\usepackage{html}<br>
<br>
\begin{document}<br>
<br>
\mbox{}<br>
\begin{align}<br>
v_j &= <br>
\begin{cases}<br>
1
& \text{if this happens} \\<br>
0
& \text{otherwise}<br>
\end{cases}<br>
\end{align}<br>
<br>
\end{document}<br><br>
The tail of the output when it hangs is:<br><br>
Writing image file ...<br>
<br>
This is pdfTeX, Version
3.1415926-2.6-1.40.14 (TeX Live 2014/dev)<br>
restricted \write18
enabled.<br>
entering extended mode<br>
(./images.tex<br>
LaTeX2e
<2011/06/27><br>
Babel <3.9h> and
hyphenation patterns for 2 languages loaded.<br>
<br>
[hangs here consuming 100% of a cpu]<br><br>
^C! Interruption.<br>
<to be read again> <br>
\vfill <br>
l.163 \lthtmlcheckvsize<br>
\clearpage}<br>
<br>
LaTeX2HTML shutting down.<br>
<br>
Any suggestions?<br><br>
TIA.<br><br>
-- <br>
Matthew Saltzman<br>
Clemson University Math Sciences<br>
mjs AT clemson DOT edu<br><br>
_______________________________________________<br>
latex2html mailing list<br>
latex2html@tug.org<br>
<a href="http://tug.org/mailman/listinfo/latex2html" eudora="autourl">
http://tug.org/mailman/listinfo/latex2html</a></blockquote>
<x-sigsep><p></x-sigsep>
<br>
Julius O. Smith III <jos@ccrma.stanford.edu><br>
Professor of Music and, by courtesy, Electrical Engineering<br>
CCRMA, Stanford University<br>
<a href="http://ccrma.stanford.edu/~jos/" eudora="autourl">
http://ccrma.stanford.edu/~jos/</a> </font></body>
</html>