summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex24
1 files changed, 23 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index b113af5bd7..ece2d419ea 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1053 2022-01-09 15:36:40Z karl $
+% $Id: tex4ht-4ht.tex 1054 2022-01-11 12:16:25Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -4154,6 +4154,28 @@ Note that not all commands are provided, more can be added on user request.
>>> \AddFile{9}{xecjk-hooks}
%%%%%%%%%%%%%%%%%
+\Section{unicode-math}
+%%%%%%%%%%%%%%%%%
+
+This is a basic support for Unicode-math. It blocks it's loading,
+and defines the \`'\setmathfont' command, which can be used in the
+document.
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{unicode-math.sty}{unicode-math-hooks.4ht}
+>>>
+
+\<unicode-math-hooks.4ht\><<<
+% unicode-math-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht license text|>
+\:dontusepackage{unicode-math}
+\RequirePackage{fontspec} % it is loaded by unicode-math
+\NewDocumentCommand \setmathfont { O{} m O{} }{}
+\endinput
+>>> \AddFile{9}{unicode-math-hooks}
+
+%%%%%%%%%%%%%%%%%
\Section{ctex}
%%%%%%%%%%%%%%%%%