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.4ht35
1 files changed, 17 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
index eb5d8560ccb..987f3cfc5a1 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 (2019-12-16-15:21), generated from tex4ht-html4.tex
+% html4-math.4ht (2020-03-06-15:07), 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-12-16-15:21}
+\immediate\write-1{version 2020-03-06-15:07}
\exit:ifnot{accents,%
amsfonts,%
@@ -317,26 +317,25 @@ ushort}
\:CheckOption{mathjax}\if:Option
\input{mathjax-latex-4ht.4ht}
\Configure{@HEAD}{\HCode{
-<script type="text/x-mathjax-config">
-MathJax.Hub.Config({
- 'fast-preview': {disabled: true},
- TeX: {
- extensions: ["color.js","AMSmath.js"],
- equationNumbers: { autoNumber: "AMS" }
- },
- extensions: ["tex2jax.js"],
- tex2jax: {
- \unexpanded{
- inlineMath: [ ["\\\(","\\\)"] ],
+<script>
+window.MathJax = {
+ tex: {
+ tags: "ams",
+ \detokenize{%
+ inlineMath: [ ["\\\(","\\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],}
processEscapes: true,
- processEnvironments: true
- }
-});
+ processEnvironments: true,
+ packages: ['base', 'color', 'ams']
+ },
+ loader: {
+ load: ['[tex]/color', '[tex]/ams']
+ }
+};
</script>\Hnewline
}}
-\Configure{MathjaxSource}{https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML}
-\Configure{@HEAD}{\HCode{ <script type="text/javascript" src="\a:MathjaxSource"></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}}
\def\:HandleMathjaxCatcodes{\edef\:RestoreMathjaxCatcodes{\catcode`\noexpand \&=\the\catcode`\&}\catcode`\&=11}
\Configure{$}{\:HandleMathjaxCatcodes}{\:RestoreMathjaxCatcodes}{\expandafter\AltMathOne}
% for some reason, it is necessary to specify the catcode change directly in the configuration