[l2h] % in verbatim environment

Reinhard Schaeck Reinhard Schaeck <schaeck@drei-eins-vier.de>
Fri, 26 May 2000 12:35:11 +0200


"Stephen J. Sherman" wrote:
> 
> In the code I have included, latex2html-99.2beta5 seems to interpret
> the % as the beginning of a comment, even though it is within a
> verbatim environment.  Is there a way to fix this?
> 
> LaTeX:
> -----
>   \documentclass{report}
> 
>   \begin{document}
> 
>   \begin{verbatim} This is a test % of latex2html \end{verbatim}
> 
>   \end{document}
> 
> Message in output:
> -----------------
> %'Cannot find \end{verbatim}
> 
> Section from generated html:
> ---------------------------
> <P>
> <tex2html_unfinished_mark>verbatim2#
> <BR><HR>
> 
> 
> -- Steve Sherman
> -- Irvine Compiler Corp.

Try \begin{verbatim} This is a test \% of latex2html \end{verbatim}
instead.
-- 

Reinhard Schaeck

E-Mail:     schaeck@drei-eins-vier.de
PGP-Key-ID: 0xE872F639    Fingerprint: 9892 2F4D A3CE 442D  8364 33E7
5A29 7D4B