Update MathJax2 config to MathJax3 config

Used: https://mathjax.github.io/MathJax-demos-web/convert-configuration/convert-configuration.html
This commit is contained in:
Henrik Giesel 2020-11-03 13:05:10 +01:00
parent 52ca4ab854
commit c5cfbfa1ab

View file

@ -1,20 +1,22 @@
window.MathJax = { window.MathJax = {
jax: ["input/TeX", "output/CommonHTML"], tex: {
extensions: ["tex2jax.js"],
TeX: {
extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js", "mhchem.js"]
},
tex2jax: {
displayMath: [["\\[", "\\]"]], displayMath: [["\\[", "\\]"]],
processRefs: false, processRefs: false,
processEnvironments: false, processEnvironments: false,
packages: ['base', 'ams', 'noerrors', 'noundefined', 'mhchem']
}, },
messageStyle: "none", startup: {
skipStartupTypeset: true, typeset: false
showMathMenu: false, },
AuthorInit: function () { options: {
MathJax.Hub.processSectionDelay = 0; renderActions: {
MathJax.Hub.processUpdateTime = 0; addMenu: [],
MathJax.Hub.processUpdateDelay = 0; checkLoading: []
},
ignoreHtmlClass: 'tex2jax_ignore',
processHtmlClass: 'tex2jax_process'
},
loader: {
load: ['[tex]/noerrors', '[tex]/mhchem']
} }
}; };