summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2016-08-03 20:06:16 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2016-08-03 20:06:16 +0000
commit76aaf05017e9d4d6e98a41aa2f570cb446174b15 (patch)
tree1d18c9730a8f072e07651d993bb0b31d79c89beb /docutils/test/functional/input
parent139000d4bc086c4861b851c0092af93f5dfe2683 (diff)
downloaddocutils-76aaf05017e9d4d6e98a41aa2f570cb446174b15.tar.gz
Fixes for the latex2e writer table handling.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7965 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input')
-rw-r--r--docutils/test/functional/input/data/tables_latex.txt34
1 files changed, 25 insertions, 9 deletions
diff --git a/docutils/test/functional/input/data/tables_latex.txt b/docutils/test/functional/input/data/tables_latex.txt
index b684dbf31..2fbfdd1d6 100644
--- a/docutils/test/functional/input/data/tables_latex.txt
+++ b/docutils/test/functional/input/data/tables_latex.txt
@@ -25,12 +25,28 @@ limitation (see https://sourceforge.net/p/docutils/bugs/225/).
A table with multirow header and column-widths set by LaTeX:
.. table::
- :widths: auto
-
- +------------+-------------------+
- | XXX | Variable Summary |
- | +-------------------+
- | | Description |
- +============+===================+
- | multicollumn cell |
- +--------------------------------+
+ :widths: auto
+
+ +------------+-------------------+
+ | XXX | Variable Summary |
+ | +-------------------+
+ | | Description |
+ +============+===================+
+ | multicollumn cell |
+ +--------------------------------+
+
+In a table with column-widths set by LaTeX, each cell has just one line.
+Paragraphs are merged (a warning is given).
+
+.. table::
+ :widths: auto
+
+ +------------+-------------------+
+ | 11 | first paragraph |
+ | | |
+ | | second paragraph |
+ | | |
+ | | third paragraph |
+ +------------+-------------------+
+ | 21 | 22 |
+ +------------+-------------------+