diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-07 03:01:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-07 03:01:57 +0000 |
commit | aba7fb229e902758b312ecec84ab6f485c89ba66 (patch) | |
tree | c19cf7164b430c1d344ad913c8dc44f5ace262b7 /support | |
parent | 949a85bb8707bf1aaa2b23b018e24d5001d38e52 (diff) |
CTAN sync 202401070301
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 7 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index af7cdeaa0d..24993d3213 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,10 @@ +2024-01-05 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (unicode-math-hooks.4ht): require Amsmath from + Unicode-math. Declare commands to prevent errors in multiple uses of + Unicode-math. + https://fosstodon.org/@alerque@mastodon.social/111701555810243494 + 2024-01-04 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (changepage.4ht): fixed setting of empty margins. diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index de73e208c4..523c7c9364 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,7 +1,7 @@ -% $Id: tex4ht-4ht.tex 1432 2024-01-04 21:04:24Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1434 2024-01-05 22:29:16Z karl $ % tex tex4ht-4ht or ht tex tex4ht-4ht % -% Copyright 2009-2023 TeX Users Group +% Copyright 2009-2024 TeX Users Group % Copyright 1996-2009 Eitan M. Gurari % Released under LPPL 1.3c+. % See tex4ht-cpright.tex for license text. @@ -4364,14 +4364,15 @@ document. \<unicode-math-hooks.4ht\><<< % unicode-math-hooks.4ht (|version), generated from |jobname.tex -% Copyright 2021-2022 TeX Users Group +% Copyright 2021-2024 TeX Users Group |<TeX4ht license text|> \:dontusepackage{unicode-math} \TivhTcats% we need to reset catcodes for : and @ before \RequirePackage \@ifpackageloaded{fontspec}{} {\RequirePackage{fontspec}} % it is loaded by unicode-math -\NewDocumentCommand \setmathfont { O{} m O{} }{} -\NewDocumentCommand \unimathsetup {m} {} +\RequirePackage{amsmath} +\DeclareDocumentCommand \setmathfont { O{} m O{} }{} +\DeclareDocumentCommand \unimathsetup {m} {} \catcode`\:=11\makeatletter \endinput >>> \AddFile{9}{unicode-math-hooks} |