当我第一次在 IE9 中加载我的页面时,不会呈现本地定义的宏(例如,它们以红色显示为 \bepsilon)。当我重新加载页面时,会呈现数学。我不必在 Firefox 中重新加载。这是我的html和配置:
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9">
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=Accessible-full"></script>
<script type="text/javascript" src="mathjax_config.js"></script>
</head>
<body>
<div class="mediaobject">$\displaystyle = \bX \bbeta + \bepsilon $</div>
</body>
</html>
我的配置是这样的:
MathJax.Hub.Config({
displayAlign: "left",
displayIndent:"3em",
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true,
skipTags: ["script","noscript","style","textarea","pre","code"]
},
TeX: {
Macros: {
bDelta: '\\boldsymbol{\\Delta}',
bepsilon: '\\boldsymbol{\\epsilon}',
bzeta: '\\boldsymbol{\\zeta}'
}
}
});
我该怎么做才能让 IE9 在第一次点击时加载?配置是否需要按特定顺序才能工作?