-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MJ4.0.0-beta.4: \rm in subscript yields Math input error #3184
Comments
Actually, both v3 and v4 are incorrect for this, as This is in contrast to commands like I was surprised to see that v3 didn't give an error for The error in v4 is due to new code that tries to attach to the internal MathML nodes the LaTeX that produced that node, and it is crashing on this construction. I know where it is happening, but haven't tried to resolve the issue yet. In any case, you should be using either |
Thank you for explaining! |
Fix handling of _ and ^ followed by command that doesn't push content (mathjax/MathJax#3184)
Issue Summary
\rm in the subscript yields
Math input error
in beta.4, but not beta.3 and earlierSteps to Reproduce:
Observed:
\(a_\rm{b}\)
yields `Math input errorExpected: No such error, like in 4.0.0-beta.3
https://codepen.io/alexedgcomb/pen/QWoYdOR
Technical details:
I am not using a MathJax configuration and loading MathJax via
Supporting information:
Interestingly, the following typeset as expected:
\(\rm{b}\)
: So, not just a bad \rm\(a_\textrm{b}\)
: So, not just a bad subscript followed by commandRepro steps:
Observed:
The text was updated successfully, but these errors were encountered: