From 2dde204d52acb51059128fbd06825709e3b668d7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 15 Apr 2021 20:53:05 +0000 Subject: toc fix, tex4ht r901 git-svn-id: svn://tug.org/texlive/trunk@58882 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/caption.4ht | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist') 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}}}% } -- cgit v1.2.3