Fix handling of Verbatim within tables.

This commit is contained in:
Georg Brandl
2008-05-04 07:43:09 +00:00
parent c00189b04a
commit f404b36a0e
3 changed files with 48 additions and 11 deletions

View File

@@ -78,3 +78,12 @@ exists:
By default, Sphinx uses a table layout with ``L`` for every column.
.. versionadded:: 0.2.1
.. 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 :dir:`tabularcolumns` directive to get finer control
over such tables.