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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Nov 16 16:55:24 CET 2022


Author: michal_h21
Date: 2022-11-16 15:55:23 +0000 (Wed, 16 Nov 2022)
New Revision: 1238

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
use displaystyle for gather

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-11-15 15:09:44 UTC (rev 1237)
+++ trunk/lit/ChangeLog	2022-11-16 15:55:23 UTC (rev 1238)
@@ -1,3 +1,10 @@
+2022-11-16  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): use displaystyle=true attribute in
+	Gather and similar environments, to force the display style for the
+	enclosed content.
+	https://github.com/michal-h21/make4ht/issues/101
+
 2022-11-15  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (authblk.4ht): better handling of the authblk

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2022-11-15 15:09:44 UTC (rev 1237)
+++ trunk/lit/tex4ht-mathml.tex	2022-11-16 15:55:23 UTC (rev 1238)
@@ -86,7 +86,7 @@
 \<amsmath mathml\><<<
 \Configure{equation}
   {\Configure{gather}
-     {\HCode{<\a:mathml mtable\Hnewline
+     {\HCode{<\a:mathml mtable\Hnewline \a:mathml displaystyle="true"
         \mml:class="equation"><\a:mathml mtr><\a:mathml mtd>}\IgnorePar }
      {\HCode{</\a:mathml mtd></\a:mathml mtr></\a:mathml mtable>}}
      {}
@@ -205,7 +205,7 @@
 
 \<amsmath equation july 2000\><<<
 \Configure{gather}
-     {\HCode{<\a:mathml mtable\Hnewline
+     {\HCode{<\a:mathml mtable\Hnewline 
         \mml:class="equation"><\a:mathml mtr><\a:mathml mtd>}\IgnorePar 
          |<math display in equation|>}
      {\HCode{</\a:mathml mtd></\a:mathml mtr></\a:mathml mtable>}}
@@ -2067,7 +2067,7 @@
 
 \<amsmath mathml\><<<
 \Configure{multline}
-   {\HCode{<\a:mathml mtable\Hnewline  \mml:class="multline">}}
+   {\HCode{<\a:mathml mtable\Hnewline \a:mathml displaystyle="true"  \mml:class="multline">}}
    {\HCode{</\a:mathml mtable>}}
    {\HCode{<\a:mathml mtr>%
            <\a:mathml mtd\Hnewline \mml:class="multline">}}
@@ -2075,18 +2075,18 @@
    {\HCode{</\a:mathml mtd><\a:mathml mtd>}} 
    {}
 \Configure{multline*}
-   {\HCode{<\a:mathml mtable\Hnewline \mml:class="multline-star">}}   
+   {\HCode{<\a:mathml mtable\Hnewline \a:mathml displaystyle="true" \mml:class="multline-star">}}   
    {\HCode{</\a:mathml mtable>}}
    {\HCode{<\a:mathml mtr><\a:mathml mtd\Hnewline  
                                         \mml:class="multline-star">}} 
    {\HCode{</\a:mathml mtd></\a:mathml mtr>}} 
 \Configure{gather}
-   {\HCode{<\a:mathml mtable\Hnewline \mml:class="gather">}}
+   {\HCode{<\a:mathml mtable\Hnewline \a:mathml displaystyle="true" \mml:class="gather">}}
    {\HCode{</\a:mathml mtable>}}
    {\HCode{<\a:mathml mtr>}}    {\HCode{</\a:mathml mtr>}} 
    {\HCode{\Hnewline<\a:mathml mtd>}}   {\HCode{</\a:mathml mtd>}}
 \Configure{gather*}
-   {\HCode{<\a:mathml mtable\Hnewline \mml:class="gather-star">}}
+   {\HCode{<\a:mathml mtable\Hnewline \a:mathml displaystyle="true" \mml:class="gather-star">}}
    {\HCode{</\a:mathml mtable>}}
    {\HCode{<\a:mathml mtr>}}    {\HCode{</\a:mathml mtr>}} 
    {\HCode{\Hnewline<\a:mathml mtd>}}   {\HCode{</\a:mathml mtd>}}



More information about the tex4ht-commits mailing list.