view en/00book.tex @ 89:2914e2373139

Add contents entry for the index.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 12 Oct 2006 12:20:35 -0700
parents b7c69a68b0cc
children 47ea206351d5
line wrap: on
line source

% The use of oneside here is a temporary hack; \marginpar entries
% don't show up on odd pages of PDF output without it.  Sigh.
\documentclass[oneside]{book}
\usepackage{enumerate}
\usepackage{fullpage}
\usepackage{makeidx}
\usepackage{ifpdf}
\usepackage{graphicx}
\usepackage{pslatex}
\usepackage{fancyvrb}
% leave hyperref until last
\usepackage[colorlinks=true,bookmarks=true]{hyperref}

\include{99defs}

\title{Distributed revision control with Mercurial}
\author{Bryan O'Sullivan}
\date{Copyright \copyright\ 2006 Bryan O'Sullivan.\\
  This material may be distributed only subject to the terms and
  conditions set forth in version 1.0 of the Open Publication License.
  Please refer to Appendix~\ref{cha:opl} for the license text.\\
  This book was prepared from revision \input{build_id}.}

\makeindex

\begin{document}

\maketitle

\addcontentsline{toc}{chapter}{Contents}
\pagenumbering{roman}
\tableofcontents
\listoffigures
%\listoftables

\pagenumbering{arabic}

\include{preface}
\include{intro}
%\include{concepts}
\include{tour}
\include{daily}
\include{hook}
\include{template}
\include{mq}

\appendix
\include{srcinstall}
\include{license}
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{alpha}
\bibliography{99book}

\addcontentsline{toc}{chapter}{Index}
\printindex

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: