rename `'postamble' to 'atendofbody'` (ref #2877)

This commit is contained in:
jfbu 2016-11-06 10:11:40 +01:00
parent 94c8128961
commit e78c17605c
4 changed files with 8 additions and 6 deletions

View File

@ -150,7 +150,7 @@ Incompatible changes
* Drop python 2.6 and 3.3 support * Drop python 2.6 and 3.3 support
* Drop epub3 builder's ``epub3_page_progression_direction`` option (use ``epub3_writing_mode``). * Drop epub3 builder's ``epub3_page_progression_direction`` option (use ``epub3_writing_mode``).
* #2877: Rename ``latex_elements['footer']`` to * #2877: Rename ``latex_elements['footer']`` to
``latex_elements['postamble']`` ``latex_elements['atendofbody']``
Features added Features added
-------------- --------------

View File

@ -1740,8 +1740,10 @@ These options influence LaTeX output. See further :doc:`latex`.
"Bjornstrup". You can also set this to ``''`` to disable fncychap. "Bjornstrup". You can also set this to ``''`` to disable fncychap.
``'preamble'`` ``'preamble'``
Additional preamble content, default empty. See :doc:`latex`. Additional preamble content, default empty. See :doc:`latex`.
``'postamble'`` ``'atendofbody'``
Additional postamble content (before the indices), default empty. Additional document content (right before the indices), default empty.
.. versionadded:: 1.5
``'figure_align'`` ``'figure_align'``
Latex figure float alignment, default 'htbp' (here, top, bottom, page). Latex figure float alignment, default 'htbp' (here, top, bottom, page).
Whenever an image doesn't fit into the current page, it will be Whenever an image doesn't fit into the current page, it will be
@ -1754,7 +1756,7 @@ These options influence LaTeX output. See further :doc:`latex`.
Additional footer content (before the indices), default empty. Additional footer content (before the indices), default empty.
.. deprecated:: 1.5 .. deprecated:: 1.5
User ``'postamble'`` key instead. User ``'atendofbody'`` key instead.
* Keys that don't need be overridden unless in special cases are: * Keys that don't need be overridden unless in special cases are:

View File

@ -45,7 +45,7 @@
\renewcommand{\releasename}{<%= releasename %>} \renewcommand{\releasename}{<%= releasename %>}
<%= makeindex %> <%= makeindex %>
<%= body %> <%= body %>
<%= postamble %> <%= atendofbody %>
<%= indices %> <%= indices %>
\renewcommand{\indexname}{<%= indexname %>} \renewcommand{\indexname}{<%= indexname %>}
<%= printindex %> <%= printindex %>

View File

@ -89,7 +89,7 @@ DEFAULT_SETTINGS = {
'shorthandoff': '', 'shorthandoff': '',
'maketitle': '\\maketitle', 'maketitle': '\\maketitle',
'tableofcontents': '\\sphinxtableofcontents', 'tableofcontents': '\\sphinxtableofcontents',
'postamble': '', 'atendofbody': '',
'printindex': '\\printindex', 'printindex': '\\printindex',
'transition': '\n\n\\bigskip\\hrule{}\\bigskip\n\n', 'transition': '\n\n\\bigskip\\hrule{}\\bigskip\n\n',
'figure_align': 'htbp', 'figure_align': 'htbp',