summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-13 22:20:56 +0000
committerKarl Berry <karl@freefriends.org>2020-02-13 22:20:56 +0000
commit108f9ee34c7f91ee38237364af19ed71898d7ff1 (patch)
treeefb15cfd6e2867578ff9e456507a650aba466a99 /Master/texmf-dist/tex
parent0274829aec19660f77b8115339399fc2ba3b7612 (diff)
\lstlistoflistings support, tex4ht r664
git-svn-id: svn://tug.org/texlive/trunk@53772 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/listings.4ht11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/listings.4ht b/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
index 91e062d1801..a2da6a8f75e 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
@@ -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@makecaption#1#2{\cptA: #1\if :#1:\else\cptB:\fi \cptC: #2\cptD:}
@@ -54,6 +54,11 @@
\append:defI\lst@MakeCaption{%
\let\addcontentsline\lst:addcontentsline
}
+\ConfigureToc{lol} {}{\empty}{}{\newline}
+\lst@UserCommand\lstlistoflistings{\bgroup%
+ \ifdefined\chapter\chapter*{\lstlistlistingname}\else\section*{\lstlistlistingname}\fi%
+ \TableOfContents[lol]%
+ \egroup}
\def\lst@NewLine{%
\ifx\lst@OutputBox\@gobble\else \the\everypar \fi
\global\advance\lst@newlines\m@ne