How can we use the path of a local configuration file on our hard drive while using CDN? I'm using the instructions from this
MathJax document section to try including test.js configuration file from my computer (Windows 8.1) but the configuration used in the test.js does not work. I've the following script tag in my html file:
<script type="text/javascript"
</script>
I tried the following format for local path also but it doesn't work either: file:///C:/MathJax/Examples/test.js
Content of test.js file:
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true
}
});
If I include the above MathJax.Hub.Config(....) content inside my htm file (using another script tag - of course) the math expressions inside $...$ will parse successfully. But if I used the local file test.js instead, MathJax ignores $...$ expressions. It seems local configuration file needs to have URL of a local web server. I thought file:///C:/MathJax/Examples/test.js would be
standard URL for a local file Thanks..Saf