IE 9 security settings and displaying math on the page

25 views
Skip to first unread message

Nasser M. Abbasi

unread,
Jan 19, 2013, 6:05:33 AM1/19/13
to MathJax Users
I use MathJax as follows:

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/
latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: {inlineMath: [['$','$'], ['\\(','\
\)']]}});
</script>

The using Chrome and Fireforx (all latest versions) on windows 7 SP1,
the math in the page was rendered fine.

When I tested the page using IE 9.0.8 browser, the math was not
rendered. It stayed as $x$ in the display.

Then I changed the internet options in IE to reduce the security level
from what it was, which is medium high, which is the default since I
never changed it before, and made next level lower, which is medium,
and reloaded my page, now the math was displayed OK.

The question is: Is there anything I can do from the above code so
that it will display OK on IE using the default settings? Why do the
security have to be lowered on IE to display the math?

If I install MathJax on my own site, would this problem go away?

and thanks for MathJax, it is amazing.

--Nasser

Thomas Leathrum

unread,
Jan 21, 2013, 10:07:36 PM1/21/13
to mathja...@googlegroups.com
From the documentation:

"Because MathJax starts its configuration process as soon as it is loaded, the configuration script must come before the script tag that loads MathJax.js itself."

(see http://docs.mathjax.org/en/latest/configuration.html in section on in-line configurations)

I very strongly suspect that this is the problem with your code -- swap the order of your two script tags so that the configuration comes first, and try again.

Reply all
Reply to author
Forward
0 new messages