Reputation: 2544
I am creating a website on Google App Engine and have a problem that Mathjax dose not work on Chrome.
It has no problem when testing the website on my local machines, but after I publish to GAE, Mathjax stop working only for Chrome.
I put Mathjax CDN link and configuration at the bottom of body tag, it looks like
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js" type="text/javascript">
MathJax.Hub.Config({
extensions: ["tex2jax.js","TeX/AmsMath.js","TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true,
},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML""></script>
<script src="/static/js/jquery.js"></script>
<script src="/static/js/childsplayexp.js"></script>
</body>
I have tried moving it to different places but nothing has changed. I have no clue now.
Sorry for not informative, but I don't know myself what has happened at all, please feel free to post a guess, it sure is valuable for me.
Upvotes: 2
Views: 2048
Reputation: 5285
There are two problems in your page.
cdn.mathjax.org
, but you can use the equally stable https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.jsUPDATE this has changed in 2014. SSL now works on cdn.mathjax.org and the rackcdn address has been retired.
UPDATE (2017). The copy at cdn.mathjax.org
will be retired. Check mathjax.org/cdn-shutting-down for migration tips.
text/x-mathjax-config
. Again, see the documentation for more detail.Upvotes: 3