summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-11 22:24:15 +0000
committerKarl Berry <karl@freefriends.org>2022-01-11 22:24:15 +0000
commita348646a50088b57d1f9d21d7270d8fa3344b769 (patch)
tree91b4fba545f68f60c19af09396fb245093b22b4a /Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
parent8073de44fa28710eeac2f911e170ef565c63c703 (diff)
unicode-math support, tex4ht r1054
git-svn-id: svn://tug.org/texlive/trunk@61574 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex24
1 files changed, 23 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index b113af5bd7a..ece2d419ea7 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/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}
%%%%%%%%%%%%%%%%%