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

Rule of dashes in RestructuredText tables not recognized by pandoc #555

Closed
rbonvall opened this issue Jun 30, 2012 · 0 comments
Closed

Rule of dashes in RestructuredText tables not recognized by pandoc #555

rbonvall opened this issue Jun 30, 2012 · 0 comments
Labels

Comments

@rbonvall
Copy link

RestructuredText tables may have horizontal rules made of dashes instead of equal signs.

Pandoc doesn't recognize these rules, and creates rows full of dashes instead.

This minimal example exposes the bug:

Example 1:

+------------------------+------------+----------+
| Header row, column 1   | Header 2   | Header 3 |
+========================+============+==========+
| body row 1, column 1   | column 2   | column 3 |
+------------------------+------------+----------+
| body row 2             | Cells may span        |
+------------------------+-----------------------+

Example 2:

====================  ==========  ==========
Header row, column 1  Header 2    Header 3
====================  ==========  ==========
body row 1, column 1  column 2    column 3
body row 2            Cells may span columns
====================  ======================

Example 3:

====================  ==========  ==========
Header row, column 1  Header 2    Header 3
--------------------  ----------  ----------
body row 1, column 1  column 2    column 3
body row 2            Cells may span columns
====================  ======================

Compare the PDFs generated by rst2latex and by pandoc.

My pandoc version:

$ pandoc -v
pandoc 1.9.4.2
Compiled with citeproc-hs 0.3.4, texmath 0.6.0.6, highlighting-kate 0.5.1.
@jgm jgm closed this as completed in c4639e5 Sep 8, 2012
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