[tex4ht-commits] [SCM] tex4ht updated: r1720 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Jul 17 21:28:10 CEST 2025
Author: michal_h21
Date: 2025-07-17 19:28:10 +0000 (Thu, 17 Jul 2025)
New Revision: 1720
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
added basic support for the etoc package
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2025-07-12 20:17:10 UTC (rev 1719)
+++ trunk/lit/ChangeLog 2025-07-17 19:28:10 UTC (rev 1720)
@@ -1,3 +1,9 @@
+2025-07-17 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (etoc.4ht): added basic support for the Etoc
+ package.
+ https://puszcza.gnu.org.ua/bugs/?655
+
2025-07-12 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): better markup for theindex
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2025-07-12 20:17:10 UTC (rev 1719)
+++ trunk/lit/mktex4ht-cnf.tex 2025-07-17 19:28:10 UTC (rev 1720)
@@ -284,6 +284,7 @@
\AddFile{9}{algorithm}
\AddFile{9}{booktabs}
\AddFile{9}{tocloft}
+\AddFile{9}{etoc}
\AddFile{7}{minitoc}
\AddFile{9}{gloss}
\AddFile{9}{dsfont}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2025-07-12 20:17:10 UTC (rev 1719)
+++ trunk/lit/tex4ht-4ht.tex 2025-07-17 19:28:10 UTC (rev 1720)
@@ -33171,6 +33171,30 @@
\@cftnctoctrue
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{etoc}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<etoc.4ht\><<<
+% etoc.4ht (|version), generated from |jobname.tex
+% Copyright 2025 TeX Users Group
+|<TeX4ht license text|>
+
+|<etoc configurations|>
+
+\Hinput{etoc}
+\endinput
+>>> \AddFile{9}{etoc}
+
+Etoc modifies the table of contents, it enables insertion of
+a code before and after the table, but in the process,
+we lose the original table of contents. So this configuration
+should assure that the table of contents is actually printed.
+
+\<etoc configurations\><<<
+\let\Etoc at tableofcontents@contents\TableOfContents
+>>>
+
%%%%%%%%%%%%%%%%%%%%%
\Section{minitoc.sty}
%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.