mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove frame around LaTeX longtable's "Continued on next page" footer
refs: PR #3497
This commit is contained in:
parent
33bf5410f6
commit
3743199576
1
CHANGES
1
CHANGES
@ -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
|
||||
----------------
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user