texlive[73945]

commits+karl at tug.org commits+karl at tug.org
Wed Feb 12 23:25:57 CET 2025


Revision: 73945
          https://tug.org/svn/texlive?view=revision&revision=73945
Author:   karl
Date:     2025-02-12 23:25:57 +0100 (Wed, 12 Feb 2025)
Log Message:
-----------
propagate tex4ht r1639 to TL24 branch

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1639

Modified Paths:
--------------
    branches/branch2024.final/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht

Modified: branches/branch2024.final/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2025-02-12 22:13:01 UTC (rev 73944)
+++ branches/branch2024.final/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2025-02-12 22:25:57 UTC (rev 73945)
@@ -1,4 +1,4 @@
-% mathml.4ht (2025-01-09-13:26), generated from tex4ht-mathml.tex
+% mathml.4ht (2025-02-12-14:12), generated from tex4ht-mathml.tex
 % Copyright 2009-2025 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 2025-01-09-13:26}
+\immediate\write-1{version 2025-02-12-14:12}
 
 \exit:ifnot{Preamble,% 
 accents,% 
@@ -4023,7 +4023,38 @@
        \HCode{</\a:mathml mtext>}%
     \fi
     \HCode{</\a:mathml mtd>}}
+% support bidirectional harpoons
+\def\:leftrightharpoons{\HCode{<\a:mathml mo stretchy="true">}\PauseMathClass\x:unicode{21CC}\EndPauseMathClass\HCode{</\a:mathml mo>}}
+\def\:righleftharpoons{\HCode{<\a:mathml mo stretchy="true">}\PauseMathClass\x:unicode{21CB}\EndPauseMathClass\HCode{</\a:mathml mo>}}
 
+\providecommand*\:xleftrightharpoons[2][]{%
+\ext at arrow 3095\:leftrightharpoons{#1}{#2}}
+
+\providecommand*\:xrightleftharpoons[2][]{%
+\ext at arrow 3095\:leftrightharpoons{#1}{#2}}
+
+\HLet\xleftrightharpoons\:xleftrightharpoons
+\HLet\xrightleftharpoons\:xrightleftharpoons
+
+% correctly place text under and over arrows
+\def\:tempa#1#2#3#4#5#6#7{%
+  \bgroup%
+  \def\relbar{}% remove relbar in arrow fills
+  \def\arrowfill@##1##2##3##4{##1##2##3##4}% remove arrowfill@, to prevent errors
+  \@ifempty{#7}{%
+    \HCode{<\a:mathml munder><\a:mathml mrow><\a:mathml mo stretchy="true">}\PauseMathClass#5{}\EndPauseMathClass\HCode{</\a:mathml mo></\a:mathml mrow><\a:mathml mrow>}#6\HCode{</\a:mathml mrow></\a:mathml munder>}%
+  }{%
+    \@ifempty{#6}{%
+      \HCode{<\a:mathml mover><\a:mathml mrow><\a:mathml mo stretchy="true">}\PauseMathClass#5{}\EndPauseMathClass\HCode{</\a:mathml mo></\a:mathml mrow><\a:mathml mrow>}#7\HCode{</\a:mathml mrow></\a:mathml mover>}%
+    }{%
+      \HCode{<\a:mathml munderover><\a:mathml mrow><\a:mathml mo stretchy="true">}\PauseMathClass#5{}\EndPauseMathClass\HCode{</\a:mathml mo></\a:mathml mrow><\a:mathml mrow>}#6\HCode{</\a:mathml mrow><\a:mathml mrow>}#7\HCode{</\a:mathml mrow></\a:mathml munderover>}%
+    }%
+  }%
+  \egroup
+}
+
+\HLet\ext at arrow\:tempa
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
 \endinput\empty\empty\empty\empty\empty\empty



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