Shorten PDF manual ToC, and fix ToC indents.

The table of contents is over 600 pages long with the default
settings. Now it only lists down to section, and runs 45 pages.

Section numbers were also colliding with names, so this fixes
the margins in the table of contents.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty 2015-02-08 02:53:28 +00:00
parent 70def2f8f7
commit 59dc6777f1

View File

@ -87,8 +87,11 @@
% Indices & bibliography
\usepackage{natbib}
\usepackage[titles]{tocloft}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{2}
\setlength{\cftchapnumwidth}{2.0em}
\setlength{\cftsecnumwidth}{3.1em}
\setlength{\cftsubsecnumwidth}{4.0em}
\makeindex
% Hyperlinks (required, but should be loaded last)