-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Problem
Table overflows in margin when assigned longtable class, paradoxically this happens when table does not contain "problematic" contents like lists...
Procedure to reproduce the problem
.. table::
:class: longtable
+-------------+-------------+
| column 1 | column 2 |
+-------------+-------------+
| | |
|Sometimes you|The default |
|are not |templating |
|looking for |language in |
|the commit |Sphinx is |
|that |Jinja. It’s |
|introduced a |Django/Smarty|
|breakage, but|inspired and |
|rather for a |easy to |
|commit that |understand. |
|caused a |The most |
|change |important |
|between some |concept in |
|other "old" |Jinja is |
|state and |template |
|"new" state. |inheritance, |
|For example, |which means |
|you might be |that you can |
|looking for |overwrite |
|the commit |only specific|
|that |blocks within|
|introduced a |a template, |
|particular |customizing |
|fix. Or you |it while also|
|might be |keeping the |
|looking for |changes at a |
|the first |minimum. |
|commit in | |
|which the | |
|source-code | |
|filenames | |
|were finally | |
|all converted| |
|to your | |
|company’s | |
|naming | |
|standard. Or | |
|whatever. | |
+-------------+-------------+
.. table::
:class: longtable
+-------------+-------------+
| column 1 | column 2 |
+-------------+-------------+
| | |
|1. a |The default |
| |templating |
|2. b |language in |
| |Sphinx is |
|Sometimes you|Jinja. It’s |
|are not |Django/Smarty|
|looking for |inspired and |
|the commit |easy to |
|that |understand. |
|introduced a |The most |
|breakage, but|important |
|rather for a |concept in |
|commit that |Jinja is |
|caused a |template |
|change |inheritance, |
|between some |which means |
|other "old" |that you can |
|state and |overwrite |
|"new" state. |only specific|
|For example, |blocks within|
|you might be |a template, |
|looking for |customizing |
|the commit |it while also|
|that |keeping the |
|introduced a |changes at a |
|particular |minimum. |
|fix. Or you | |
|might be | |
|looking for | |
|the first | |
|commit in | |
|which the | |
|source-code | |
|filenames | |
|were finally | |
|all converted| |
|to your | |
|company’s | |
|naming | |
|standard. Or | |
|whatever. | |
+-------------+-------------+
Error logs / results
Expected results
table does not overflow
Environment info
- Python version: 3.5.2
- Sphinx version: 1.4.x, 1.5.x
- TeXLive 2016 for TeX
