[tex4ht-commits] [SCM] tex4ht updated: r1300 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Sat Feb 25 22:15:50 CET 2023
Author: michal_h21
Date: 2023-02-25 21:15:50 +0000 (Sat, 25 Feb 2023)
New Revision: 1300
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
Fixed \tableofcontents handling with subpages
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-02-22 14:26:08 UTC (rev 1299)
+++ trunk/lit/ChangeLog 2023-02-25 21:15:50 UTC (rev 1300)
@@ -1,3 +1,11 @@
+2023-02-25 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-4ht.tex (amsart.4ht.4ht, amsbook.4ht, amsproc.4ht,
+ article.4ht, book.4ht, mwart.4ht, mwbk.4ht, mwrep.4ht,
+ report.4ht, scrbook.4ht, scrreprt.4ht): print table of contents when
+ \tableofcontents command is used and the document is split to
+ subpages.
+ https://tex.stackexchange.com/a/676531/2891
+
2023-02-22 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): don't restore the
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2023-02-22 14:26:08 UTC (rev 1299)
+++ trunk/lit/tex4ht-4ht.tex 2023-02-25 21:15:50 UTC (rev 1300)
@@ -15780,7 +15780,7 @@
\let\au:StartSec|=\:StartSec
\def\:StartSec{\:tableofcontents
\global\let\auto:toc|=\:UnDef \global\let\:StartSec\au:StartSec\:StartSec}%
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \append:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
\fi \fi
}
>>>
More information about the tex4ht-commits
mailing list.