[tex4ht-commits] [SCM] tex4ht updated: r1079 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Wed Feb 16 22:13:48 CET 2022
Author: michal_h21
Date: 2022-02-16 21:13:48 +0000 (Wed, 16 Feb 2022)
New Revision: 1079
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
use normal space in listings
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-02-16 15:02:58 UTC (rev 1078)
+++ trunk/lit/ChangeLog 2022-02-16 21:13:48 UTC (rev 1079)
@@ -1,5 +1,8 @@
2022-02-16 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-4ht.tex (listings.4ht): use normal space instead of \:nbsp,
+ in order to enable line breaking.
+ https://tex.stackexchange.com/a/634033/2891
* tex4ht-4ht.tex (listings.4ht): load Xcolor with Listings to
prevent compilation errors with the syntax color detection.
* tex4ht-html4.tex (html4.4ht): use <pre> for Listings.
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-02-16 15:02:58 UTC (rev 1078)
+++ trunk/lit/tex4ht-4ht.tex 2022-02-16 21:13:48 UTC (rev 1079)
@@ -30841,14 +30841,14 @@
\setbox\z@\hbox{{\lst at currstyle{\:tempc}}}%
\lst at OutputBox\z@}
\HLet\lst at Kern\:tempa
-\NewConfigure{lst at Kern}{2}
-\Configure{lst at Kern}{0.499em}{0.1em}
>>>
Configure lst at Kern: character width, inter character space size
\<listings sty\><<<
-\def\lst at outputspace{\:nbsp}
+\NewConfigure{lst at Kern}{2}
+\Configure{lst at Kern}{0.499em}{0.1em}
+\def\lst at outputspace{\HCode{ }}
>>>
Test cases:
More information about the tex4ht-commits
mailing list.