diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-05-06 22:15:51 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-05-06 22:16:43 +0200 |
commit | f20c89e24380007a47f3e28889706a6f584bc6e0 (patch) | |
tree | 055b77e8d9d8e6838c59b71cb09299af7d3c63d0 /test/command/3113.md | |
parent | ddf2524477e2a59b36fd37f7e5957ebb3b37c265 (diff) | |
download | pandoc-f20c89e24380007a47f3e28889706a6f584bc6e0.tar.gz |
LaTeX reader: Better handling of comments inside math environments.
This solves a problem with commented out `\end{eqnarray}` inside
an eqnarray (among other things).
Closes #3113.
Diffstat (limited to 'test/command/3113.md')
-rw-r--r-- | test/command/3113.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/3113.md b/test/command/3113.md new file mode 100644 index 000000000..f44e25709 --- /dev/null +++ b/test/command/3113.md @@ -0,0 +1,13 @@ +``` +% pandoc -f latex -t native +\begin{eqnarray} +A&=&B,\\ +C&=&D,\\ +%\end{eqnarray} +%\begin{eqnarray} +E&=&F +\end{eqnarray} +^D +[Para [Math DisplayMath "\\begin{aligned}\nA&=&B,\\\\\nC&=&D,\\\\\nE&=&F\\end{aligned}"]] +``` + |