#565: In the LaTeX builder, not only literal blocks require different table handling, but also quite a few other list-like block elements.

This commit is contained in:
Georg Brandl
2011-01-03 20:48:11 +01:00
parent a4036ae6ad
commit 6964bdffb9
3 changed files with 35 additions and 11 deletions

View File

@@ -124,9 +124,10 @@ following directive exists:
.. warning::
Tables that contain literal blocks cannot be set with ``tabulary``. They are
therefore set with the standard LaTeX ``tabular`` environment. Also, the
verbatim environment used for literal blocks only works in ``p{width}``
columns, which means that by default, Sphinx generates such column specs for
such tables. Use the :rst:dir:`tabularcolumns` directive to get finer control
over such tables.
Tables that contain block-level elements such as object descriptions, literal
blocks, blockquotes or any kind of lists cannot be set with ``tabulary``.
They are therefore set with the standard LaTeX ``tabular`` environment.
Also, the verbatim environment used for literal blocks only works in
``p{width}`` columns, which means that by default, Sphinx generates such
column specs for such tables. Use the :rst:dir:`tabularcolumns` directive to
get finer control over such tables.