The following LaTeX file does not produce the html that I would
expect. The first line and the first display behave sensibly, but the
second displayed maths just contains the two characters ``ab''. I am
using latex2html 98.1p1 release.
\documentclass{article}
\renewcommand{\l}{\lambda}
\renewcommand{\a}{\mathbf{a}}
\renewcommand{\b}{\mathbf{b}}
\begin{document}
Try $\l$, $\a$ and $\b$.
Then display a product of three maths characters. Expressed as
\[
\a\lambda \b
\]
the displayed html is as I would expect, but the central lambda is
ignored on the following line.
\[
\a\l\b.
\]
\end{document}
My version of the output can be seen at
http://http://www.maths.abdn.ac.uk/~igc/testing/playpen/l2htest/l2htest.html
The file images.tex clearly shows the problem: the second \lambda
isn't in maths mode.
{\newpage\clearpage
\lthtmlfigureA{tex2html_wrap32}%
\l%
\lthtmlfigureZ
\hfill\lthtmlcheckvsize\clearpage}
although the others are recognised as being in maths. The log file
then shows that that one image is made at size zero, and doesn't
get converted to a gif: l2hSize :tex2html_wrap32:0.0pt::0.0pt::0.0pt.
I would be happy to find a sensible workaround, or even understand
just what is triggering the problem. At present I'm using
\renewcommand{\l}{\ensuremath{\lambda}}
- which works - but don't know how frequently I need to do this,
since the \a was processed correctly without this precaution.
--
Ian Craw Telephone +44-(0)1224 - 272752
Department of Mathematical Sciences Home +44-(0)1224 - 313533
University of Aberdeen (answering machine/voice-mail on both)
The Meston Building FAX: +44-(0)1224 - 272607
Old Aberdeen email: [EMAIL PROTECTED]
Aberdeen AB24 3UE www: http://www.maths.abdn.ac.uk/~igc