-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Latex math within \text within math causes parser to fail #1178
Comments
It's a known isssue. See +++ Matthew Brett [Feb 26 14 17:36 ]:
|
Thought it might be but couldn't find it by searching - thanks. |
Moving to jgm/texmath#62. Closing this issue. |
E.g. `\text{if $y$ is greater than $0$}` Text and math can nest indefinitely. Closes #62. Closes jgm/pandoc#1178.
Converting the following latex doc:
causes the parser to give incorrect results to (e.g.) markdown (but also the json format):
I think this is due to the
\text{under $H_0$}
math-within-math, because editing this part of the doc to\text{under H_0}
gives the correct output:The text was updated successfully, but these errors were encountered: