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

list-table and csv-table not supported? #25

Open
rc opened this issue Jul 28, 2014 · 3 comments
Open

list-table and csv-table not supported? #25

rc opened this issue Jul 28, 2014 · 3 comments

Comments

@rc
Copy link
Contributor

rc commented Jul 28, 2014

Hi,

I have tried to use both list-table and csv-table without success. The rst2tex phase says nothing, the latex file looks ok, but the tex2pdf phase chokes with

Runaway argument?
{
! Paragraph ended before \text@command was complete.
<to be read again> 
                   \par 
l.199 symbol}
              & \textbf{%
!  ==> Fatal error occurred, no output PDF file produced!

Example table:

.. list-table:: Notation.
   :widths: 20 80
   :header-rows: 1

   * - symbol
     - meaning
   * - :math:`\Omega`
     - volume (sub)domain
   * - :math:`\Gamma`
     - surface (sub)domain

The only difference I spot between the latex source for table versus list- or csv-table is that the table output does not use the page continuation macros:

\hline
\endfirsthead
\hline
\textbf{%

symbol} & \textbf{%

meaning} \\
\hline
\endhead
\multicolumn{2}{c}{\hfill ... continued on next page} \\
\endfoot
\endlastfoot

Can this be fixed or should I use the pain(t)ed tables? Thanks :)

PS:

pygments.__version__: '1.4'
docutils.core.__version__: '0.8.1'
@rc
Copy link
Contributor Author

rc commented Jul 28, 2014

After setting

   :header-rows: 0

it works ok. I can live with that... ;)

@pdebuyl
Copy link
Member

pdebuyl commented Jul 28, 2014

Hi Robert,

This option is not supported currently. Simply not setting it (i.e. removing the line :header-rows: 0) should also work. I'll see if I can add that but you can definitely work with header rows for the preparation of your manuscript.

@rc
Copy link
Contributor Author

rc commented Jul 28, 2014

OK, no problem. Thanks!

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

No branches or pull requests

2 participants