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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Jun 30 17:37:22 CEST 2022


Author: michal_h21
Date: 2022-06-30 15:37:22 +0000 (Thu, 30 Jun 2022)
New Revision: 1163

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
retain text formatting inside \mathop

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-06-29 11:41:04 UTC (rev 1162)
+++ trunk/lit/ChangeLog	2022-06-30 15:37:22 UTC (rev 1163)
@@ -1,3 +1,9 @@
+2022-06-30  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): retain text formatting inside
+	\mathop.
+	https://tug.org/pipermail/tex4ht/2016q4/001631.html
+
 2022-06-29  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-jats.4ht (jats.4ht): added support for list environments.

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2022-06-29 11:41:04 UTC (rev 1162)
+++ trunk/lit/tex4ht-mathml.tex	2022-06-30 15:37:22 UTC (rev 1163)
@@ -3468,6 +3468,20 @@
 \section{Sized Operations}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+This code tries to prevent discarding of math formatting inside of 
+mathop. See \Link{https://tug.org/pipermail/tex4ht/2016q4/001631.html}{}this bug report\EndLink.
+
+I use AtBeginDocument because it doesn't seem to have any effect otherwise. The code comes
+from tex4ht-info.tex. 
+
+\<configure mathml latex\><<<
+\AtBeginDocument{%
+\Configure{mathop*}{*}{}{}                                                                                                                                                          
+   { \Configure{mathop}{*}{<mo>}{</mo>}{} }   
+}
+>>>
+
+
 \<plain,latex mathml\><<<
 \def\mathop:prefix#1{%
    \Configure{mathop}{*}{<\a:mathml mo #1\Hnewline>}{</\a:mathml mo>}%



More information about the tex4ht-commits mailing list.