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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Sep 8 22:01:57 CEST 2020


Author: michal_h21
Date: 2020-09-08 23:01:56 +0300 (Tue, 08 Sep 2020)
New Revision: 795

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
Fixed MathML validity issues for \textit etc.

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-09-02 20:54:10 UTC (rev 794)
+++ trunk/lit/ChangeLog	2020-09-08 20:01:56 UTC (rev 795)
@@ -1,3 +1,8 @@
+2020-09-08  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): removed some weird code from configuration
+	for \text.. commands. It produced invalid MathML.
+
 2020-09-02  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex(usepackage.4ht, usepackage-fontspec.4ht):

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2020-09-02 20:54:10 UTC (rev 794)
+++ trunk/lit/tex4ht-mathml.tex	2020-09-08 20:01:56 UTC (rev 795)
@@ -1625,11 +1625,14 @@
 
 % \Configure{math}{}
 
+
+% this used to be in \providemtextclass. Why? It produces totally invalid
+% MathML. Where is </mtext> opened?
+% \HCode{</mtext>}\ht:special{t4ht@,}\HCode{<mtext \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}%
 \<mathml fonts\><<<
 
 \def\providemtextclass#1{%
   \Configure{@mtext}{#1}%
-  \HCode{</mtext>}\ht:special{t4ht@,}\HCode{<mtext \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}%
 }
 
 \Configure{texttt}



More information about the tex4ht-commits mailing list.