Decrease the priority of the mml2jax preprocessors, so that the ASCIIMath/TeX/jsMath annotations inside MathML are not parsed. Fix issue #484.
This commit is contained in:
parent
f1be0de1d6
commit
ef596f650d
|
@ -230,5 +230,10 @@ MathJax.Extension.asciimath2jax = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// We register the preprocessors with the following priorities:
|
||||||
|
// - mml2jax.js: 5
|
||||||
|
// - jsMath2jax.js: 8
|
||||||
|
// - asciimath2jax.js, tex2jax.js: 10 (default)
|
||||||
|
// See issues 18 and 484 and the other *2jax.js files.
|
||||||
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]);
|
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]);
|
||||||
MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js");
|
MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js");
|
||||||
|
|
|
@ -93,5 +93,10 @@ MathJax.Extension.jsMath2jax = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// We register the preprocessors with the following priorities:
|
||||||
|
// - mml2jax.js: 5
|
||||||
|
// - jsMath2jax.js: 8
|
||||||
|
// - asciimath2jax.js, tex2jax.js: 10 (default)
|
||||||
|
// See issues 18 and 484 and the other *2jax.js files.
|
||||||
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.jsMath2jax],8);
|
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.jsMath2jax],8);
|
||||||
MathJax.Ajax.loadComplete("[MathJax]/extensions/jsMath2jax.js");
|
MathJax.Ajax.loadComplete("[MathJax]/extensions/jsMath2jax.js");
|
||||||
|
|
|
@ -207,5 +207,10 @@ MathJax.Extension.mml2jax = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]);
|
// We register the preprocessors with the following priorities:
|
||||||
|
// - mml2jax.js: 5
|
||||||
|
// - jsMath2jax.js: 8
|
||||||
|
// - asciimath2jax.js, tex2jax.js: 10 (default)
|
||||||
|
// See issues 18 and 484 and the other *2jax.js files.
|
||||||
|
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax,5]);
|
||||||
MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");
|
MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");
|
||||||
|
|
|
@ -300,5 +300,10 @@ MathJax.Extension.tex2jax = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// We register the preprocessors with the following priorities:
|
||||||
|
// - mml2jax.js: 5
|
||||||
|
// - jsMath2jax.js: 8
|
||||||
|
// - asciimath2jax.js, tex2jax.js: 10 (default)
|
||||||
|
// See issues 18 and 484 and the other *2jax.js files.
|
||||||
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);
|
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);
|
||||||
MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");
|
MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user