% 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による分散リビジョン管理}
\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.\\
  この文書は Open Publication License バージョン 1.0 の定める条件
  にのみ従って配布される．ライセンスの内容については付録~\ref{cha:opl}を
  参照されたい．\\
  この書籍はMercurial
  \href{http://www.selenic.com/hg/}{rev~\input{hg_id}}
  によって管理される
  \href{http://freehg.org/u/honeyplanet/hgbook/}{rev~\input{build_id}}
  から製版された．}

\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:
