A followup to this:

After adding 'figure_align': 'H' to latex_preamble for strict figure rendering, long tables no longer occasionally continue down off the bottom of a page. Not a cure, maybe, but a workaround.

On Tue, 1 Nov 2016, Warren Block wrote:

Thanks to Peter Burdine's help, I've started adding :class: longtable to tables so they wrap across pages in a PDF when necessary.

However, this appears to have uncovered a bug. On pages where an image precedes the table but the table does not wrap to the next page, the text sometimes runs off the bottom of that page. Example here: http://wonkity.com/~wblock/tmp/sphinx/bug.pdf

Note that earlier text in that manual is rendered fine, but there are some repeats of this bug later in it. (Samples of the whole PDF or source available on request.)

This appears to be a bug with the longtable code, and only happens when that is present.

The source for that table is shown below. The tabularcolumns directive is needed to get the rows in the table to wrap at all, but does not seem to affect the bug. The bug is repeated even if that directive is formatted differently or removed entirely.


.. tabularcolumns:: |>{\RaggedRight}p{\dimexpr 0.25\linewidth-2\tabcolsep}
                   |>{\RaggedRight}p{\dimexpr 0.12\linewidth-2\tabcolsep}
                   |>{\RaggedRight}p{\dimexpr 0.63\linewidth-2\tabcolsep}|

.. _backup_conf_tab:

.. table:: Backup Configuration Settings
  :class: longtable



--
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to