texlive[61574] Master/texmf-dist: unicode-math support, tex4ht r1054

commits+karl at tug.org commits+karl at tug.org
Tue Jan 11 23:24:15 CET 2022


Revision: 61574
          http://tug.org/svn/texlive?view=revision&revision=61574
Author:   karl
Date:     2022-01-11 23:24:15 +0100 (Tue, 11 Jan 2022)
Log Message:
-----------
unicode-math support, tex4ht r1054

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1054

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-01-11 22:02:24 UTC (rev 61573)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-01-11 22:24:15 UTC (rev 61574)
@@ -1,3 +1,9 @@
+2022-01-11  Michal Hoftich  <michal.h21 at 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 at freefriends.org>
 
 	* tex4ht-ooffice.tex,
@@ -5,7 +11,7 @@
 
 2022-01-07  Michal Hoftich  <michal.h21 at 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

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-01-11 22:02:24 UTC (rev 61573)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-01-11 22:24:15 UTC (rev 61574)
@@ -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 @@
 >>> \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}
 %%%%%%%%%%%%%%%%%
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-01-11 22:02:24 UTC (rev 61573)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-01-11 22:24:15 UTC (rev 61574)
@@ -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}



More information about the tex-live-commits mailing list.