The enclosed short file is, I hope, very standard LaTeX.  It gives me
trouble in l2h -- the generated images.tex file contains HTML code and
image generation fails.  The example is condensed from a (very) much
longer file, and most elements in it now seem critical.  

Removing the first "(" in the first "thm" restores sensible behaviour.
I am using latex2html 99.1 release with options -no_math -html_version
3.2,table,math.  Perl is 5.005_02.

Is this a known problem?  Can I spot it before it bites next time?

Here is the failing (for me) LaTeX:

\documentclass{article}
\newtheorem{thm}{Theorem}
\begin{document}

\begin{thm}
( $\sin(x)$
\end{thm}

\begin{thm}
$$\frac{1}{2}$$
$\cos x$.
\end{thm}

\end{document}

-- 
Ian Craw, Department of Mathematical Sciences, University of Aberdeen

Reply via email to