hgbook

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

Add an example hook to enforce branch naming.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed Apr 25 11:02:35 2007 -0700 (2007-04-25)
parents b60e2de6dbc3 08d64601d4bd
children 4c9b9416cd23
line source
1 % The use of oneside here is a temporary hack; \marginpar entries
2 % don't show up on odd pages of PDF output without it. Sigh.
3 \documentclass[oneside]{book}
4 \usepackage{enumerate}
5 \usepackage{fullpage}
6 \usepackage{makeidx}
7 \usepackage{ifpdf}
8 \usepackage{graphicx}
9 \usepackage{pslatex}
10 \usepackage{fancyvrb}
11 % leave hyperref until last
12 \usepackage[colorlinks=true,bookmarks=true]{hyperref}
14 \include{99defs}
16 \title{Distributed revision control with Mercurial} \author{Bryan
17 O'Sullivan}
18 \date{Copyright \copyright\ 2006, 2007 Bryan O'Sullivan.\\
19 This material may be distributed only subject to the terms and
20 conditions set forth in version 1.0 of the Open Publication License.
21 Please refer to Appendix~\ref{cha:opl} for the license text.\\
22 This book was prepared from
23 \href{http://hg.serpentine.com/mercurial/book/}{rev~\input{build_id}}
24 using \href{http://www.selenic.com/hg/}{rev~\input{hg_id}} of Mercurial.}
26 \makeindex
28 \begin{document}
30 \maketitle
32 \addcontentsline{toc}{chapter}{Contents}
33 \pagenumbering{roman}
34 \tableofcontents
35 \listoffigures
36 %\listoftables
38 \pagenumbering{arabic}
40 \include{preface}
41 \include{intro}
42 \include{tour-basic}
43 \include{tour-merge}
44 \include{concepts}
45 \include{daily}
46 \include{collab}
47 \include{filenames}
48 \include{branch}
49 \include{undo}
50 \include{hook}
51 \include{template}
52 \include{mq}
53 \include{mq-collab}
55 \appendix
56 \include{cmdref}
57 \include{mq-ref}
58 \include{srcinstall}
59 \include{license}
60 \addcontentsline{toc}{chapter}{Bibliography}
61 \bibliographystyle{alpha}
62 \bibliography{99book}
64 \addcontentsline{toc}{chapter}{Index}
65 \printindex
67 \end{document}
69 %%% Local Variables:
70 %%% mode: latex
71 %%% TeX-master: t
72 %%% End: