summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
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
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')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog8
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex24
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht7
3 files changed, 34 insertions, 5 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}
%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
index aaaec5f6fbf..85e18c9e920 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
@@ -1,6 +1,6 @@
-% usepackage.4ht (2021-12-14-13:43), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-01-11-14:12), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-12-14-13:43}
+\immediate\write-1{version 2022-01-11-14:12}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}
@@ -55,6 +55,7 @@
\Configure{PackageHooks}{fontawesome5.sty}{fontawesome5-hooks.4ht}
\Configure{PackageHooks}{biblatex.sty}{biblatex-hooks.4ht}
\Configure{PackageHooks}{xeCJK.sty}{xecjk-hooks.4ht}
+\Configure{PackageHooks}{unicode-math.sty}{unicode-math-hooks.4ht}
\Configure{PackageHooks}{ctex.sty}{ctex-hooks.4ht}
\Configure{PackageHooks}{polyglossia.sty}{polyglossia-hooks.4ht}
\Configure{PackageHooks}{fontspec.sty}{fontspec-hooks.4ht}