\documentclass[12pt,a4paper]{book}

% $Id: xmds_doc.tex 1641 2008-01-10 02:55:05Z joehope $

% Copyright (C) 2000-2007
%
% Code contributed by Greg Collecutt, Joseph Hope and the xmds-devel team
%
% This file is part of xmds.
%
% This program is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License
% as published by the Free Software Foundation; either version 2
% of the License, or (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software 
% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.

\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}

\input{xmds_defs}
\input{misc_defs}

\begin{document}

\frontmatter

\include{titlepage}
\include{abstract}
\tableofcontents
\listoffigures
\listoftables

\mainmatter

\part{Tutorial}
\label{part:tutorial}

\include{tutFromScratch}
\include{extraFeatures}
\include{tutTemplateStart}
\include{stochasticSimsAndMPI}

\part{Numerical Modelling Theory}
\label{part:numericalModelling}

\include{intro}
\include{numModellingTheory}

\part{User Manual}
\label{part:userManual}

\include{develAndProgStructure}
\include{functionality}
\include{workedExample}
\include{moreExamples}

\part{Reference Manual}
\label{part:languageReference}

\include{languageReference}
%\include{outlook} %% why do we have this??

\part{Appendix}
\label{part:appendix}

\appendix

\include{xsil}
\include{xsil2graphics}
\include{loadxsil}
\include{gpl}

\part{Bibliography and Index}
\backmatter

\bibliography{xmds_doc}
\printindex

\end{document}
