-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 parser fails on nested math environments when $$ is used #3164
Comments
This issue should really be in jgm/texmath, which handles texmath doesn't handle well commands that act as "switches", Note that you should be able to do:
|
Unfortunately I don't have much control over the document other than that which can be done programmatically. How come it works fine with |
Closed in favour of jgm/texmath#93 |
OK, I looked into this further and found I couldn't reproduce the problem. You are undoubtedly using an older version of pandoc -- it would have helped to have had the pandoc version in the bug report. I do not get an error with Note that in neither case do I get mathml; that's because texmath doesn't handle |
This MWE compiles fine in latex.
However, pandoc fails when reading it:
If, however, the
$$
delimiters are changed to\begin{displaymath}
, then it works fine.The text was updated successfully, but these errors were encountered: