From 108f9ee34c7f91ee38237364af19ed71898d7ff1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 13 Feb 2020 22:20:56 +0000 Subject: \lstlistoflistings support, tex4ht r664 git-svn-id: svn://tug.org/texlive/trunk@53772 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/listings.4ht | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist') 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 -- cgit v1.2.3