summaryrefslogtreecommitdiff
path: root/support/TeX4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-03-17 03:00:46 +0000
committerNorbert Preining <norbert@preining.info>2022-03-17 03:00:46 +0000
commit8208f204439f3a899e43187857e3f9c86d4ebb7c (patch)
tree70c940f6d7a58f7878aeef16a87a1af85f6f3f69 /support/TeX4ht
parent725ce6a3e602c7516d471df841ea433b8c5bcd9d (diff)
CTAN sync 202203170300
Diffstat (limited to 'support/TeX4ht')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex5
2 files changed, 9 insertions, 2 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index efebbc22a7..9525e920e5 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+2022-03-15 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (unicode-math-hooks.4ht): don't load Fontspec if it
+ is already loaded.
+ https://github.com/michal-h21/make4ht/issues/67
+
2022-03-14 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (biblatex.4ht): removed unused boolean variable.
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index a69e3e6c50..5bad77a00c 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1088 2022-03-14 20:55:35Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1089 2022-03-15 15:14:50Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -4169,7 +4169,8 @@ document.
% Copyright 2021-2022 TeX Users Group
|<TeX4ht license text|>
\:dontusepackage{unicode-math}
-\RequirePackage{fontspec} % it is loaded by unicode-math
+\@ifpackageloaded{fontspec}{}
+{\RequirePackage{fontspec}} % it is loaded by unicode-math
\NewDocumentCommand \setmathfont { O{} m O{} }{}
\endinput
>>> \AddFile{9}{unicode-math-hooks}