You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like if you have \text{something_with_underscores} in a math block, this works in MathJax and Jupyter, but with fail in MyST. This is due to the differences between LaTeX/KaTeX/MathJax:
Apparently this is actually incorrect LaTeX, but has been introduced as acceptable by MathJax. I think that MyST should parse this (via regexp) and patch it (and or react to the error, and fix it at that stage). This would support, for example, numpy-tutorials to have a smoother onboarding experience.
cc @melissawm@fperez (Note also that the numpy-tutorials content currently doesn't render in VSCode becase of this!)
The text was updated successfully, but these errors were encountered:
It looks like if you have
\text{something_with_underscores}
in a math block, this works in MathJax and Jupyter, but with fail in MyST. This is due to the differences between LaTeX/KaTeX/MathJax:Apparently this is actually incorrect LaTeX, but has been introduced as acceptable by MathJax. I think that MyST should parse this (via regexp) and patch it (and or react to the error, and fix it at that stage). This would support, for example,
numpy-tutorials
to have a smoother onboarding experience.cc @melissawm @fperez (Note also that the
numpy-tutorials
content currently doesn't render in VSCode becase of this!)The text was updated successfully, but these errors were encountered: