diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-05 22:30:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-05 22:30:13 +0000 |
commit | a5d4e5810f9f8f87069f691f6e934e144ce654d2 (patch) | |
tree | 39d7fb2dabb413db2ffd278c0b4b859d3bafa835 /Master/texmf-dist/source | |
parent | f064b882fefee1809d3b20723ab4ae69c2a52e8b (diff) |
require amsmath, allow multiple amsmath uses, tex4ht r1433
git-svn-id: svn://tug.org/texlive/trunk@69312 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 7 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index af7cdeaa0d7..24993d32133 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index de73e208c4f..523c7c93640 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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} |