[tex4ht-commits] [SCM] tex4ht updated: r1268 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Dec 16 16:18:27 CET 2022


Author: michal_h21
Date: 2022-12-16 15:18:27 +0000 (Fri, 16 Dec 2022)
New Revision: 1268

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed handling of \Configure{tableofcontens*}

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-12-15 21:43:11 UTC (rev 1267)
+++ trunk/lit/ChangeLog	2022-12-16 15:18:27 UTC (rev 1268)
@@ -1,3 +1,15 @@
+2022-12-16  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (amsart.4ht, amsart.4ht, amsbook.4ht,
+	amsbook.4ht, amsproc.4ht, amsproc.4ht, article.4ht,
+	article.4ht, book.4ht, book.4ht, mwart.4ht, mwart.4ht,
+	mwbk.4ht, mwbk.4ht, mwrep.4ht, mwrep.4ht, report.4ht,
+	report.4ht, scrbook.4ht, scrbook.4ht, scrreprt.4ht,
+	scrreprt.4ht): prevent duplicate TOC printing with
+	\Configure{tableofcontents*} when \tableofcontents command is used
+	in the document.
+	https://tex.stackexchange.com/q/668713/2891
+
 2022-12-15  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathml.tex (mathml.4ht): disable stretchy attribute for

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-12-15 21:43:11 UTC (rev 1267)
+++ trunk/lit/tex4ht-4ht.tex	2022-12-16 15:18:27 UTC (rev 1268)
@@ -15711,8 +15711,8 @@
          \ifx \au:StartSec\:UnDef
             \let\au:StartSec|=\:StartSec   
             \def\:StartSec{\:tableofcontents
-               \global\let\auto:toc|=\:UnDef \:StartSec}%
-            \pend:def\:tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+               \global\let\auto:toc|=\:UnDef \global\let\:StartSec\au:StartSec\:StartSec}%
+            \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
    \fi  \fi
 }
 >>>



More information about the tex4ht-commits mailing list.