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}
%---
so that the backgroundcolor for the listings environment has to
be set: listings seems to be quite clever and changes the background
to gray if you try to print something in white.
If anyone comes along a decent fix for this problem, please let me know.
Thanks,
Hans
On Thu, 21 Oct 2004, Hans Fangohr
Hi Ross,
many thanks for your detailed answer.
There are several ways to tackle it, each depending upon
just what you want to produce for the HTML of the listing
environment.
If you want just a simple verbatim listing of the code,
set within ... tags, then one approach is
to hook into LaTeX2HTML