[tex4ht-commits] [SCM] tex4ht updated: r1136 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun May 22 20:03:37 CEST 2022


Author: michal_h21
Date: 2022-05-22 18:03:36 +0000 (Sun, 22 May 2022)
New Revision: 1136

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
Removed spurious newline from listings

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-05-19 15:28:47 UTC (rev 1135)
+++ trunk/lit/ChangeLog	2022-05-22 18:03:36 UTC (rev 1136)
@@ -1,3 +1,9 @@
+2022-05-22  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (listings.4ht),
+	* tex4ht-html4.tex (html4.4ht): removed spurious line from listings.
+	https://tex.stackexchange.com/a/645197/2891
+
 2022-05-19  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (cancel.4ht),

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-05-19 15:28:47 UTC (rev 1135)
+++ trunk/lit/tex4ht-4ht.tex	2022-05-22 18:03:36 UTC (rev 1136)
@@ -31212,11 +31212,11 @@
       \expandafter\lstset\expandafter{\lst at set}% 
       \lsthk at DisplayStyle%
       \catcode\active=\active%
-      \a:lstinputlisting\special{t4ht@[}\lst at Init\relax \let\lst at gobble\z@%
+      \a:lstinputlisting\ht:special{t4ht@[}\lst at Init\relax \let\lst at gobble\z@%
       \lst at SkipToFirst%
       \lst at ifprint \def\lst at next{\input{#1}}% 
              \else \let\lst at next\@empty \fi%
-      \special{t4ht@]}\lst at next \lst at DeInit%
+      \ht:special{t4ht@]}\lst at next\ht:special{t4ht@[}\lst at DeInit\ht:special{t4ht@]}%
       \b:lstinputlisting%
     \endgroup} 
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2022-05-19 15:28:47 UTC (rev 1135)
+++ trunk/lit/tex4ht-html4.tex	2022-05-22 18:03:36 UTC (rev 1136)
@@ -15300,7 +15300,7 @@
 >>>
 
 \<configure html4 listings\><<<
-\Configure{listings-init}{\ttfamily\special{t4ht@(}}{\special{t4ht@)}}
+\Configure{listings-init}{\ttfamily\ht:special{t4ht@(}}{\ht:special{t4ht@)}}
 >>>
 
 



More information about the tex4ht-commits mailing list.