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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Nov 26 16:57:01 CET 2019


Author: michal_h21
Date: 2019-11-26 17:57:01 +0200 (Tue, 26 Nov 2019)
New Revision: 627

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
Changed way how functions are handled in MathML

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-11-22 09:46:45 UTC (rev 626)
+++ trunk/lit/ChangeLog	2019-11-26 15:57:01 UTC (rev 627)
@@ -1,3 +1,9 @@
+2019-11-23 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): changed way how functions are encoded in
+	MathmML.
+	https://puszcza.gnu.org.ua/bugs/?444
+
 2019-11-22 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (colortbl.4ht): fixed support for colors in \rowcolor

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2019-11-22 09:46:45 UTC (rev 626)
+++ trunk/lit/tex4ht-mathml.tex	2019-11-26 15:57:01 UTC (rev 627)
@@ -2432,13 +2432,16 @@
 \<configure mathml amsopn\><<<
 \Configure{qopname}
    {\Configure{mathop}{*}
-      {<\a:mathml mo \mml:class="qopname">}
-      {</\a:mathml mo>}
+      {<\a:mathml mi \mml:class="qopname">}
+  {</\a:mathml mi><mo> ⁡<!--FUNCTION APPLICATION--> </mo>}
       {}}
-\Css{mo.qopname + mi{margin-left:0.3em}}
-\Css{mi + mo.qopname{margin-left:0.3em}}
 >>>
 
+The following CSS caused too large whitespace around functions
+%\Css{mi.qopname + mo{margin-left:0.3em}}
+%\Css{mi + mi.qopname{margin-left:0.3em}}
+
+
 %%%%%%%%%%%%%%%%%
 \subsection{mathtools}
 %%%%%%%%%%%%%%%%%%
@@ -3137,8 +3140,8 @@
 
 \<mathml plain,fontmath\><<<
 \Configure{MathClass}{0}{*}{<\a:mathml mi\Hnewline>}{</\a:mathml mi>}{}
-\Configure{MathClass}{1}{*}{<\a:mathml mo\Hnewline
-             \mml:class="MathClass-op">}{</\a:mathml mo>}{}
+\Configure{MathClass}{1}{*}{<\a:mathml mi\Hnewline
+             \mml:class="MathClass-op">}{</\a:mathml mi><mo> ⁡<!--FUNCTION APPLICATION--></mo>}{}
 \Configure{MathClass}{2}{*}{<\a:mathml mo\Hnewline
              \mml:class="MathClass-bin">}{</\a:mathml mo>}{}
 \Configure{MathClass}{3}{*}{<\a:mathml mo\Hnewline



More information about the tex4ht-commits mailing list