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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Fri May 19 14:08:34 CEST 2017


Author: michal_h21
Date: 2017-05-19 15:08:34 +0300 (Fri, 19 May 2017)
New Revision: 316

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
Fix for array invalid mathml

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2017-05-15 13:37:50 UTC (rev 315)
+++ trunk/lit/ChangeLog	2017-05-19 12:08:34 UTC (rev 316)
@@ -1,3 +1,9 @@
+2017-05-19  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (html-mml.4ht): configuration for array caused ivalid
+	MathML
+	Details: https://tex.stackexchange.com/q/370450/2891
+
 2017-05-15  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-info-svg.tex (infosvg.4ht): fixed compilation error.

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2017-05-15 13:37:50 UTC (rev 315)
+++ trunk/lit/tex4ht-mathml.tex	2017-05-19 12:08:34 UTC (rev 316)
@@ -1202,6 +1202,7 @@
 
 \<mathml latex\><<<
 \def\:MM{m}
+\def\mathml:hborder{%
 \Configure{HBorder}
    {<\a:mathml mtr\Hnewline \mml:class="hline">} 
    {|<mml hline|>}
@@ -1214,6 +1215,8 @@
          \mml:class="vspace" style="font-size:\HBorderspace">}
    {<\a:mathml mtd\Hnewline></\a:mathml mtd>}
    {</\a:mathml mtr>}
+  }
+  \mathml:hborder
 >>>
 
 \<configure html-mml latex\><<<
@@ -4093,6 +4096,7 @@
     \xdef\VBorder{\VBorder<col\Hnewline id="TBL-\TableNo
        -\ar:cnt"\xml:empty>}\xdef\AllColMargins{\AllColMargins1}}
    {\xdef\AllColMargins{\AllColMargins 0}}
+   \Configure{putHBorder}{\bgroup\ifmathml\mathml:hborder\fi\HCode{\HBorder}\egroup}
 >>>
 
 



More information about the tex4ht-commits mailing list