diff options
| author | John MacFarlane <[email protected]> | 2025-11-02 15:24:08 +0100 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-11-02 15:37:54 +0100 |
| commit | 1edd5cde725bcb2687827cc0eb07fc924e001ff1 (patch) | |
| tree | fa13c4e6d85d85807b3b386c8bf9995dbfc38b31 /test/command/11266.md | |
| parent | b69e9dbb810573d5f039233f8e84ee3acb2027fe (diff) | |
LaTeX writer: improve handling of math environments in tex math.
Previously the special handling added for #9711 worked only
when the math element did not contain spaces before the
math environment.
Closes #11266.
Diffstat (limited to 'test/command/11266.md')
| -rw-r--r-- | test/command/11266.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command/11266.md b/test/command/11266.md new file mode 100644 index 000000000..e7c5ae73e --- /dev/null +++ b/test/command/11266.md @@ -0,0 +1,19 @@ +``` +% pandoc -t latex +$$ +\begin{eqnarray} +S &\rightarrow& a A \nonumber \\ +A &\rightarrow& d B \ | \ b A \ | \ c A \nonumber \\ +B &\rightarrow& a c \ | \ b C \ | \ c A \nonumber \\ +C &\rightarrow& \epsilon \nonumber +\end{eqnarray} +$$ +^D + +\begin{eqnarray} +S &\rightarrow& a A \nonumber \\ +A &\rightarrow& d B \ | \ b A \ | \ c A \nonumber \\ +B &\rightarrow& a c \ | \ b C \ | \ c A \nonumber \\ +C &\rightarrow& \epsilon \nonumber +\end{eqnarray} +``` |
