Skip to content

Commit bc64d36

Browse files
committed
Merge pull request #541 from fred-wang/issue484-bis
Resolves issue #484 and #506 (duplicate)
2 parents c5f8c34 + 7fef0a4 commit bc64d36

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

unpacked/extensions/asciimath2jax.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,10 @@ MathJax.Extension.asciimath2jax = {
230230

231231
};
232232

233+
// We register the preprocessors with the following priorities:
234+
// - mml2jax.js: 5
235+
// - jsMath2jax.js: 8
236+
// - asciimath2jax.js, tex2jax.js: 10 (default)
237+
// See issues 18 and 484 and the other *2jax.js files.
233238
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]);
234239
MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js");

unpacked/extensions/jsMath2jax.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,10 @@ MathJax.Extension.jsMath2jax = {
9393

9494
};
9595

96+
// We register the preprocessors with the following priorities:
97+
// - mml2jax.js: 5
98+
// - jsMath2jax.js: 8
99+
// - asciimath2jax.js, tex2jax.js: 10 (default)
100+
// See issues 18 and 484 and the other *2jax.js files.
96101
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.jsMath2jax],8);
97102
MathJax.Ajax.loadComplete("[MathJax]/extensions/jsMath2jax.js");

unpacked/extensions/mml2jax.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,5 +207,10 @@ MathJax.Extension.mml2jax = {
207207

208208
};
209209

210-
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]);
210+
// We register the preprocessors with the following priorities:
211+
// - mml2jax.js: 5
212+
// - jsMath2jax.js: 8
213+
// - asciimath2jax.js, tex2jax.js: 10 (default)
214+
// See issues 18 and 484 and the other *2jax.js files.
215+
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax],5);
211216
MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");

unpacked/extensions/tex2jax.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,5 +300,10 @@ MathJax.Extension.tex2jax = {
300300

301301
};
302302

303+
// We register the preprocessors with the following priorities:
304+
// - mml2jax.js: 5
305+
// - jsMath2jax.js: 8
306+
// - asciimath2jax.js, tex2jax.js: 10 (default)
307+
// See issues 18 and 484 and the other *2jax.js files.
303308
MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);
304309
MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");

0 commit comments

Comments
 (0)