Commit f24ec253 authored by Simon Marlow's avatar Simon Marlow
Browse files

fixed for the PDF bookmarks and contents

parent 35cb362e
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
\def\theindex{\@@restonecoltrue\if@@twocolumn\@@restonecolfalse\fi \def\theindex{\@@restonecoltrue\if@@twocolumn\@@restonecolfalse\fi
\columnseprule \z@@ \columnseprule \z@@
\columnsep 35pt\twocolumn[\section*{Index} \columnsep 35pt\twocolumn[\section*{Index}
\addcontentsline{toc}{section}{Index} \addcontentsline{toc}{part}{Index}
\input{index-intro}\vskip 20pt] \input{index-intro}\vskip 20pt]
\@@mkboth{INDEX}{INDEX}\thispagestyle{plain}\parindent\z@@ \@@mkboth{INDEX}{INDEX}\thispagestyle{plain}\parindent\z@@
\parskip\z@@ plus .3pt\relax\let\item\@@idxitem \parskip\z@@ plus .3pt\relax\let\item\@@idxitem
...@@ -367,6 +367,7 @@ ...@@ -367,6 +367,7 @@
% ------------------------- Title page ----------------------------------- % ------------------------- Title page -----------------------------------
\pdfbookmark{Title page}{title}
\begin{titlepage} \begin{titlepage}
\setcounter{page}{0} \setcounter{page}{0}
...@@ -406,6 +407,7 @@ that it does not claim to be a definition of the language Haskell 2010. ...@@ -406,6 +407,7 @@ that it does not claim to be a definition of the language Haskell 2010.
\clearpage \clearpage
\clearpage \clearpage
\pdfbookmark{Contents}{contents}
\tableofcontents \tableofcontents
\startnewstuff \startnewstuff
...@@ -482,7 +484,7 @@ that it does not claim to be a definition of the language Haskell 2010. ...@@ -482,7 +484,7 @@ that it does not claim to be a definition of the language Haskell 2010.
\input{index-extra} \input{index-extra}
% Add a contents line for the References -- may be off by one page % Add a contents line for the References -- may be off by one page
\addcontentsline{toc}{section}{References} \addcontentsline{toc}{part}{References}
\bibliographystyle{plain} \bibliographystyle{plain}
\bibliography{haskell} \bibliography{haskell}
% %
......
\markboth{PREFACE}{PREFACE} \markboth{PREFACE}{PREFACE}
\pdfbookmark{Preface}{preface}
\chapter*{Preface} \chapter*{Preface}
\vspace{.2in} \vspace{.2in}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment