[l2h] getting \par in graphical output of listings environment
Hans Fangohr
H.FANGOHR at soton.ac.uk
Thu Oct 21 17:49:44 CEST 2004
Dear all,
I am trying to use html2latex on this document:
%--------------------------------------------------
\documentclass{article}
\usepackage{listings}
\begin{document}
\begin{lstlisting}[frame=single]
print "Hello World"
print "Done"
\end{lstlisting}
\end{document}
%--------------------------------------------------
The graphical output (embedded in the html page) for the lstlisting
environment reads
print "Hello World"
\par
print "Done"
All is working great APART from that I get this "\par" for every empty
line in the listings environment.
I have scanned the archives but couldn't find any answer (although the
problem was reported in a more complicated context before:
http://www.tug.org/pipermail/latex2html/2002-October/002106.html)
Many thanks for your help,
Hans
More information about the latex2html
mailing list