I started getting [Math Processing Error] in the comments under this answer after WimC posted the comment that begins with "@joriki: Err, actually I started with the pdf". The errors occur roughly half the time when I refresh the page, whether hard or soft, with a hard refresh apparently having a higher probability of toggling the state; the other half, everything looks fine. I cleared my browser cache and checked that the about box says MathJax 2.1 is being used. I'm using Safari Version 5.1.7 (6534.57.2) under Mac OS 10.6.8. I went through all bug reports that mention [Math Processing Error]; the most relevant one seemed to be this one, but none seemed to be identical. The only unusual thing I can find in the $\TeX$ code in the comments is the use of \tfrac
.
Here are screen shots of the erroneous display
and of the correct display
javascript:alert(MathJax.Hub.lastError.message)
in the URL typein and let me know what you get. Also tryjavascript:alert(MathJax.Hub.lastPrepError.message)
, though that might not produce anything. Thanks $\endgroup$.message
, I get "TypeError: 'undefined' is not an object" instead, and when I set the value withjavascript:MathJax.Hub.lastError.message="0"
and then display it again, I do get "0"; so it seems that MathJax.Hub.lastPrepError.message really does have the value "'undefined' is not an object". $\endgroup$MathJax.Hub.lastError.message
-- here it says "'undefined' is not an object (evaluating 'd.prefilterMath')" $\endgroup$'undefined' is not an object
was the error message stored inMathJax.Hub.lastError
! I was foolish not to realize that. Of course, the(evaluating 'd.prefilterMath')
that was part of the message would have helped. I will check into it. In the meantime, are you running any extensions that could affect MathJax? $\endgroup$(evaluating 'd.prefilterMath')
wasn't part of the message in the alert box -- I only got that when I printedMathJax.Hub.lastError.message
in the debugger. By the way, I can no longer reproduce the bug now; I've tried a couple dozen times. $\endgroup$