Hi,
To reduce the amount of script within my header I want to shift the configuration options into a local config file. The absolute URL to this local file will change depending on where it is hosted within our content management system so I need the config file to load a with a relative path. Therefore I want to include something like this:
<script type="text/javascript" src="../js/mathjax-config.js"></script>
I think my configuration code is sound as it works when written in the in-line format (though changed to open with MathJax.Hub.Config( ... ) )
The abstracted configuration file looks like this:
....but my working example doesn't reflect this e.g. I want to use single dollar signs for inline mathematics:
Can anyone advise on what I've done wrong here as I've tried to work it out for a couple of hours now with no success.
Many thanks,
Stuart Anderson