Skip to content

Commit

Permalink
FIX bibliography handling for LaTeX output
Browse files Browse the repository at this point in the history
Sphinx adds automatically a clearpage command before the bibliography.
If this is the start of a chapter, two blank pages are generated
uselessly.
  • Loading branch information
pdebuyl committed Dec 9, 2016
1 parent 718be37 commit 324d805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
# Additional stuff for the LaTeX preamble.
'preamble': r'''
\makeatletter
\renewenvironment{thebibliography}[1]
\renewenvironment{sphinxthebibliography}[1]
{
\@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
Expand Down

0 comments on commit 324d805

Please sign in to comment.