texlive[58882] Master/texmf-dist/tex/generic/tex4ht/caption.4ht: toc

commits+karl at tug.org commits+karl at tug.org
Thu Apr 15 22:53:06 CEST 2021


Revision: 58882
          http://tug.org/svn/texlive?view=revision&revision=58882
Author:   karl
Date:     2021-04-15 22:53:05 +0200 (Thu, 15 Apr 2021)
Log Message:
-----------
toc fix, tex4ht r901

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

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

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht	2021-04-14 23:48:42 UTC (rev 58881)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht	2021-04-15 20:53:05 UTC (rev 58882)
@@ -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 at 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}}}%
  }
 



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