summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-04-15 20:53:05 +0000
committerKarl Berry <karl@freefriends.org>2021-04-15 20:53:05 +0000
commit2dde204d52acb51059128fbd06825709e3b668d7 (patch)
tree9b912e0bf2cc3ef31b201c08b3332956af2c2707 /Master
parentc6f5359e0cbe1a3c2db3ae52646b0e3bbb7ae1c7 (diff)
toc fix, tex4ht r901
git-svn-id: svn://tug.org/texlive/trunk@58882 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/caption.4ht7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/caption.4ht b/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
index 69ac1955bde..c43d270181d 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
@@ -1,4 +1,4 @@
-% caption.4ht (2021-03-06-13:30), generated from tex4ht-4ht.tex
+% caption.4ht (2021-04-15-13:52), generated from tex4ht-4ht.tex
% Copyright 2007-2009 Eitan M. Gurari
% Copyright 2009-2021 TeX Users Group
%
@@ -54,7 +54,10 @@
\caption@make@below%
}
- \renewcommand*\caption@@@addcontentsline[4]{%
+ \renewcommand*\caption@@@addcontentsline[5]{%
+ \def\temp{#1}\def\tempa{toc}\ifx \temp\tempa\else%
+ \gHAdvance\TitleCount 1%
+ \fi%
\addcontentsline{#1}{#2}{\protect\numberline{#3}{\detokenize{#4}}}%
}