summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-09-12 03:01:04 +0000
committerNorbert Preining <norbert@preining.info>2023-09-12 03:01:04 +0000
commitbecf79ac9bbdddd15ef9d66a35c6d64252a2cd46 (patch)
tree8d5a60061f6aef780c147dcc82674a5652be9b75 /support
parentf2abd8392e16d9b51a73c3c09b322ddde8b9be9e (diff)
CTAN sync 202309120301
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog10
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex9
-rw-r--r--support/TeX4ht/source/tex4ht-mkht.tex8
3 files changed, 22 insertions, 5 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 32140d2938..8c8eee18c7 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,13 @@
+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
+
+2023-09-10 Karl Berry <karl@freefriends.org>
+
+ * tex4ht-mkht.tex (mkht-scripts): copyright 2023.
+
2023-09-07 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-mathml.tex (mathml.4ht): fixed handling of inline math
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 6ac26a7046..c76a160f67 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1362 2023-08-27 15:01:41Z karl $
+% $Id: tex4ht-4ht.tex 1368 2023-09-11 09:02:15Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -5655,6 +5655,13 @@ TeX4ht hooks.
\let\label\sv:label
%\input nameref.4ht
}
+% Nameref defines the \@chapter command unconditionally,
+% but this breaks the page cutting functionality
+% of TeX4ht, so we need to undefine it.
+% See this post for more details https://tex.stackexchange.com/q/695624/2891
+\ifdefined\chapter\else
+ \global\let\@chapter\@relax
+\fi
>>>
Hyperref defines following captions at the end of the package.
diff --git a/support/TeX4ht/source/tex4ht-mkht.tex b/support/TeX4ht/source/tex4ht-mkht.tex
index 206adb13ef..09ff18602f 100644
--- a/support/TeX4ht/source/tex4ht-mkht.tex
+++ b/support/TeX4ht/source/tex4ht-mkht.tex
@@ -1,9 +1,9 @@
-% $Id: tex4ht-mkht.tex 1361 2023-08-20 15:23:27Z karl $
+% $Id: tex4ht-mkht.tex 1367 2023-09-10 15:49:40Z karl $
% (1) latex tex4ht-mkht
% (2) perl -c mk4ht.perl (checking correctness)
% (3) latex mkht-scripts.4ht
%
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
% Released under LPPL 1.3c+.
% See tex4ht-cpright.tex for license text.
@@ -923,7 +923,7 @@ against that file.
\<mkht\><<<-
% mkht.4ht (?version), generated from ?jobname.tex
-% Copyright 2009-2020 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
% Copyright ?CopyYear.1997. Eitan M. Gurari
?<TeX4ht copyright?>
\immediate\write-1{version ?version}
@@ -1181,7 +1181,7 @@ shebang line, the defaul shell (which can be anything) is used.
\<mkht-scripts\><<<-
% mkht-scripts.4ht (?version), generated from ?jobname.tex
-% Copyright 2009-2020 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
% Copyright ?CopyYear.2000. Eitan M. Gurari
?<TeX4ht copyright?>