[l2h] problems with listings and latex2html

pmueller pmueller at occsilva.de
Mon Jan 28 21:26:28 CET 2019


I want to generate html from a larger manual. I already have some good 

But there is a problem with this kind of Latex Syntax which I used quite 

    \lstset{tabsize=2, basicstyle=\footnotesize, stringstyle=\ttfamily}
    \begin{lstlisting}[language=c, frame = single, flexiblecolumns=true]

    // define this in mydef.h or where appropriate
    // you can also define other names or more prios
    #typedef unsigned char PRIO_A
    #typedef unsigned char PRIO_B

    // transitions


The output looks the following:

tabsize=2, basicstyle=, stringstyle=

Do you know how I can solve this?

Then there is a second problem. Most of the images appear correctly.

But then I get several massages like this:

Failed to convert image /tmp/l2h19254/image040.ps

Failed to convert image /tmp/l2h19254/image002.ps

Failed to convert image /tmp/l2h19254/image060.ps

Failed to convert image /tmp/l2h19254/image029.ps

Do you have an idea how this can be fixed?

Thanks a lot in advance for your help!

With best regards,

Peter Mueller

More information about the latex2html mailing list