mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-12 12:27:21 +00:00
1edd5cde72
Previously the special handling added for #9711 worked only when the math element did not contain spaces before the math environment. Closes #11266.
526 B
526 B
% 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}