view en/00book.tex @ 207:54ca4e00e569

Add an example hook to enforce branch naming.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 25 Apr 2007 11:02:35 -0700
parents 959357d01607
children 4c9b9416cd23
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, 2007 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
  \href{http://hg.serpentine.com/mercurial/book/}{rev~\input{build_id}}
  using \href{http://www.selenic.com/hg/}{rev~\input{hg_id}} of Mercurial.}

\makeindex

\begin{document}

\maketitle

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

\pagenumbering{arabic}

\include{preface}
\include{intro}
\include{tour-basic}
\include{tour-merge}
\include{concepts}
\include{daily}
\include{collab}
\include{filenames}
\include{branch}
\include{undo}
\include{hook}
\include{template}
\include{mq}
\include{mq-collab}

\appendix
\include{cmdref}
\include{mq-ref}
\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: