Add some extensions, and LoadHooks to show when they load
This commit is contained in:
parent
c9dbc8a708
commit
79d37f3066
|
@ -18,10 +18,21 @@
|
||||||
// Configure MathJax
|
// Configure MathJax
|
||||||
//
|
//
|
||||||
MathJax.Hub.Config({
|
MathJax.Hub.Config({
|
||||||
extensions: ["tex2jax.js"],
|
extensions: ["tex2jax.js","TeX/noUndefined.js"],
|
||||||
jax: ["input/TeX","output/HTML-CSS"],
|
jax: ["input/TeX","output/HTML-CSS"],
|
||||||
tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
|
tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]},
|
||||||
|
TeX: {extensions: ["AMSmath.js","AMSsymbols.js"]}
|
||||||
});
|
});
|
||||||
|
//
|
||||||
|
// Display messages when these files are loaded
|
||||||
|
// (Note the difference between extensions and TeX.extensions,
|
||||||
|
// and the difference between when noUndefind is loaded compared
|
||||||
|
// to when it signals that it is ready)
|
||||||
|
//
|
||||||
|
MathJax.Hub.Register.LoadHook("[MathJax]/extensions/TeX/noUndefined.js",
|
||||||
|
function () {MathJax.Hub.Startup.signal.Post("*** noUndefined Loaded ***")});
|
||||||
|
MathJax.Hub.Register.LoadHook("[MathJax]/extensions/TeX/AMSmath.js",
|
||||||
|
function () {MathJax.Hub.Startup.signal.Post("*** AMSmath Loaded ***")});
|
||||||
|
|
||||||
//
|
//
|
||||||
// Display a message that we are in the configuration code
|
// Display a message that we are in the configuration code
|
||||||
|
|
Loading…
Reference in New Issue
Block a user