-
-
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
[v2.7.6] [TeX input] \text inside \operatorname (sometimes) left in text node #2222
Labels
Milestone
Comments
This seems to be the problem: MathJax/unpacked/extensions/TeX/AMSmath.js Line 233 in d9d2422
does not check if * or - are already wrapped in text. |
Yes, it looks like you have identified the culprit. I'll work on a solution. |
dpvc
added a commit
to dpvc/MathJax
that referenced
this issue
Feb 19, 2020
I have made a PR to handle this, though it is not perfect. |
dpvc
added a commit
that referenced
this issue
Feb 20, 2020
[v2] Don't add \text to operators whose name already include it. (#2222)
dpvc
added a commit
to mathjax/MathJax-src
that referenced
this issue
Feb 20, 2020
dpvc
added a commit
to mathjax/MathJax-test
that referenced
this issue
Feb 22, 2020
In testsuite: LaTeXToMathML/issue2222.html |
dpvc
added a commit
to mathjax/MathJax-src
that referenced
this issue
Mar 30, 2020
Don't add \text to operators whose names already include it. (mathjax/MathJax#2222)
This was referenced Apr 11, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a weirder one.
But, e.g.,$$\operatorname {\text{a}}$$ is fine.
Reproducible with https://cdn.rawgit.com/mathjax/MathJax/2.7.6/test/sample-dynamic-2.html.
The text was updated successfully, but these errors were encountered: