From: Fred Drake Date: Mon, 20 Apr 1998 16:55:14 +0000 (+0000) Subject: Fix problem for the Library Reference where high-numbered sections of X-Git-Tag: v1.5.2a1~879 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=255284b42aa4d70140c0bc899a66b58cfd84031f;p=python Fix problem for the Library Reference where high-numbered sections of high-numbered chapters took too much space for the section number in the table of contents. This makes the section number and title not overlap. --- diff --git a/Doc/texinputs/manual.cls b/Doc/texinputs/manual.cls index d48923e90c..c529e5b95a 100644 --- a/Doc/texinputs/manual.cls +++ b/Doc/texinputs/manual.cls @@ -122,6 +122,11 @@ \@ifundefined{fancyhf}{}{\pagestyle{normal}}% \@doing@page@targetstrue% } +% 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. +% +\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.6em}} +\renewcommand*\l@subsection{\@dottedtocline{2}{4.1em}{3.5em}} % Fix the theindex environment to add an entry to the Table of