diff options
author | Karl Berry <karl@freefriends.org> | 2023-09-12 20:52:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-09-12 20:52:32 +0000 |
commit | 81e7d7d99c8606d961d6766e23f223a3a90833ae (patch) | |
tree | 845c9efd81f9fcf71f8118bbde5194ca4e0db4ed /Master/texmf-dist/source/generic/tex4ht | |
parent | b01ebd2fe1384e5e473506c7570b062df54d4667 (diff) |
avoid duplicate toc, tex4ht r1369
git-svn-id: svn://tug.org/texlive/trunk@68260 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 7 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 8c8eee18c72..f435205901b 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,5 +1,12 @@ 2023-09-11 Michal Hoftich <michal.h21@gmail.com> + * tex4ht-html4.tex (html4.4ht): prevent duplicate TOC when the + \tableofcontents command is used in the document which is not split + into subpages. + https://tex.stackexchange.com/a/695831/2891 + +2023-09-11 Michal Hoftich <michal.h21@gmail.com> + * tex4ht-4ht.tex (hyperref-hooks.4ht): undefine the \@chapter command to prevent wrong cutting of pages with numeric options. https://puszcza.gnu.org.ua/bugs/?608 diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index 8e6c52b3b75..cd4571657a0 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1363 2023-08-31 15:26:11Z michal_h21 $ +% $Id: tex4ht-html4.tex 1369 2023-09-12 12:36:05Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -1054,6 +1054,8 @@ is the default font size. |<cutat: part|> |<object tocs|> \else + % This should prevent duplication of TOC when document is not split into subpages + \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}% \Log:Note{for automatic sectioning pagination, use the command line option `1', `2', `3', '4', '5', '6', or '7'}% |