You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I have just started using pandoc and found that when producing tables, the vertical bars required in table syntax (among other things) are replaced with \vert during TeX output, resulting in broken .tex files and the inability to render.
This appears to be caused by a previous bugfix mentioned in the 1.10 release notes:
Escape | as \vert in LaTeX math. This avoids a clash with highlighting-kate’s macros, which redefine | as a short verbatim delimiter. Thanks to Björn Peemöller for raising this issue.
Version: pandoc 1.11.1
Installed from cabal on OS X Mountain Lion.
Command line used:
pandoc -s input.txt -o output.pdf
Contents of input.txt:
This is *markdown*-formatted text.
$$
\begin{array}{c|c}
P & \neg P \\
T & F \\
F & T \\
\end{array}
$$
pandoc output:
pandoc: Error producing PDF from TeX source.
! LaTeX Error: Illegal character in array arg.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \begin{array}{c\vert c}
Expected output:
Properly formatted LaTeX array with vertical lines in between columns.
The text was updated successfully, but these errors were encountered:
Description:
I have just started using pandoc and found that when producing tables, the vertical bars required in table syntax (among other things) are replaced with \vert during TeX output, resulting in broken .tex files and the inability to render.
This appears to be caused by a previous bugfix mentioned in the 1.10 release notes:
Version: pandoc 1.11.1
Installed from cabal on OS X Mountain Lion.
Command line used:
Contents of input.txt:
pandoc output:
Expected output:
Properly formatted LaTeX array with vertical lines in between columns.
The text was updated successfully, but these errors were encountered: