diff options
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht | 7 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty | 8 |
3 files changed, 17 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht index 7c5f46c909d..45ef06c3f48 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht @@ -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 @@ ushort} \: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 @@ window.MathJax = { 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`\&} @@ -1531,5 +1531,6 @@ window.MathJax = { + \endinput diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht index 41606b9accb..ab7fce56176 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht @@ -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\)}$} @@ -560,5 +562,6 @@ + \endinput diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty index 4d368d62584..ccd784dd0d4 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty +++ b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.sty @@ -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 @@ $$\TeXhalign:cr \to:dim{~1}$$}% \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 |