Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@{} and p{<length>} in latex tabular not parsed correctly #1180

Closed
njbart opened this issue Feb 27, 2014 · 0 comments
Closed

@{} and p{<length>} in latex tabular not parsed correctly #1180

njbart opened this issue Feb 27, 2014 · 0 comments
Labels

Comments

@njbart
Copy link

njbart commented Feb 27, 2014

Example:

\documentclass{article}
\begin{document}

\begin{tabular}{ccc}
foo & bar & baz \\
foo & bar & baz
\end{tabular}

\begin{tabular}{@{}ccc@{}}
foo & bar & baz \\
foo & bar & baz
\end{tabular}

\begin{tabular}{p{20mm}p{20mm}p{20mm}}
foo & bar & baz \\
foo & bar & baz
\end{tabular}

\end{document}

Actual output:

$ pandoc -t markdown tabular.tex 
  ----- ----- -----
   foo   bar   baz
   foo   bar   baz
  ----- ----- -----

<span>@ccc@</span> foo & bar & baz\
foo & bar & baz

<span>p<span>20mm</span>p<span>20mm</span>p<span>20mm</span></span> foo
& bar & baz\
foo & bar & baz

Expected output:

  ----- ----- -----
   foo   bar   baz
   foo   bar   baz
  ----- ----- -----

for all three.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants