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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Aug 27 13:18:39 CEST 2020


Author: michal_h21
Date: 2020-08-27 14:18:38 +0300 (Thu, 27 Aug 2020)
New Revision: 787

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
Use configurations from mathml- option  for MathClass configuration

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-08-24 17:18:49 UTC (rev 786)
+++ trunk/lit/ChangeLog	2020-08-27 11:18:38 UTC (rev 787)
@@ -1,3 +1,10 @@
+2020-08-27  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): use some code from mathml- option by
+	default.
+	https://github.com/michal-h21/make4ht/issues/34
+	https://puszcza.gnu.org.ua/bugs/?278
+
 2020-08-19  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathml.tex (mathml.4ht): fixed fence rendering in MathML.

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2020-08-24 17:18:49 UTC (rev 786)
+++ trunk/lit/tex4ht-mathml.tex	2020-08-27 11:18:38 UTC (rev 787)
@@ -3157,24 +3157,12 @@
              \mml:class="MathClass-bin">}{</\a:mathml mo>}{}
 \Configure{MathClass}{3}{*}{<\a:mathml mo\Hnewline
              \mml:class="MathClass-rel">}{</\a:mathml mo>}{}
-\:CheckOption{mathml-}     \if:Option 
-   \Configure{MathClass}{4}{*}{<\a:mathml mo\Hnewline
-             \mml:class="MathClass-open">}
-                           {</\a:mathml mo>}{}
-   \Configure{MathClass}{5}{*}{<\a:mathml mo\Hnewline
-             \mml:class="MathClass-close">}
-                           {</\a:mathml mo>}{}
-\else
-   \Log:Note{for sources failing to produce
-       clean mathml code, try the command line option `mathml-'}%
-   \Configure{MathClass}{4}{*}{<\a:mathml mrow
-                                     ><\a:mathml mo\Hnewline
-             \mml:class="MathClass-open">}
-                           {</\a:mathml mo><\a:mathml mrow>}{}
-   \Configure{MathClass}{5}{*}{</\a:mathml mrow><\a:mathml mo\Hnewline
-             \mml:class="MathClass-close">}
-                           {</\a:mathml mo></\a:mathml mrow>}{}
-\fi
+\Configure{MathClass}{4}{*}{<\a:mathml mo\Hnewline
+          \mml:class="MathClass-open">}
+                        {</\a:mathml mo>}{}
+\Configure{MathClass}{5}{*}{<\a:mathml mo\Hnewline
+          \mml:class="MathClass-close">}
+                        {</\a:mathml mo>}{}
 \Configure{MathClass}{6}{*}{<\a:mathml mo\Hnewline
              \mml:class="MathClass-punc">}{</\a:mathml mo>}{}
 \Configure{MathClass}{7}{*}{<\a:mathml mn>}{</\a:mathml mn>}



More information about the tex4ht-commits mailing list.