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

Conversion of ReST tables to beamer create too many lines #1166

Closed
arthurzenika opened this issue Feb 18, 2014 · 0 comments
Closed

Conversion of ReST tables to beamer create too many lines #1166

arthurzenika opened this issue Feb 18, 2014 · 0 comments

Comments

@arthurzenika
Copy link

According to http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#simple-tables one can add lines to an existing line by adding an empty cell. In the produced beamer that example ends up creating one line for every line.

Example ReST

=====  =====
col 1  col 2
=====  =====
1      Second column of row 1.
2      Second column of row 2.
       Second line of paragraph.
3      - Second column of row 3.

       - Second item in bullet
         list (row 3, column 2).
\      Row 4; column 1 will be empty.
=====  =====

$ pandoc -f rst -t beamer /tmp/test.rst

\begin{frame}

\begin{longtable}[c]{@{}ll@{}}
\hline\noalign{\medskip}
col 1 & col 2
\\\noalign{\medskip}
\hline\noalign{\medskip}
1 & Second column of row 1.
\\\noalign{\medskip}
2 & Second column of row 2.
\\\noalign{\medskip}
& Second line of paragraph.
\\\noalign{\medskip}
3 & - Second column of row 3.
\\\noalign{\medskip}
& - Second item in bullet
\\\noalign{\medskip}
& list (row 3, column 2).
\\\noalign{\medskip}

 & Row 4; column 1 will be empty.
\\\noalign{\medskip}
\hline
\end{longtable}

\end{frame}
@mpickering mpickering added the bug label Dec 8, 2014
@jgm jgm added this to the pandoc 2.0 milestone Mar 2, 2017
@jgm jgm closed this as completed in 4d25bba Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants