[tex4ht] [Patch submitted] Spurious line break (<br />) with \lstinputlisting

Denis Bitouzé dbitouze at wanadoo.fr
Sun Sep 9 17:06:32 CEST 2012


Le dimanche 09/09/12 à 16h06,
Denis Bitouzé <dbitouze at wanadoo.fr> a écrit :

> \Css{div.lstinputlisting{
>    font-family: monospace;
>    white-space: nowrap;
> }}
> 
> of the original html4.4ht.

I also suggest to make identical the div.lstlisting and
div.lstinputlisting \Css declarations by adding:

margin-top:0.5em; margin-bottom:0.5em;

to the lstinputlisting's one:

\Css{div.lstinputlisting{font-family: monospace; white-space: nowrap;
                    margin-top:0.5em; margin-bottom:0.5em;
                   }}
-- 
Denis



More information about the tex4ht mailing list