Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Math Processing Error] with \mathchoice #373
The following LaTeX command gives a [Math Processing Error]:
The error is
"too much recursion"
The math processing error occurs in SVG and HTML-CSS output modes, not MathML.
My guess on this is issue is that MML.TeXmathchoice chooses one of its child while at the same time some MML classes (like MML.mo) refers to their parent. These symmetric references causes an infinite loop. Adding "inferred: true;" to MML.TeXmathchoice seems to remove the [Math Processing Error] but then the four children are displayed.
I've prepared a test "\mathchoice\subset\subset\subset\subset" in
that I'll add in my next commit to MathJax-test.
OK, I've made changes to accommodate this. These are probably going to require a new test run, however, as they are in some of the fundamental routines in the mml ElementJax for looking up values of the internal MathML nodes. I'm pretty sure what I did will not hurt anything, but it is pretty complicated stuff and you never know...