Discussion:
[Docutils-users] trying to use longtable for making pdf
JENNIFER ITO
2015-10-20 15:33:39 UTC
Permalink
Hi! I've made a table that is over a page long and when I try to convert
the reST document to pdf, LaTex doesn't format it right so the table
overflows a single page but does not flow onto the next page. I did a
little digging and found out about the longtable tag is used in the tex
file, but I'm not sure how to use it in reST or if it's even supported.
Any help would be greatly appreciated. Thanks!
engelbert gruber
2015-10-20 16:18:19 UTC
Permalink
longtable is standard in rst2latex
and worked on a quick test here
Post by JENNIFER ITO
Hi! I've made a table that is over a page long and when I try to convert
the reST document to pdf, LaTex doesn't format it right so the table
overflows a single page but does not flow onto the next page. I did a
little digging and found out about the longtable tag is used in the tex
file, but I'm not sure how to use it in reST or if it's even supported. Any
help would be greatly appreciated. Thanks!
------------------------------------------------------------------------------
_______________________________________________
Docutils-users mailing list
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
JENNIFER ITO
2015-10-20 16:34:35 UTC
Permalink
Thank you. So if it works with rst2latex, it should work when using
readthedocs to generate a pdf, yes?
Sorry, I'm also confused about the syntax in the reST document. Right now
I have this:

.. tabularcolumns:: |p{2.1cm}|p{5cm}|p{7.5cm}|

.. table:: table name

+----------+
| table |


I'm not sure what I need to change to use longtable. Thanks!


On Tue, Oct 20, 2015 at 9:18 AM, engelbert gruber <
Post by engelbert gruber
longtable is standard in rst2latex
and worked on a quick test here
Post by JENNIFER ITO
Hi! I've made a table that is over a page long and when I try to convert
the reST document to pdf, LaTex doesn't format it right so the table
overflows a single page but does not flow onto the next page. I did a
little digging and found out about the longtable tag is used in the tex
file, but I'm not sure how to use it in reST or if it's even supported.
Any
Post by JENNIFER ITO
help would be greatly appreciated. Thanks!
------------------------------------------------------------------------------
Post by JENNIFER ITO
_______________________________________________
Docutils-users mailing list
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
engelbert gruber
2015-10-21 11:21:51 UTC
Permalink
Sorry
I do not even use this complexity
It worked

What i cant tell from here (at the coffee) if read the docs uses rst2latex
, if not , Plesse tell
Post by JENNIFER ITO
Thank you. So if it works with rst2latex, it should work when using
readthedocs to generate a pdf, yes?
Post by JENNIFER ITO
Sorry, I'm also confused about the syntax in the reST document. Right
.. tabularcolumns:: |p{2.1cm}|p{5cm}|p{7.5cm}|
.. table:: table name
+----------+
| table |
I'm not sure what I need to change to use longtable. Thanks!
On Tue, Oct 20, 2015 at 9:18 AM, engelbert gruber <
Post by engelbert gruber
longtable is standard in rst2latex
and worked on a quick test here
Post by JENNIFER ITO
Hi! I've made a table that is over a page long and when I try to convert
the reST document to pdf, LaTex doesn't format it right so the table
overflows a single page but does not flow onto the next page. I did a
little digging and found out about the longtable tag is used in the tex
file, but I'm not sure how to use it in reST or if it's even supported. Any
help would be greatly appreciated. Thanks!
------------------------------------------------------------------------------
Post by JENNIFER ITO
Post by engelbert gruber
Post by JENNIFER ITO
_______________________________________________
Docutils-users mailing list
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
Loading...