texlive[63771] Master/texmf-dist: tex formatting inside \mathop,

commits+karl at tug.org commits+karl at tug.org
Thu Jun 30 23:12:46 CEST 2022


Revision: 63771
          http://tug.org/svn/texlive?view=revision&revision=63771
Author:   karl
Date:     2022-06-30 23:12:44 +0200 (Thu, 30 Jun 2022)
Log Message:
-----------
tex formatting inside \mathop, tex4ht r1163

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1163

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-30 21:01:11 UTC (rev 63770)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-30 21:12:44 UTC (rev 63771)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-06-30 21:01:11 UTC (rev 63770)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-06-30 21:12:44 UTC (rev 63771)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1135 2022-05-19 15:28:47Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1163 2022-06-30 15:37:22Z michal_h21 $$
 % compile 3 times: latex tex4ht-mathltx
 %           or   xhlatex tex4ht-mathltx "html,3,sections+"
 %
@@ -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>}%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-06-30 21:01:11 UTC (rev 63770)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-06-30 21:12:44 UTC (rev 63771)
@@ -1,4 +1,4 @@
-% mathml.4ht (2022-05-19-13:37), generated from tex4ht-mathml.tex
+% mathml.4ht (2022-06-30-13:48), generated from tex4ht-mathml.tex
 % Copyright 2009-2022 TeX Users Group
 % Copyright 1999-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-05-19-13:37}
+\immediate\write-1{version 2022-06-30-13:48}
 
 \exit:ifnot{Preamble,% 
 accents,% 
@@ -1368,6 +1368,10 @@
 \:temp\Sigma{03A3}
 \:temp\Upsilon{03A5}
 \:temp\Omega{03A9}
+\AtBeginDocument{%
+\Configure{mathop*}{*}{}{}
+   { \Configure{mathop}{*}{<mo>}{</mo>}{} }
+}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
@@ -1729,7 +1733,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsbsy}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3185,6 +3188,7 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsopn}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3252,7 +3256,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{array}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3428,6 +3431,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amssymb}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3983,6 +3987,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{subeqnarray}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4047,7 +4052,6 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{ushort}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4085,6 +4089,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{bm}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4162,6 +4167,7 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{cancel}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex-live-commits mailing list.