]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Move the setting for secnumdepth to the document classes; make the numbering
authorFred Drake <fdrake@acm.org>
Tue, 29 Jun 1999 18:15:59 +0000 (18:15 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 29 Jun 1999 18:15:59 +0000 (18:15 +0000)
for the manual class go one deeper than it previously did (\subsection
entries will now be numbered); no change for howto documents.

This makes it easier to refer precisely to smaller sections using \ref.

Doc/texinputs/howto.cls
Doc/texinputs/manual.cls
Doc/texinputs/python.sty

index ad376c6a5bcf300af8d792c51c91f14dba3d11d0..127edc4a2d90db7047c22dee7fc47266f851c5e8 100644 (file)
@@ -12,6 +12,7 @@
 %
 \LoadClass[twoside]{article}
 
+\setcounter{secnumdepth}{1}
 
 % Optional packages:
 %
index 21e74c9b1949502e8f119aec8a1cfadc579fc76a..45939c9ca7fc19aea983bb12ae690911e6dd885c 100644 (file)
@@ -13,6 +13,7 @@
 %
 \LoadClass[\py@paper,\py@ptsize,twoside,openright]{report}
 
+\setcounter{secnumdepth}{2}
 
 % Optional packages:
 %
index 3c932cf74507c28b767b3942d4a5433634393548..3c67818c3d579d8eaf5ebd1e270f01692ba2c6f7 100644 (file)
 
 \pagestyle{empty}              % start this way; change for
 \pagenumbering{roman}          % ToC & chapters
-\setcounter{secnumdepth}{1}
 
 % Use this to set the font family for headers and other decor:
 \newcommand{\py@HeaderFamily}{\sffamily}