Commits

Georg Brandl committed 8a356a7

Closes #1249: Fix duplicate LaTeX page numbering for manual documents.

  • Participants
  • Parent commits 095a533
  • Branches stable

Comments (0)

Files changed (2)

 * #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
 -------------
 

File sphinx/texinputs/sphinxmanual.cls

 %
 \let\py@OldTableofcontents=\tableofcontents
 \renewcommand{\tableofcontents}{%
+  \pagenumbering{roman}%
   \setcounter{page}{1}%
   \pagebreak%
   \pagestyle{plain}%
   \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.