mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1249: Fix duplicate LaTeX page numbering for manual documents.
This commit is contained in:
parent
a72406d434
commit
5d23ef5a8c
2
CHANGES
2
CHANGES
@ -91,6 +91,8 @@ Bugs fixed
|
||||
* #1308: Strip HTML tags from the content of "raw" nodes before feeding it
|
||||
to the search indexer.
|
||||
|
||||
* #1249: Fix duplicate LaTeX page numbering for manual documents.
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
|
@ -97,6 +97,7 @@
|
||||
%
|
||||
\let\py@OldTableofcontents=\tableofcontents
|
||||
\renewcommand{\tableofcontents}{%
|
||||
\pagenumbering{roman}%
|
||||
\setcounter{page}{1}%
|
||||
\pagebreak%
|
||||
\pagestyle{plain}%
|
||||
@ -114,7 +115,7 @@
|
||||
\pagenumbering{arabic}%
|
||||
\@ifundefined{fancyhf}{}{\pagestyle{normal}}%
|
||||
}
|
||||
\pagenumbering{roman}
|
||||
\pagenumbering{alph}
|
||||
|
||||
% This is needed to get the width of the section # area wide enough in the
|
||||
% library reference. Doing it here keeps it the same for all the manuals.
|
||||
|
Loading…
Reference in New Issue
Block a user