euroscipy / euroscipy_proceedings

Tools used to generate the SciPy conference proceedings
Other
13 stars 51 forks source link

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

Open rc opened 10 years ago

rc commented 10 years ago

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 commented 10 years ago

After setting

   :header-rows: 0

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

pdebuyl commented 10 years ago

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 commented 10 years ago

OK, no problem. Thanks!