a2c4261b32
This now allows raw LaTeX environments, `\ref`, and `\eqref` to be parsed (which is helpful for translation HTML documents using MathJaX). Closes #1126.
29 lines
419 B
Markdown
29 lines
419 B
Markdown
```
|
|
% 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&=&D
|
|
\\label{myeq}
|
|
\end{eqnarray}
|
|
^D
|
|
See \eqref{myeq}.
|
|
|
|
\begin{eqnarray}
|
|
A&=&B,\\
|
|
C&=&D
|
|
\\label{myeq}
|
|
\end{eqnarray}
|
|
```
|