[l2h] Math mode broken?
Erik Demaine
edemaine@mit.edu
Sun, 25 Nov 2001 22:43:19 -0500 (EST)
On Mon, 26 Nov 2001, Ross Moore wrote:
> > More precisely, the generated images.tex does not seem to catch the
> > leading $ in the math expression.
> [...]
> > For example, consider this file test.tex:
> >
> > \documentclass[12pt]{article}
> > \begin{document}
> > $x$
> > \end{document}
>
> Please adjust your example to become:
>
> \documentclass[12pt]{article}
> \begin{document}
> \HTMLset{VERBOSITY}{9}
> $x$
> \HTMLset{VERBOSITY}{1}
> \end{document}
For some reason this did not work
(it only traced the \HTMLset{VERBOSITY}{1}, so far as I can tell).
But running latex2html -verbosity 9, here's the relevant output
(after preamble):
*** Translating environments ***
IN-A {tex2html_wrap_inline 4}
$x$
,{tex2html_wrap_inline 4}
UNDEF-IN {tex2html_wrap_inline 4}:
$x$
CACHED: x;MSF=1.6;LFS=12;AAT:
IMAGE_PARAMS tex2html_wrap_inline4: ###########ALT="x$"#
LATEX {tex2html_wrap_inline}:
\begin{tex2html_wrap_inline}$x$\end{tex2html_wrap_inline}
LATEX {tex2html_wrap_inline}:
x$
IMAGE_CODE:{tex2html_wrap_inline 4}:
\lthtmlinlinemathA{tex2html_wrap_inline4}%
x$%
\lthtmlinlinemathZ
UNDEF_OUT {tex2html_wrap_inline 4}:
<tex2html_image_mark>#tex2html_wrap_inline4#
OUT-A {tex2html_wrap_inline 4}
<tex2html_image_mark>#tex2html_wrap_inline4#
Does this help isolate where the leading $ is lost?
I'm using Perl 5.005_03.
Erik
--
Erik Demaine | edemaine@mit.edu | http://db.uwaterloo.ca/~eddemain/