texlive[55970] Master/texmf-dist/tex/generic/tex4ht: do not patch
commits+karl at tug.org
commits+karl at tug.org
Tue Jul 28 00:06:49 CEST 2020
Revision: 55970
http://tug.org/svn/texlive?view=revision&revision=55970
Author: karl
Date: 2020-07-28 00:06:49 +0200 (Tue, 28 Jul 2020)
Log Message:
-----------
do not patch \shipout, tex4ht r781; MathJaxConfig, tex4ht r780
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=781
http://tug.org/svn/texlive?view=revision&revision=780
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht 2020-07-27 21:42:04 UTC (rev 55969)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht 2020-07-27 22:06:49 UTC (rev 55970)
@@ -1,4 +1,4 @@
-% html4-math.4ht (2020-06-03-14:10), generated from tex4ht-html4.tex
+% html4-math.4ht (2020-07-27-14:08), 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 2020-06-03-14:10}
+\immediate\write-1{version 2020-07-27-14:08}
\exit:ifnot{accents,%
amsfonts,%
@@ -316,9 +316,8 @@
\:CheckOption{mathjax}\if:Option
\input{mathjax-latex-4ht.4ht}
-\Configure{@HEAD}{\HCode{
-<script>
-window.MathJax = {
+\ifx\a:MathJaxConfig\relax
+\Configure{MathJaxConfig}{{
tex: {
tags: "ams",
\detokenize{%
@@ -332,8 +331,9 @@
load: ['[tex]/color', '[tex]/ams']
}
};
-</script>\Hnewline
-}}
+}
+\fi
+\Configure{@HEAD}{\HCode{<script>window.MathJax = \a:MathJaxConfig</script>\Hnewline}}
\Configure{MathjaxSource}{https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js}
\Configure{@HEAD}{\HCode{ <script type="text/javascript" async="async" id="MathJax-script" src="\a:MathjaxSource"></script> \Hnewline}}
\edef\:RestoreMathjaxCatcodes{\catcode`\noexpand \&=\the\catcode`\&}
@@ -1506,6 +1506,7 @@
+
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht 2020-07-27 21:42:04 UTC (rev 55969)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht 2020-07-27 22:06:49 UTC (rev 55970)
@@ -1,4 +1,4 @@
-% mathjax-latex-4ht.sty (2020-05-31-14:06), generated from tex4ht-mathjax.tex
+% mathjax-latex-4ht.sty (2020-07-27-14:09), generated from tex4ht-mathjax.tex
% Copyright 2018-2019 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2020-05-31-14:06}
+\immediate\write-1{version 2020-07-27-14:09}
\RequirePackage{etoolbox,expl3,environ}
@@ -37,6 +37,8 @@
}
\ExplSyntaxOff
+\NewConfigure{MathJaxConfig}{1}
+
\long\def\AltlMath#1\){\expandafter\alteqtoks{\(#1\)}\)}
\long\def\AltlDisplay#1\]{\alteqtoks{\[#1\]}\]}
\long\def\AltMathOne#1${\alteqtoks{\(#1\)}$}
@@ -168,6 +170,7 @@
+
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty 2020-07-27 21:42:04 UTC (rev 55969)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty 2020-07-27 22:06:49 UTC (rev 55970)
@@ -1,7 +1,7 @@
\ifnum\the\catcode`\%=14\else\expandafter\edef\csname
\string:RestoreCatcodes\endcsname{\catcode`\%\the
\catcode`\%}\catcode`\%14\fi
-% tex4ht.sty (2020-04-15-14:52), generated from tex4ht-sty.tex
+% tex4ht.sty (2020-07-27-14:07), generated from tex4ht-sty.tex
% Copyright 2009-2020 TeX Users Group
% Copyright 1996-2009 Eitan M. Gurari
%
@@ -20,7 +20,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2020-04-15-14:52}
+\immediate\write-1{version 2020-07-27-14:07}
\ifx \Preamble\UnDef \else
@@ -4613,8 +4613,8 @@
\ifHtml \else \let\EndPreamble\empty \fi
\ifHtml \:startdoc
-\let\:shipout\shipout
-\def\shipout{\vfil\break\let\shipout\:shipout \shipout}
+%\let\:shipout\shipout
+%\def\shipout{\vfil\break\let\shipout\:shipout \shipout}
\fi
\ifx \Hinput\:UnDef \else
More information about the tex-live-commits
mailing list.