[l2h] getting \par in graphical output of listings environment

2004-10-21 Thread Hans Fangohr
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} %---

[l2h] Re: getting \par in graphical output of listings environment

2004-10-22 Thread Hans Fangohr
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

Re: [l2h] Re: getting \par in graphical output of listings environment

2004-10-25 Thread 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