[tex4ht-commits] [SCM] tex4ht updated: r1084 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Tue Feb 22 14:19:45 CET 2022
Author: michal_h21
Date: 2022-02-22 13:19:45 +0000 (Tue, 22 Feb 2022)
New Revision: 1084
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
Corrected handling of the tocdepth counter
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-02-20 16:09:25 UTC (rev 1083)
+++ trunk/lit/ChangeLog 2022-02-22 13:19:45 UTC (rev 1084)
@@ -1,3 +1,10 @@
+2022-02-22 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (
+ article.4ht, book.4ht, mwart.4ht, mwbk.4ht,
+ mwrep.4ht, report.4ht, scrbook.4ht, scrreprt.4ht
+ ): corrected handling of the tocdepth counter.
+
2022-02-19 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (hyperref-hooks.4ht): define autoref captions, so
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-02-20 16:09:25 UTC (rev 1083)
+++ trunk/lit/tex4ht-4ht.tex 2022-02-22 13:19:45 UTC (rev 1084)
@@ -13900,12 +13900,11 @@
\else
\ifnum \c at tocdepth >\m at ne chapter,appendix,\fi
\ifnum \c at tocdepth>0 section,\fi
- \ifnum \c at tocdepth>1 subsection,\fi
\fi
-\ifnum \c at tocdepth>2 subsection,\fi
-\ifnum \c at tocdepth>3 subsubsection,\fi
-\ifnum \c at tocdepth>4 paragraph,\fi
-\ifnum \c at tocdepth>5 subparagraph,\fi
+\ifnum \c at tocdepth>1 subsection,\fi
+\ifnum \c at tocdepth>2 subsubsection,\fi
+\ifnum \c at tocdepth>3 paragraph,\fi
+\ifnum \c at tocdepth>4 subparagraph,\fi
UnDFexyz>>>
\Verbatim
@@ -16185,12 +16184,11 @@
\else
\ifnum \c at tocdepth >\m at ne chapter,appendix,\fi
\ifnum \z@>\c at tocdepth\else section,\fi
- \ifnum 1>\c at tocdepth \else subsection,\fi
\fi
-\ifnum 2>\c at tocdepth \else subsection,\fi
-\ifnum 3>\c at tocdepth \else subsubsection,\fi
-\ifnum 4>\c at tocdepth \else paragraph,\fi
-\ifnum 5>\c at tocdepth \else subparagraph,\fi
+\ifnum 1>\c at tocdepth \else subsection,\fi
+\ifnum 2>\c at tocdepth \else subsubsection,\fi
+\ifnum 3>\c at tocdepth \else paragraph,\fi
+\ifnum 4>\c at tocdepth \else subparagraph,\fi
UnDFexyz}%
\noexpand\fi}
\def\:tableofcontents{\futurelet\:temp\:TOC}
@@ -16387,10 +16385,10 @@
\<entries for mwart tocs\><<<
\ifnum \c at tocdepth >-2 part,likepart,\fi
\ifnum \c at tocdepth >\z@ section,likesection,\fi
-\ifnum 2>\c at tocdepth \else subsection,likesubsection,\fi
-\ifnum 3>\c at tocdepth \else subsubsection,likesubsubsection,\fi
-\ifnum 4>\c at tocdepth \else paragraph,likeparagraph,\fi
-\ifnum 5>\c at tocdepth \else subparagraph,likesubparagraph,\fi
+\ifnum 1>\c at tocdepth \else subsection,likesubsection,\fi
+\ifnum 2>\c at tocdepth \else subsubsection,likesubsubsection,\fi
+\ifnum 3>\c at tocdepth \else paragraph,likeparagraph,\fi
+\ifnum 4>\c at tocdepth \else subparagraph,likesubparagraph,\fi
UnDFexyz>>>
\<mwart tocs\><<<
@@ -16582,10 +16580,10 @@
\ifnum \c at tocdepth >-2 part,likepart,\fi
\ifnum \c at tocdepth >\m at ne chapter,likechapter,appendix,\fi
\ifnum \z@>\c at tocdepth\else section,likesection,\fi
-\ifnum 2>\c at tocdepth \else subsection,likesubsection,\fi
-\ifnum 3>\c at tocdepth \else subsubsection,likesubsubsection,\fi
-\ifnum 4>\c at tocdepth \else paragraph,likeparagraph,\fi
-\ifnum 5>\c at tocdepth \else subparagraph,likesubparagraph,\fi
+\ifnum 1>\c at tocdepth \else subsection,likesubsection,\fi
+\ifnum 2>\c at tocdepth \else subsubsection,likesubsubsection,\fi
+\ifnum 3>\c at tocdepth \else paragraph,likeparagraph,\fi
+\ifnum 4>\c at tocdepth \else subparagraph,likesubparagraph,\fi
UnDFexyz>>>
\<mwrep,mwbk tocs\><<<
@@ -17396,12 +17394,11 @@
\else
\ifnum \c at tocdepth >\m at ne chapter,appendix,addchap,\fi
\ifnum \c at tocdepth>0 section,\fi
- \ifnum \c at tocdepth>1 subsection,\fi
\fi
-\ifnum \c at tocdepth>2 subsection,\fi
-\ifnum \c at tocdepth>3 subsubsection,\fi
-\ifnum \c at tocdepth>4 paragraph,\fi
-\ifnum \c at tocdepth>5 subparagraph,\fi
+\ifnum \c at tocdepth>1 subsection,\fi
+\ifnum \c at tocdepth>2 subsubsection,\fi
+\ifnum \c at tocdepth>3 paragraph,\fi
+\ifnum \c at tocdepth>4 subparagraph,\fi
UnDFexyz}%
\noexpand\fi}
\def\:tableofcontents{\futurelet\:temp\:TOC}
@@ -17792,10 +17789,9 @@
\ifnum \c at tocdepth >\m at ne chapter,appendix,addchap,\fi
\ifnum \c at tocdepth>0 section,\fi
\ifnum \c at tocdepth>1 subsection,\fi
-\ifnum \c at tocdepth>2 subsection,\fi
-\ifnum \c at tocdepth>3 subsubsection,\fi
-\ifnum \c at tocdepth>4 paragraph,\fi
-\ifnum \c at tocdepth>5 subparagraph,\fi
+\ifnum \c at tocdepth>2 subsubsection,\fi
+\ifnum \c at tocdepth>3 paragraph,\fi
+\ifnum \c at tocdepth>4 subparagraph,\fi
UnDFexyz}%
\noexpand\fi}
\def\:tableofcontents{\futurelet\:temp\:TOC}
More information about the tex4ht-commits
mailing list.