texlive[64160] Master/texmf-dist: usepackage, mathml source sync

commits+karl at tug.org commits+karl at tug.org
Sun Aug 21 21:59:22 CEST 2022


Revision: 64160
          http://tug.org/svn/texlive?view=revision&revision=64160
Author:   karl
Date:     2022-08-21 21:59:22 +0200 (Sun, 21 Aug 2022)
Log Message:
-----------
usepackage, mathml source sync

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

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/Makefile	2022-08-20 23:47:53 UTC (rev 64159)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/Makefile	2022-08-21 19:59:22 UTC (rev 64160)
@@ -1,4 +1,4 @@
-# $Id: Makefile 1173 2022-07-07 13:29:07Z michal_h21 $
+# $Id: Makefile 1186 2022-08-17 21:26:24Z karl $
 # This file is public domain.  Originally written 2010, Karl Berry.
 # Assumes GNU make.
 

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-08-20 23:47:53 UTC (rev 64159)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-08-21 19:59:22 UTC (rev 64160)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1184 2022-08-17 11:45:35Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1186 2022-08-17 21:26:24Z karl $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-08-20 23:47:53 UTC (rev 64159)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-08-21 19:59:22 UTC (rev 64160)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1180 2022-07-26 08:09:24Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1183 2022-08-17 10:03:42Z michal_h21 $$
 % compile 3 times: latex tex4ht-mathltx
 %           or   xhlatex tex4ht-mathltx "html,3,sections+"
 %
@@ -102,6 +102,7 @@
 
 
 \<amsmath html-mml pre 2000\><<<
+% pre 2000
 \Configure{equation}
   {\ifvmode \IgnorePar\fi \EndP
    \HCode{<table class="equation"><tr><td>}%
@@ -123,6 +124,7 @@
 
 
 \<amsmath html-mml jan 2000\><<<
+% jan 2000
 \Configure{equation}
   {\ifvmode \IgnorePar\fi \EndP
    \HCode{<table class="equation"><tr><td>}%
@@ -148,11 +150,14 @@
 
 
 \<amsmath html-mml july 2000\><<<
+% and here it should be
+|<alt mathopen for eq|>
 \Configure{equation}
   {\ifvmode \IgnorePar\fi\EndP
    \HCode{<table class="equation"><tr><td>}%
    |<amsmath equation july 2000|>%
    |<math display in equation|>%
+   |<mathopen in equation|>
   }
   {\ifvmode \IgnorePar\fi\EndP
    \HCode{</td><td class="eq-no">}%
@@ -176,16 +181,28 @@
    
 
 
+
 \<amsmath equation jan 2000\><<<
 |<amsmath equation july 2000|>%
 >>>
 
+Current AMSMath uses empty mathopen at the beginning of an equation, 
+which results in missing markup for subsequent numbers and characters.
 
+We check for empty parameter, and don't execute configurations when it is empty.
 
+\<alt mathopen for eq\><<<
+\def\eq:mathopen#1{\ifx\relax#1\relax\else\a:mathopen\fi\o:mathopen:{#1}}
+>>>
 
+\<mathopen in equation\><<<
+\let\mathopen\eq:mathopen%
+>>>
 
 
 
+
+
 \<amsmath equation july 2000\><<<
 \Configure{gather}
      {\HCode{<\a:mathml mtable\Hnewline

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-08-20 23:47:53 UTC (rev 64159)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-08-21 19:59:22 UTC (rev 64160)
@@ -1,4 +1,4 @@
-% mathml.4ht (2022-07-26-13:09), generated from tex4ht-mathml.tex
+% mathml.4ht (2022-08-17-14:11), 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-07-26-13:09}
+\immediate\write-1{version 2022-08-17-14:11}
 
 \exit:ifnot{Preamble,% 
 accents,% 
@@ -2354,7 +2354,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{plain}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3188,7 +3187,6 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsopn}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3256,6 +3254,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{array}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3334,8 +3333,6 @@
 
 
 
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amscd}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3432,6 +3429,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amssymb}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3719,6 +3717,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{rlbabel}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3756,6 +3755,8 @@
 
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{dcolumn}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3964,6 +3965,8 @@
 
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{accents}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4136,7 +4139,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{ulem}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4167,7 +4169,6 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{cancel}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-08-20 23:47:53 UTC (rev 64159)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-08-21 19:59:22 UTC (rev 64160)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2022-07-07-14:08), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-08-21-00:00), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2022 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-07-07-14:08}
+\immediate\write-1{version 2022-08-21-00:00}
 
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}
@@ -68,6 +68,7 @@
 \Configure{PackageHooks}{hyperref.sty}{hyperref-hooks.4ht}
 \Configure{PackageHooks}{bookmark.sty}{bookmark-hooks.4ht}
 \Configure{PackageHooks}{caption.sty}{caption-hooks.4ht}
+\Configure{PackageHooks}{babel.sty}{babel-sty-hooks.4ht}
 \Configure{PackageHooks}{minted.sty}{minted-sty-hooks.4ht}
 \Configure{PackageHooks}{graphics.sty}{graphics-hooks.4ht}
 \Configure{PackageHooks}{graphbox.sty}{graphbox-hooks.4ht}



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