texlive[53149] Master/texmf-dist/tex/generic/tex4ht: amsmath []

commits+karl at tug.org commits+karl at tug.org
Tue Dec 17 00:27:48 CET 2019


Revision: 53149
          http://tug.org/svn/texlive?view=revision&revision=53149
Author:   karl
Date:     2019-12-17 00:27:47 +0100 (Tue, 17 Dec 2019)
Log Message:
-----------
amsmath [] config; default to space between paragraphs; margins for div and pre; \tag cmd; tex4ht r635-639

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

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/amsmath.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/amsmath.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/amsmath.4ht	2019-12-16 22:26:24 UTC (rev 53148)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/amsmath.4ht	2019-12-16 23:27:47 UTC (rev 53149)
@@ -1,4 +1,4 @@
-% amsmath.4ht (2019-01-24-14:21), generated from tex4ht-4ht.tex
+% amsmath.4ht (2019-12-16-15:21), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2019 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2019-01-24-14:21}
+\immediate\write-1{version 2019-12-16-15:21}
 
 \HRestore\cases
 \HRestore\matrix
@@ -145,7 +145,8 @@
           \ifx\df at tag\@empty \expand:after{\o:endequation:\egroup}%
           \else
              \global\let\df:tag=\df at tag
-             \expand:after{\o:endequation: \expandafter\b:equation\df:tag
+             \expand:after{\o:endequation: \expandafter\b:equation\ifdefined\ams:delete:tag\else\df:tag\fi%
+             \global\let\ams:delete:tag\@undefined
              }\fi
         }\fi
         \c:equation\egroup
@@ -505,7 +506,7 @@
    \else \let\EndPicture\empty  \fi
    \let\halign\TeXhalign}
 \def\make at df@tag@@#1{%
-  \gdef\df at tag{\maketag@@@{#1}\def\@currentlabel{#1}%
+  \gdef\df at tag{\maketag@@@{#1}\def\@currentlabel{#1}\gdef\ams:delete:tag{}%
                \let\cnt:currentlabel\@currentlabel
 \def\:@currentlabel{\ifx \cnt:currentlabel\@currentlabel
    \expandafter\the\csname c at equation\endcsname\else \@currentlabel\fi}%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht	2019-12-16 22:26:24 UTC (rev 53148)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht	2019-12-16 23:27:47 UTC (rev 53149)
@@ -1,4 +1,4 @@
-% html4-math.4ht (2019-09-23-14:26), generated from tex4ht-html4.tex
+% html4-math.4ht (2019-12-16-15:21), generated from tex4ht-html4.tex
 % Copyright 2009-2019 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 2019-09-23-14:26}
+\immediate\write-1{version 2019-12-16-15:21}
 
 \exit:ifnot{accents,% 
 amsfonts,% 
@@ -475,7 +475,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsmath}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -491,6 +490,9 @@
 \Configure{iiiint}                {\pic:sym{iiint}}
 \Configure{idotsint}              {\pic:sym{tsint}}
 \Configure{doteq}                 {\pic:sym{tsint}}
+\ifOption{mathjax}{}{%
+\Configure{[]}{\begin{equation*}}{\end{equation*}}
+}%
 \Configure{equation}
   {\ifmmode\else\par \IgnorePar\fi \EndP
            \HCode{<table\Hnewline class="equation"><tr><td>}\IgnorePar
@@ -993,7 +995,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{array}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1059,6 +1060,8 @@
 
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{eplain}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1103,6 +1106,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{fleqn}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1312,6 +1316,11 @@
 
 
 
+
+
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{accents}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1344,7 +1353,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{ushort}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1420,7 +1428,6 @@
 
 
 
-
 
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2019-12-16 22:26:24 UTC (rev 53148)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2019-12-16 23:27:47 UTC (rev 53149)
@@ -1,4 +1,4 @@
-% html4.4ht (2019-12-13-14:32), generated from tex4ht-html4.tex
+% html4.4ht (2019-12-16-15:21), generated from tex4ht-html4.tex
 % Copyright 2009-2019 TeX Users Group
 % Copyright 1997-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2019-12-13-14:32}
+\immediate\write-1{version 2019-12-16-15:21}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -1114,22 +1114,25 @@
   {\:xhtml{\Tg</p>}}
   {\:xhtml{\Tg</p>}}%
 
+\NewConfigure{!P}[1]{\expandafter\concat:config\csname a:!P\endcsname{#1}}
+\expandafter\let\csname a:!P\endcsname\relax
+\Configure{!P}{}
+
+
+\ifOption{p-indent}{%
 \Css{p.noindent { text-indent: 0em }}
 \Css{td p.noindent { text-indent: 0em; margin-top:0em; }}
 \Css{p.nopar { text-indent: 0em; }}
 \Css{p.indent{ text-indent: 1.5em }}
-\NewConfigure{!P}[1]{\expandafter\concat:config\csname a:!P\endcsname{#1}}
-\expandafter\let\csname a:!P\endcsname\relax
-\Configure{!P}{}
-\ifOption{p-indent}{%
 \Css{p{margin-top:0;margin-bottom:0}}
 \Css{p.noindent  + p.noindent{margin-top:1em;}}
-}{}
-\ifOption{p-space}{%
+}{%
 \Css{p{margin-top:0;margin-bottom:0}}
 \Css{p.indent{text-indent:0;}}
 \Css{p + p{margin-top:1em;}}
-}{}
+\Css{p + div, p + pre {margin-top:1em;}}
+\Css{div + p, pre + p {margin-top:1em;}}
+}
 \NewConfigure{!BODY}[1]{\expandafter\concat:config
   \csname a:!BODY\endcsname{#1}}
 \expandafter\let\csname a:!BODY\endcsname\relax

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2019-12-16 22:26:24 UTC (rev 53148)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2019-12-16 23:27:47 UTC (rev 53149)
@@ -1,4 +1,4 @@
-% mathml.4ht (2019-11-26-14:23), generated from tex4ht-mathml.tex
+% mathml.4ht (2019-12-16-15:21), generated from tex4ht-mathml.tex
 % Copyright 2009-2019 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 2019-11-26-14:23}
+\immediate\write-1{version 2019-12-16-15:21}
 
 \exit:ifnot{Preamble,% 
 accents,% 
@@ -1888,6 +1888,7 @@
    {\HCode{</\a:mathml mtable>}}
    {\HCode{<\a:mathml mtr>}}    {\HCode{</\a:mathml mtr>}}
    {\HCode{\Hnewline<\a:mathml mtd>}}   {\HCode{</\a:mathml mtd>}}
+\Configure{[]}{\begin{equation*}}{\end{equation*}}
 \Configure{underrightarrow}
   {\Tg<\a:mathml munder>\Tg<\a:mathml mrow\Hnewline>\:gobble}
   {\Tg</\a:mathml mrow>\mathop{\rightarrow}\Tg</\a:mathml munder>}
@@ -1977,7 +1978,7 @@
      \ifmtext \expandafter\expandafter\expandafter\no:maketag\fi
    \else \expandafter\no:maketag\fi
    \AA:text{maketag}\hbox\bgroup\:gobbleIII :@:}
-  {\egroup\BB:text }
+  {\egroup\BB:text\ }
 \def\no:maketag#1:@:#2\b:maketag{\hbox{#2}}
 \Configure{abovewithdelims}
    {\abovewithdelims:III}



More information about the tex-live-commits mailing list