texlive[63372] Master/texmf-dist: listings rm spurious newline,

commits+karl at tug.org commits+karl at tug.org
Sun May 22 22:54:10 CEST 2022


Revision: 63372
          http://tug.org/svn/texlive?view=revision&revision=63372
Author:   karl
Date:     2022-05-22 22:54:09 +0200 (Sun, 22 May 2022)
Log Message:
-----------
listings rm spurious newline, tex4ht r1136

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1136

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-05-22 20:25:25 UTC (rev 63371)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-05-22 20:54:09 UTC (rev 63372)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-05-22 20:25:25 UTC (rev 63371)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-05-22 20:54:09 UTC (rev 63372)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1135 2022-05-19 15:28:47Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1136 2022-05-22 18:03:36Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2022-05-22 20:25:25 UTC (rev 63371)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2022-05-22 20:54:09 UTC (rev 63372)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1135 2022-05-19 15:28:47Z michal_h21 $
+% $Id: tex4ht-html4.tex 1136 2022-05-22 18:03:36Z michal_h21 $
 % Compile 4 times: latex tex4ht-html4
 % Copy html4.4ht into the work directory before all but the last compilation.
 %
@@ -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@)}}
 >>>
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2022-05-22 20:25:25 UTC (rev 63371)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2022-05-22 20:54:09 UTC (rev 63372)
@@ -1,4 +1,4 @@
-% html4.4ht (2022-05-19-13:37), generated from tex4ht-html4.tex
+% html4.4ht (2022-05-22-13:50), generated from tex4ht-html4.tex
 % Copyright 2009-2022 TeX Users Group
 % Copyright 1997-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-05-19-13:37}
+\immediate\write-1{version 2022-05-22-13:50}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -37478,7 +37478,7 @@
 \Css{pre.listings{font-family: monospace,monospace; white-space: pre-wrap;
                     margin-top:0.5em; margin-bottom:0.5em;
                    }}
-\Configure{listings-init}{\ttfamily\special{t4ht@(}}{\special{t4ht@)}}
+\Configure{listings-init}{\ttfamily\ht:special{t4ht@(}}{\ht:special{t4ht@)}}
 \ConfigureEnv{lstlisting}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<!--l. \the\inputlineno-->}%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht	2022-05-22 20:25:25 UTC (rev 63371)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht	2022-05-22 20:54:09 UTC (rev 63372)
@@ -1,4 +1,4 @@
-% listings.4ht (2022-04-04-07:06), generated from tex4ht-4ht.tex
+% listings.4ht (2022-05-22-13:50), generated from tex4ht-4ht.tex
 % Copyright 2001-2009 Eitan M. Gurari
 % Copyright 2009-2022 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-04-04-07:06}
+\immediate\write-1{version 2022-05-22-13:50}
 
 \@ifpackageloaded{xcolor}{}{%
 \RequirePackage{xcolor}
@@ -74,11 +74,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}
 



More information about the tex-live-commits mailing list.