From aba7fb229e902758b312ecec84ab6f485c89ba66 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 7 Jan 2024 03:01:57 +0000 Subject: CTAN sync 202401070301 --- support/TeX4ht/source/ChangeLog | 7 +++++++ support/TeX4ht/source/tex4ht-4ht.tex | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'support') 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 + + * 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 * 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 (|version), generated from |jobname.tex -% Copyright 2021-2022 TeX Users Group +% Copyright 2021-2024 TeX Users Group | \: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} -- cgit v1.2.3