texlive[53772] Master/texmf-dist/tex/generic/tex4ht/listings.4ht:

commits+karl at tug.org commits+karl at tug.org
Thu Feb 13 23:20:56 CET 2020


Revision: 53772
          http://tug.org/svn/texlive?view=revision&revision=53772
Author:   karl
Date:     2020-02-13 23:20:56 +0100 (Thu, 13 Feb 2020)
Log Message:
-----------
\lstlistoflistings support, tex4ht r664

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

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

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht	2020-02-13 22:16:40 UTC (rev 53771)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht	2020-02-13 22:20:56 UTC (rev 53772)
@@ -1,6 +1,6 @@
-% listings.4ht (2019-12-19-14:27), generated from tex4ht-4ht.tex
+% listings.4ht (2020-02-13-13:43), generated from tex4ht-4ht.tex
 % Copyright 2001-2009 Eitan M. Gurari
-% Copyright 2009-2019 TeX Users Group
+% Copyright 2009-2020 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2019-12-19-14:27}
+\immediate\write-1{version 2020-02-13-13:43}
 
 \def\lst at makecaption#1#2{\cptA: #1\if :#1:\else\cptB:\fi \cptC: #2\cptD:}
 
@@ -54,6 +54,11 @@
 \append:defI\lst at MakeCaption{%
   \let\addcontentsline\lst:addcontentsline
 }
+\ConfigureToc{lol} {}{\empty}{}{\newline}
+\lst at UserCommand\lstlistoflistings{\bgroup%
+    \ifdefined\chapter\chapter*{\lstlistlistingname}\else\section*{\lstlistlistingname}\fi%
+    \TableOfContents[lol]%
+  \egroup}
 \def\lst at NewLine{%
    \ifx\lst at OutputBox\@gobble\else \the\everypar \fi
    \global\advance\lst at newlines\m at ne



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