diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-04-28 07:59:40 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-04-28 07:59:40 +0000 |
| commit | 103e241e91dd1c68666fc7d7dece3e8c05b1faa3 (patch) | |
| tree | 16b5245df0081a21d41b858f2628ecc70706b840 /test | |
| parent | 398004d1e5d4029ae4224b3eb9598d9c889ae30f (diff) | |
| download | docutils-103e241e91dd1c68666fc7d7dece3e8c05b1faa3.tar.gz | |
Add test case for bug with rowspanning table cells
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5926 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test')
| -rw-r--r-- | test/functional/input/data/latex.txt | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/test/functional/input/data/latex.txt b/test/functional/input/data/latex.txt index 20d59db1e..72f142b7b 100644 --- a/test/functional/input/data/latex.txt +++ b/test/functional/input/data/latex.txt @@ -188,7 +188,7 @@ Nested Elements Images -====== +------ Image with 20% width: @@ -199,3 +199,50 @@ Image with 100% width: .. image:: ../../../docs/user/rst/images/title.png :width: 100% + + +Rowspanning tables +------------------ + +Several rowspanning cells in a table. + +.. Problem: + + In LaTeX, if there are multirow cells, the "overwritten" cells need to be + defined as empty cells. + + However, visit_entry() is only called for the remaining cells, as HTML + expects only remaining cells. So the LaTeX writer needs bookkeeping + to write out the required number of extra '&'s. + +.. class:: standard + ++-----------+------------+------------------+-----------+ +| cell 11 | cell 12 | cell 13 | cell 41 | ++-----------+------------+------------------+-----------+ +| cell 12 | Cell a | | cell 42 | ++-----------+ | +-----------+ +| cell 13 | | cell b | cell 43 | ++-----------+------------+------------------+-----------+ + +.. class:: standard + ++------------+------------------+-----------+ +| cell 12 | cell 13 | cell 41 | ++------------+------------------+-----------+ +| Cell a | | cell 42 | ++ | +-----------+ +| | cell b | cell 43 | ++------------+------------------+-----------+ + +.. class:: standard + ++-----------+------------+-----------+ +| cell 11 | cell 12 | cell 41 | ++-----------+------------+-----------+ +| cell 12 | Cell a | cell 42 | ++-----------+ +-----------+ +| cell 13 | | cell 43 | ++-----------+------------+-----------+ + + |
