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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Wed Aug 19 17:58:32 CEST 2020


Author: michal_h21
Date: 2020-08-19 18:58:31 +0300 (Wed, 19 Aug 2020)
New Revision: 784

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
Fixed fence rendering in MathML

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-07-30 20:27:50 UTC (rev 783)
+++ trunk/lit/ChangeLog	2020-08-19 15:58:31 UTC (rev 784)
@@ -1,3 +1,8 @@
+2020-08-19  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): fixed fence rendering in MathML.
+	https://puszcza.gnu.org.ua/bugs/?481
+
 2020-07-30  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): remove spurious colon.

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2020-07-30 20:27:50 UTC (rev 783)
+++ trunk/lit/tex4ht-mathml.tex	2020-08-19 15:58:31 UTC (rev 784)
@@ -1856,12 +1856,12 @@
 \def\:temp#1{\a:right{#1}\o:right:.\b:right{#1}}\HLet\right|=\:temp
 \Configure{left}
    {}
-   {\HCode{<\a:mathml mo \a:mathml fence="true" \a:mathml form="prefix">
+   {\HCode{<\a:mathml mrow><\a:mathml mo \a:mathml fence="true" \a:mathml form="prefix">
        |<lr del 1|></\a:mathml mo>}\bgroup 
                               \HCode{<\a:mathml mrow>}\bgroup}
 \Configure{right}
 {\egroup\egroup}%{\egroup\Send{GROUP}{0}{ \a:mathml close=""\space}\egroup}
-   {\HCode{</\a:mathml mrow><\a:mathml mo \a:mathml fence="true" \a:mathml form="postfix">|<lr del 1|></\a:mathml mo>}}
+   {\HCode{</\a:mathml mrow><\a:mathml mo \a:mathml fence="true" \a:mathml form="postfix">|<lr del 1|></\a:mathml mo></\a:mathml mrow>}}
 \def\def:DEL#1{\def\:DEL{#1}}
 \def\check:DEL#1#2{\def\:tempa{#1}\ifx \:tempa\:DEL \def\:DEL{#2}\fi}
 \NewConfigure{mfenced}[2]{\append:defI\def:DEL{\check:DEL{#1}{#2}}}
@@ -2843,7 +2843,7 @@
    {\bgroup
        \Configure{Bigg}{}{}{}{}%
        \Configure{mathopen}{*}
-          {<mo \mml:class="MathClass-open" 
+          {<mrow><mo \mml:class="MathClass-open" 
                      fence="true" mathsize="2.45em" >}
           {</mo>}
           {\Configure{mathopen}{}{}{}{}}%
@@ -2855,7 +2855,7 @@
        \Configure{mathclose}{*}
           {<mo \mml:class="MathClass-close"
                      fence="true" mathsize="2.45em" >}
-          {</mo>}
+          {</mo></mrow>}
           {\Configure{mathclose}{}{}{}{}}%
    }
    {\egroup}
@@ -2863,7 +2863,7 @@
    {\bgroup
        \Configure{Big}{}{}{}{}%
        \Configure{mathopen}{*}
-          {<mo \mml:class="MathClass-open"
+          {<mrow><mo \mml:class="MathClass-open"
                      fence="true" mathsize="1.61em" >}
           {</mo>}
           {\Configure{mathopen}{}{}{}{}}%
@@ -2875,7 +2875,7 @@
        \Configure{mathclose}{*}
           {<mo \mml:class="MathClass-close"
                      fence="true" mathsize="1.61em" >}
-          {</mo>}
+          {</mo></mrow>}
           {\Configure{mathclose}{}{}{}{}}%
    }
    {\egroup}
@@ -2883,7 +2883,7 @@
    {\bgroup
        \Configure{bigg}{}{}{}{}%
        \Configure{mathopen}{*}
-          {<mo \mml:class="MathClass-open"
+          {<mrow><mo \mml:class="MathClass-open"
                      fence="true" mathsize="2.03em" >}
           {</mo>}
           {\Configure{mathopen}{}{}{}{}}%
@@ -2895,7 +2895,7 @@
        \Configure{mathclose}{*}
           {<mo \mml:class="MathClass-close"
                      fence="true" mathsize="2.03em" >}
-          {</mo>}
+          {</mo></mrow>}
           {\Configure{mathclose}{}{}{}{}}%
    }
    {\egroup}
@@ -2903,7 +2903,7 @@
    {\bgroup
        \Configure{big}{}{}{}{}%
        \Configure{mathopen}{*}
-          {<mo \mml:class="MathClass-open"
+          {<mrow><mo \mml:class="MathClass-open"
                      fence="true" mathsize="1.19em" >}
           {</mo>}
           {\Configure{mathopen}{}{}{}{}}%
@@ -2915,7 +2915,7 @@
        \Configure{mathclose}{*}
           {<mo \mml:class="MathClass-close"
                      fence="true" mathsize="1.19em" >}
-          {</mo>}
+          {</mo></mrow>}
           {\Configure{mathclose}{}{}{}{}}%
    }
    {\egroup}



More information about the tex4ht-commits mailing list.