[tex4ht-commits] [SCM] tex4ht updated: r1054 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Jan 11 13:16:25 CET 2022


Author: michal_h21
Date: 2022-01-11 12:16:25 +0000 (Tue, 11 Jan 2022)
New Revision: 1054

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
added support for the unicode-math package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-01-09 15:36:40 UTC (rev 1053)
+++ trunk/lit/ChangeLog	2022-01-11 12:16:25 UTC (rev 1054)
@@ -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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-01-09 15:36:40 UTC (rev 1053)
+++ trunk/lit/tex4ht-4ht.tex	2022-01-11 12:16:25 UTC (rev 1054)
@@ -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}
 %%%%%%%%%%%%%%%%%
 



More information about the tex4ht-commits mailing list.