[l2h] verbatim does not work when having a math equation nearby in a table with '+' in it.

Jean-Pierre Chrétien jeanpierre.chretien at free.fr
Mon Feb 13 11:53:09 CET 2012


Le 13/02/2012 02:20, Ross Moore a écrit :
> Hello Nasser,
>
[snip]
>> But I add '+' to the equation above, like this:
>>
>> -----------------------------------
>> \documentclass[12pt]{article}
>> \usepackage{html}
>> \usepackage{verbatim}
>> \begin{document}
>> \begin{verbatim}test\end{verbatim}
>> \begin{tabular}{|l | }
>> $f(x) = x^3 + d$\\    %added '+'
>> \end{tabular}
>> \end{document}
>> -------------------------
>>
>> Then I lose the verbatim! and in addition, the verbatim 'test'
>> is replaced by the math as verbatim.
>
> I cannot reproduce your problem.

Nor I can I, with
<cite>
This is LaTeX2HTML Version 2008 (1.71)
</cite>
on Debian Squeeze and TexLive 2009.
I get this html code :

<PRE>test
</PRE>
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="LEFT"><!-- MATH
  $f(x) = x^3 + d$
  -->
<IMG
  WIDTH="117" HEIGHT="39" ALIGN="MIDDLE" BORDER="0"
  SRC="test-img1.png"
  ALT="$f(x) = x^3 + d$"></TD>
</TR>
<TR><TD ALIGN="LEFT"></TD>
</TR>
</TABLE>


-- 
Jean-Pierre



More information about the latex2html mailing list