diff options
author | Norbert Preining <norbert@preining.info> | 2023-09-13 03:01:35 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-09-13 03:01:35 +0000 |
commit | de0fb15550a55ba5685a755fec7326e21a79fccd (patch) | |
tree | d31a21d9ea35405a0482f92ff12caabd84eae9e4 /support/TeX4ht | |
parent | becf79ac9bbdddd15ef9d66a35c6d64252a2cd46 (diff) |
CTAN sync 202309130301
Diffstat (limited to 'support/TeX4ht')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 7 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-html4.tex | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 8c8eee18c7..f435205901 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex index 8e6c52b3b7..cd4571657a 100644 --- a/support/TeX4ht/source/tex4ht-html4.tex +++ b/support/TeX4ht/source/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'}% |