% 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,pdftitle={Distributed
  revision control with Mercurial},pdfsubject={Revision
  control},pdfkeywords={Mercurial, Revision control, Distributed
  revision control},pdfauthor={Bryan O'Sullivan}]{hyperref}

\include{99defs}

%\title{Distributed revision control with Mercurial}
\title{Mercurial$B$K$h$kJ,;6%j%S%8%g%s4IM}(B}
\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.}
\date{Copyright \copyright\ 2006, 2007 Bryan O'Sullivan.\\
  $B$3$NJ8=q$O(B Open Publication License $B%P!<%8%g%s(B 1.0 $B$NDj$a$k>r7o(B
  $B$K$N$_=>$C$FG[I[$5$l$k!%%i%$%;%s%9$NFbMF$K$D$$$F$OIUO?(B~\ref{cha:opl}$B$r(B
  $B;2>H$5$l$?$$!%(B\\
  $B$3$N=q@R$O(BMercurial
  \href{http://www.selenic.com/hg/}{rev~\input{hg_id}}
  $B$K$h$C$F4IM}$5$l$k(B
  \href{http://freehg.org/u/honeyplanet/hgbook/}{rev~\input{build_id}}
  $B$+$i@=HG$5$l$?!%(B}

\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}
\include{hgext}

\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: yatex
%%% TeX-master: t
%%% End:
