aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/command/1126.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/command/1126.md b/test/command/1126.md
new file mode 100644
index 000000000..014a8ae2d
--- /dev/null
+++ b/test/command/1126.md
@@ -0,0 +1,29 @@
+```
+% pandoc -f html -t latex
+\begin{eqnarray}
+A&=&B,\\
+C&=&D
+\end{eqnarray}
+^D
+\textbackslash{}begin\{eqnarray\}
+A\&=\&B,\textbackslash{}\textbackslash{} C\&=\&D
+\textbackslash{}end\{eqnarray\}
+```
+
+```
+% pandoc -f html+raw_tex -t latex
+<p>See \eqref{myeq}.</p>
+\begin{eqnarray}
+A&=&B,\\
+C&amp;=&amp;D
+\\label{myeq}
+\end{eqnarray}
+^D
+See \eqref{myeq}.
+
+\begin{eqnarray}
+A&=&B,\\
+C&=&D
+\\label{myeq}
+\end{eqnarray}
+```