summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht
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
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')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog8
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex24
2 files changed, 30 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 1373b376549..c622871995b 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-11 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (usepackage.4ht, unicode-math-hooks.4ht): added
+ support for the Unicode-math package.
+ https://tex.stackexchange.com/a/629731/2891
+
2022-01-09 Karl Berry <karl@freefriends.org>
* tex4ht-ooffice.tex,
@@ -5,7 +11,7 @@
2022-01-07 Michal Hoftich <michal.h21@gmail.com>
- * tex4ht-4ht.tex (ooffice.4ht): use \par after some environemnts to
+ * tex4ht-4ht.tex (ooffice.4ht): use \par after some environments to
prevent ommision of the following text.
* tex4ht-ooffice.tex (ooffice.4ht): correctly handle text alignment
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}
%%%%%%%%%%%%%%%%%