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

karl at gnu.org.ua karl at gnu.org.ua
Sat Feb 14 01:35:05 CET 2015


Author: karl
Date: 2015-02-14 02:35:05 +0200 (Sat, 14 Feb 2015)
New Revision: 143

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
output <mi mathvariant..., https://puszcza.gnu.org.ua/bugs/?226

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2015-02-09 23:30:08 UTC (rev 142)
+++ trunk/lit/ChangeLog	2015-02-14 00:35:05 UTC (rev 143)
@@ -1,6 +1,12 @@
+2015-02-13  Michal Hoftich <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht) <config mathml fontmath>: 
+	output <mi mathvariant=...
+	https://puszcza.gnu.org.ua/bugs/?226
+
 2015-02-09  Michal Hoftich <michal.h21 at gmail.com>
 
-	* tex4ht-mathml.tex (config start mtext): conditionalize
+	* tex4ht-mathml.tex (mathml.4ht) <config start mtext>: \ifmmode\else
 	<config math within mtext> to avoid some (but not all)
 	problems.  https://puszcza.gnu.org.ua/bugs/?244
 

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2015-02-09 23:30:08 UTC (rev 142)
+++ trunk/lit/tex4ht-mathml.tex	2015-02-14 00:35:05 UTC (rev 143)
@@ -1706,36 +1706,36 @@
 \<configure mathml fontmath\><<<
 \def\bold:version{bold}
 \Configure{mathbf}%
-  {\bgroup \Tg<\a:mathml mstyle 
-             mathvariant="bold">}%
-  {\Tg</\a:mathml mstyle>\egroup }%
+  {\bgroup \Tg<\a:mathml mi 
+             mathvariant="bold">\PauseMathClass}%
+  {\Tg</\a:mathml mi>\egroup }%
 \Configure{mathit}%
-  {\bgroup \Tg<\a:mathml mstyle  mathvariant="\ifx 
-                 \bold:version\math at version bold-\fi italic">}%
-  {\Tg</\a:mathml mstyle>\egroup }%
+  {\bgroup \Tg<\a:mathml mi  mathvariant="\ifx 
+                 \bold:version\math at version bold-\fi italic">\PauseMathClass}%
+  {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
 \Configure{mathrm}%
-  {\bgroup \Tg<\a:mathml mstyle 
+  {\bgroup \Tg<\a:mathml mi 
              mathvariant="\ifx 
-                 \bold:version\math at version bold\else normal\fi">}%
-  {\Tg</\a:mathml mstyle>\egroup }%
+                 \bold:version\math at version bold\else normal\fi">\PauseMathClass}%
+  {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
 \Configure{mathsf}%
-  {\bgroup \Tg<\a:mathml mstyle  mathvariant="\ifx
-            \bold:version\math at version bold-\fi sans-serif">}%
-  {\Tg</\a:mathml mstyle>\egroup }%
+  {\bgroup \Tg<\a:mathml mi  mathvariant="\ifx
+            \bold:version\math at version bold-\fi sans-serif">\PauseMathClass}%
+  {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
 \Configure{mathtt}%
-  {\bgroup \Tg<\a:mathml mstyle mathvariant="monospace">}%
-  {\Tg</\a:mathml mstyle>\egroup }%
+  {\bgroup \Tg<\a:mathml mi mathvariant="monospace">\PauseMathClass}%
+  {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
 >>>
 
 \<configure mathml fontmath\><<<
 \Css{ 
-   math mstyle[mathvariant="bold"]  mi {  
+   math mi[mathvariant="bold"]  {  
       font-weight: bold;  
       font-style: normal;  
    }  
 }
 \Css{ 
-   math mstyle[mathvariant="normal"]  mi {  
+   math mi[mathvariant="normal"]  {  
       font-weight: normal;  
       font-style: normal;  
    }  



More information about the tex4ht-commits mailing list