summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
diff options
context:
space:
mode:
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