summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-27 22:06:49 +0000
committerKarl Berry <karl@freefriends.org>2020-07-27 22:06:49 +0000
commit2ca222e929d60b90c293c332452261356eb2dae3 (patch)
treef04f0d2d74a6152a644ea9d43dd9feae7b6d5b59 /Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
parent0f04676c55d747c1a461a72be712c9ed3dd426ec (diff)
do not patch \shipout, tex4ht r781; MathJaxConfig, tex4ht r780
git-svn-id: svn://tug.org/texlive/trunk@55970 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht15
1 files changed, 8 insertions, 7 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