Remove frame around LaTeX longtable's "Continued on next page" footer

refs: PR #3497
This commit is contained in:
jfbu 2017-03-03 10:04:17 +01:00
parent 33bf5410f6
commit 3743199576
3 changed files with 4 additions and 4 deletions

View File

@ -25,6 +25,7 @@ Incompatible changes
* :confval:`latex_keep_old_macro_names` default value has been changed from
``True`` to ``False``. This means that some LaTeX macros for styling are
by default defined only with ``\sphinx..`` prefixed names. (refs: #3429)
* Footer "Continued on next page" of LaTeX longtable's now not framed (refs: #3497)
Features removed
----------------

View File

@ -21,8 +21,7 @@
\endhead
\hline
\multicolumn{<%= table.colcount %>}{|r|}{\makebox[0pt][r]{\sphinxtablecontinued{<%= _('Continued on next page') %>}}}\\
\hline
\multicolumn{<%= table.colcount %>}{r}{\makebox[0pt][r]{\sphinxtablecontinued{<%= _('Continued on next page') %>}}}\\
\endfoot
\endlastfoot

View File

@ -924,9 +924,9 @@ def test_latex_table_longtable(app, status, warning):
'\\sphinxstylethead{\\relax \nheader1\n\\unskip}\\relax &'
'\\sphinxstylethead{\\relax \nheader2\n\\unskip}\\relax \\\\\n'
'\\hline\n\\endhead' in table)
assert ('\\hline\n\\multicolumn{2}{|r|}'
assert ('\\hline\n\\multicolumn{2}{r}'
'{\\makebox[0pt][r]{\\sphinxtablecontinued{Continued on next page}}}\\\\\n'
'\\hline\n\\endfoot\n\n\\endlastfoot' in table)
'\\endfoot\n\n\\endlastfoot' in table)
assert ('\ncell1-1\n&\ncell1-2\n\\\\' in table)
assert ('\\hline\ncell2-1\n&\ncell2-2\n\\\\' in table)
assert ('\\hline\ncell3-1\n&\ncell3-2\n\\\\' in table)