From dc88afec77f198ebb8774f9c87146f2985e8f156 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 24 Feb 2022 03:00:45 +0000
Subject: CTAN sync 202202240300

---
 support/TeX4ht/source/tex4ht-4ht.tex | 54 +++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 29 deletions(-)

(limited to 'support/TeX4ht/source/tex4ht-4ht.tex')

diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 8b2b3e86ac..b1a19e87f3 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1082 2022-02-19 21:28:26Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1084 2022-02-22 13:19:45Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    
@@ -5179,7 +5179,7 @@ We can load nameref from the early hook file
 
 \<hyperref-hooks.4ht\><<<
 % hyperref-hooks.4ht (|version), generated from |jobname.tex
-% Copyright 2021 TeX Users Group
+% Copyright 2022 TeX Users Group
 |<TeX4ht license text|>
 \:AtEndOfPackage{%
 |<load nameref in hyperref hooks|>
@@ -13900,12 +13900,11 @@ Do we need \`' \Configure{cite}{}{}{}{}%' in the following?
 \else
    \ifnum \c@tocdepth >\m@ne chapter,appendix,\fi
    \ifnum \c@tocdepth>0 section,\fi
-   \ifnum \c@tocdepth>1 subsection,\fi
 \fi
-\ifnum \c@tocdepth>2 subsection,\fi
-\ifnum \c@tocdepth>3 subsubsection,\fi
-\ifnum \c@tocdepth>4 paragraph,\fi
-\ifnum \c@tocdepth>5 subparagraph,\fi
+\ifnum \c@tocdepth>1 subsection,\fi
+\ifnum \c@tocdepth>2 subsubsection,\fi
+\ifnum \c@tocdepth>3 paragraph,\fi
+\ifnum \c@tocdepth>4 subparagraph,\fi
 UnDFexyz>>>
 
 \Verbatim
@@ -16185,12 +16184,11 @@ Hfootnote counter, which isn't declared.
 \else
    \ifnum \c@tocdepth >\m@ne chapter,appendix,\fi
    \ifnum \z@>\c@tocdepth\else section,\fi
-   \ifnum 1>\c@tocdepth \else subsection,\fi
 \fi
-\ifnum 2>\c@tocdepth \else subsection,\fi
-\ifnum 3>\c@tocdepth \else subsubsection,\fi
-\ifnum 4>\c@tocdepth \else paragraph,\fi
-\ifnum 5>\c@tocdepth \else subparagraph,\fi
+\ifnum 1>\c@tocdepth \else subsection,\fi
+\ifnum 2>\c@tocdepth \else subsubsection,\fi
+\ifnum 3>\c@tocdepth \else paragraph,\fi
+\ifnum 4>\c@tocdepth \else subparagraph,\fi
 UnDFexyz}%
    \noexpand\fi}
 \def\:tableofcontents{\futurelet\:temp\:TOC}
@@ -16387,10 +16385,10 @@ it introduces an error in the .xref file for each caption used in the document.
 \<entries for mwart tocs\><<<
 \ifnum \c@tocdepth >-2 part,likepart,\fi
 \ifnum \c@tocdepth >\z@  section,likesection,\fi
-\ifnum 2>\c@tocdepth \else subsection,likesubsection,\fi
-\ifnum 3>\c@tocdepth \else subsubsection,likesubsubsection,\fi
-\ifnum 4>\c@tocdepth \else paragraph,likeparagraph,\fi
-\ifnum 5>\c@tocdepth \else subparagraph,likesubparagraph,\fi
+\ifnum 1>\c@tocdepth \else subsection,likesubsection,\fi
+\ifnum 2>\c@tocdepth \else subsubsection,likesubsubsection,\fi
+\ifnum 3>\c@tocdepth \else paragraph,likeparagraph,\fi
+\ifnum 4>\c@tocdepth \else subparagraph,likesubparagraph,\fi
 UnDFexyz>>>
 
 \<mwart tocs\><<<
@@ -16582,10 +16580,10 @@ UnDFexyz>>>
 \ifnum \c@tocdepth >-2 part,likepart,\fi
 \ifnum \c@tocdepth >\m@ne chapter,likechapter,appendix,\fi
 \ifnum \z@>\c@tocdepth\else section,likesection,\fi
-\ifnum 2>\c@tocdepth \else subsection,likesubsection,\fi
-\ifnum 3>\c@tocdepth \else subsubsection,likesubsubsection,\fi
-\ifnum 4>\c@tocdepth \else paragraph,likeparagraph,\fi
-\ifnum 5>\c@tocdepth \else subparagraph,likesubparagraph,\fi
+\ifnum 1>\c@tocdepth \else subsection,likesubsection,\fi
+\ifnum 2>\c@tocdepth \else subsubsection,likesubsubsection,\fi
+\ifnum 3>\c@tocdepth \else paragraph,likeparagraph,\fi
+\ifnum 4>\c@tocdepth \else subparagraph,likesubparagraph,\fi
 UnDFexyz>>>
 
 \<mwrep,mwbk tocs\><<<
@@ -17396,12 +17394,11 @@ Support for subtitles:
 \else
    \ifnum \c@tocdepth >\m@ne chapter,appendix,addchap,\fi
     \ifnum \c@tocdepth>0 section,\fi
-   \ifnum \c@tocdepth>1 subsection,\fi
 \fi
-\ifnum \c@tocdepth>2 subsection,\fi
-\ifnum \c@tocdepth>3 subsubsection,\fi
-\ifnum \c@tocdepth>4 paragraph,\fi
-\ifnum \c@tocdepth>5 subparagraph,\fi
+\ifnum \c@tocdepth>1 subsection,\fi
+\ifnum \c@tocdepth>2 subsubsection,\fi
+\ifnum \c@tocdepth>3 paragraph,\fi
+\ifnum \c@tocdepth>4 subparagraph,\fi
 UnDFexyz}%
    \noexpand\fi}
 \def\:tableofcontents{\futurelet\:temp\:TOC}
@@ -17792,10 +17789,9 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes
    \ifnum \c@tocdepth >\m@ne chapter,appendix,addchap,\fi
    \ifnum \c@tocdepth>0 section,\fi
    \ifnum \c@tocdepth>1 subsection,\fi
-\ifnum \c@tocdepth>2 subsection,\fi
-\ifnum \c@tocdepth>3 subsubsection,\fi
-\ifnum \c@tocdepth>4 paragraph,\fi
-\ifnum \c@tocdepth>5 subparagraph,\fi
+\ifnum \c@tocdepth>2 subsubsection,\fi
+\ifnum \c@tocdepth>3 paragraph,\fi
+\ifnum \c@tocdepth>4 subparagraph,\fi
 UnDFexyz}%
    \noexpand\fi}
 \def\:tableofcontents{\futurelet\:temp\:TOC}
-- 
cgit v1.2.3

