Skip to content
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-beta.4: \_ in math mode yields error, not underscore character. Is that expected? #3211

Open
AlexEdgcomb opened this issue Apr 1, 2024 · 2 comments

Comments

@AlexEdgcomb
Copy link

Issue Summary

\( \_ \) yields Math input error in MJ4-beta.4, but not with MJ4-alpha.1 nor with MJ2.

Steps to Reproduce:

  1. Go to https://codepen.io/alexedgcomb/pen/wvZPpQQ

Observed: Math input error
image

Expected: An underscore character, like in MJ4-alpha.1 and MJ2:
image

Technical details:

  • MathJax Version: 4.0.0-beta.4
  • Client OS: MacOS 13.4
  • Browser: Firefox 124.0.1

I am NOT using a MathJax configuration and loading MathJax via:

<script src="https://cdn.jsdelivr.net/npm/mathjax@4.0.0-beta.4/tex-mml-svg.js"></script>

Supporting information:

Same LaTeX in:

I suspect the behavior is expected, but I wanted to verify, in case of accidental regression.

Thank you!

@dpvc
Copy link
Member

dpvc commented Apr 1, 2024

This is a duplicate of #3120, which was caused by the new code that adds the LaTeX that produced each MathML element in an attribute on that element. A fix will be in beta.5, which we are finishing up.

@AlexEdgcomb
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants