[tex4ht-commits] [SCM] tex4ht updated: r628 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Tue Nov 26 17:36:39 CET 2019
Author: michal_h21
Date: 2019-11-26 18:36:39 +0200 (Tue, 26 Nov 2019)
New Revision: 628
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-mathml.tex
Log:
Use <mstyle> elements for text math commands again
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2019-11-26 15:57:01 UTC (rev 627)
+++ trunk/lit/ChangeLog 2019-11-26 16:36:39 UTC (rev 628)
@@ -3,6 +3,9 @@
* tex4ht-mathml.tex (mathml.4ht): changed way how functions are encoded in
MathmML.
https://puszcza.gnu.org.ua/bugs/?444
+ * tex4ht-mathml.tex (mathml.4ht): use <mstyle> element for math text
+ commands again.
+ http://puszcza.gnu.org.ua/bugs/?226
2019-11-22 Michal Hoftich <michal.h21 at gmail.com>
Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex 2019-11-26 15:57:01 UTC (rev 627)
+++ trunk/lit/tex4ht-mathml.tex 2019-11-26 16:36:39 UTC (rev 628)
@@ -1723,36 +1723,36 @@
\<configure mathml fontmath\><<<
\def\bold:version{bold}
\Configure{mathbf}%
- {\bgroup \Tg<\a:mathml mi
- mathvariant="bold">\PauseMathClass}%
- {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
+ {\Tg<\a:mathml mstyle
+ mathvariant="bold">}%
+ {\Tg</\a:mathml mstyle>}%
\Configure{mathit}%
- {\bgroup \Tg<\a:mathml mi mathvariant="\ifx
- \bold:version\math at version bold-\fi italic">\PauseMathClass}%
- {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
+ {\Tg<\a:mathml mstyle mathvariant="\ifx
+ \bold:version\math at version bold-\fi italic">}%
+ {\Tg</\a:mathml mstyle>}%
\Configure{mathrm}%
- {\bgroup \Tg<\a:mathml mi
+ {\Tg<\a:mathml mstyle
mathvariant="\ifx
- \bold:version\math at version bold\else normal\fi">\PauseMathClass}%
- {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
+ \bold:version\math at version bold\else normal\fi">}%
+ {\Tg</\a:mathml mstyle>}%
\Configure{mathsf}%
- {\bgroup \Tg<\a:mathml mi mathvariant="\ifx
- \bold:version\math at version bold-\fi sans-serif">\PauseMathClass}%
- {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
+ {\Tg<\a:mathml mstyle mathvariant="\ifx
+ \bold:version\math at version bold-\fi sans-serif">}%
+ {\Tg</\a:mathml mstyle>}%
\Configure{mathtt}%
- {\bgroup \Tg<\a:mathml mi mathvariant="monospace">\PauseMathClass}%
- {\EndPauseMathClass\Tg</\a:mathml mi>\egroup }%
+ {\Tg<\a:mathml mstyle mathvariant="monospace">}%
+ {\Tg</\a:mathml mstyle>}%
>>>
\<configure mathml fontmath\><<<
\Css{
- math mi[mathvariant="bold"] {
+ math mstyle[mathvariant="bold"] {
font-weight: bold;
font-style: normal;
}
}
\Css{
- math mi[mathvariant="normal"] {
+ math mstyle[mathvariant="normal"] {
font-weight: normal;
font-style: normal;
}
More information about the tex4ht-commits
mailing list