Hi,
I'm trying to use my own config. file in addition to the default mathjax file, as described here:
http://docs.mathjax.org/en/latest/configuration.html#local-config-filesIn the <head> section I used to have a <script type="text/x-mathjax-config" > that contained a few lines of customizations. Now I'm trying to move this to a separate file, say local.js, whose path relative to my current html file is ../js/local.js
so that I now have
<script type="text/javascript"
src="
http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,../js/local.js">
</script>
in the <head> section.
However, typsetting does no longer occur, and I'm guessing this is due to what's mentioned in the documentation:
"Note that you also
have to edit the
loadComplete() call that is at the bottom of
the configuration file to change it from
[MathJax]/config/local/local.js to the complete URL as you give it
in the
config parameter."
Now how exactly should I make that modification? Is the "configuration file" referred to here the one of the CDN server (though I would think it's local.js)? Am I then supposed to download it to my own server and make the change? Doesn't that defeat the purpose of loading it from the mathjax servers directly?
In other words, where am I supposed to copy that piece of code?
MathJax.Ajax.loadComplete("../js/local.js");
I think I'm just confused but any help would be much appreciated. Thanks.