forked from cplusplus/draft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfront.tex
32 lines (25 loc) · 769 Bytes
/
front.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
%!TEX root = std.tex
\input{cover-wd}
% \input{cover-reg}
%%--------------------------------------------------
%% The table of contents
\markboth{\contentsname}{}
%%--------------------------------------------------
%% Make a bit more room for our long page numbers.
\makeatletter
\renewcommand\@pnumwidth{2.5em}
\makeatother
% Disable indexing within the table of contents
\newcommand{\indexoff}[2][generalindex]{}
\let\oindex\index
\let\index\indexoff
%% Include table of contents. Do not list "Contents"
%% within it (per ISO request) but do include a
%% bookmark for it in the PDF.
\phantomsection
\pdfbookmark{\contentsname}{toctarget}
\hypertarget{toctarget}{\tableofcontents*}
% Restore indexing
\let\index\oindex
\setcounter{tocdepth}{5}
\input{preface}