Closed davidfarmer closed 10 years ago
That is because \mathcal
is defined in terms of \cal
in MathJax, essentially \def\mathcal#1{{\cal #1}}
. So when you \def\cal{\mathcal}
, you create an infinite loop, which MathJax flags as a problem.
This arose as I was processing someone's LaTeX math paper into HTML. I will flag this as an error and remove the definition as part of the processing.
@davidfarmer since the combined configuration files load the noError
extension, you won't see the error. But see http://codepen.io/pkra/pen/bwsJh for what MathJax reports.
FYI, I learned recently from Davide that
TeX: {noUndefined: {disabled: true}}
works with the combined configuration files as well.
Closing this as expected behavior.
If I define \cal to be \mathcal, then \mathcal stops working.
Here is a minimal example demonstrating the problem:
http://aimath.org/~farmer/print/mjerr1.html
Tested in Firefox 28.0 and Safari 6..1.3.