summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/article.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-16 22:00:53 +0000
committerKarl Berry <karl@freefriends.org>2020-07-16 22:00:53 +0000
commit63986ae60a171a88aa3d89e53dfcf80486329944 (patch)
treee09880be859d2a0b6f8022f8818cebdfe663b3e2 /Master/texmf-dist/tex/generic/tex4ht/article.4ht
parent266bf7224535e682dc56f9bc3d7aaee50ea2e819 (diff)
tocdepth fixes, tex4ht r772-3
git-svn-id: svn://tug.org/texlive/trunk@55848 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/article.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/article.4ht16
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/article.4ht b/Master/texmf-dist/tex/generic/tex4ht/article.4ht
index 5eb384b6aae..abd7fc3c222 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/article.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/article.4ht
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% article.4ht 2019-12-19-14:27 %
+% article.4ht 2020-07-16-14:47 %
% Copyright (C) 1997-2009 Eitan M. Gurari %
-% Copyright 2009-2019 TeX Users Group
+% Copyright 2009-2020 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -147,13 +147,13 @@ A script of the form
\ifnum \c@tocdepth >\z@ section,\fi
\else
\ifnum \c@tocdepth >\m@ne chapter,appendix,\fi
- \ifnum \z@>\c@tocdepth\else section,\fi
- \ifnum 1>\c@tocdepth \else subsection,\fi
+ \ifnum \c@tocdepth>0 section,\fi
+ \ifnum \c@tocdepth>1 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 \c@tocdepth>2 subsection,\fi
+\ifnum \c@tocdepth>3 subsubsection,\fi
+\ifnum \c@tocdepth>4 paragraph,\fi
+\ifnum \c@tocdepth>5 subparagraph,\fi
UnDFexyz}%
\noexpand\fi}
\def\:tableofcontents{\futurelet\:temp\:TOC}