-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the MathJax-phpBB-Integration wiki!
This mod uses its own pre-processor thats faster than the ones
bundled in MathJax since it doesn't scan the whole page for delimiters like $$
.
In fact those pre-processors are disabled by default, but not removed because the combined and minified js file is much more efficient than fetching several minified js files.
So if you want to cut ~10KB worth of javascript:
-
If your're using the CDN, you'll need to serve the config file yourself. If you're using the
TeX-AMS-MML_HTMLorMML
config, go ahead and use this link to grab a copy. -
Change the path inside the
MathJax.Ajax.loadComplete
call if needed (to the full url if you're using the CDN). -
Find and delete:
"[MathJax]/extensions/tex2jax.js", "[MathJax]/extensions/mml2jax.js",
-
Find and delete the whole line:
MathJax.Extension.tex2jax
-
Find and delete the whole line:
MathJax.Extension.mml2jax
-
Go to MathJax General Settings on your Control panel and modify the name of the Configuration File, if needed. If you're using the CDN you'll need to put the full url instead.