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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Apr 22 12:33:34 CEST 2021


Author: michal_h21
Date: 2021-04-22 10:33:34 +0000 (Thu, 22 Apr 2021)
New Revision: 907

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
Small fixes for listings

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-04-18 15:43:04 UTC (rev 906)
+++ trunk/lit/ChangeLog	2021-04-22 10:33:34 UTC (rev 907)
@@ -1,3 +1,10 @@
+2021-04-22  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (listings.4ht): insert closing b:lstlinline configuration
+	really after group. (Thanks to Linas Stonys).
+	* tex4ht-html4.tex (html4.4ht): add newlines after <br /> tags in listings
+	environment.
+
 2021-04-17  Karl Berry  <karl at freefriends.org>
 
 	* Makefile (diff-copyright, inst-check-version): new targets

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-04-18 15:43:04 UTC (rev 906)
+++ trunk/lit/tex4ht-4ht.tex	2021-04-22 10:33:34 UTC (rev 907)
@@ -30211,7 +30211,7 @@
 \<listings sty\><<<
 \lst at AddToHook{TextStyle}{%
    \Configure{listings}{}{}{}{}%
-   \a:lstinline \bgroup \aftergroup\b:lstinline\egroup
+   \a:lstinline \bgroup \aftergroup\b:lstinline\aftergroup\egroup
   }
 \NewConfigure{lstinline}{2}
 >>>

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2021-04-18 15:43:04 UTC (rev 906)
+++ trunk/lit/tex4ht-html4.tex	2021-04-22 10:33:34 UTC (rev 907)
@@ -15227,7 +15227,7 @@
     \HCode{<!--l. \the\inputlineno-->}%
     \gdef\start:LstLn{%
        \HCode{<div class="lstlisting" id="listing-\listingN">}%
-       \gdef\start:LstLn{|<nbsp|>\HCode{<br />}}}
+       \gdef\start:LstLn{|<nbsp|>\HCode{<br />\Hnewline}}}
     \bgroup 
        \Configure{listings}
          {{\everypar{}\leavevmode}}



More information about the tex4ht-commits mailing list.