\documentclass[paper=a4,twoside=false,fontsize=11pt,numbers=noenddot,version=first,bibliography=totoc,headsepline]{scrbook}

% Get the necessary packages for the document.
\input{Packages}
% Get the new commands we defined for this document.
\input{Macros}

\pagestyle{scrheadings}
\clearscrheadfoot

\ifoot[\hrule\sffamily Kieker \version{} User Guide]{\hrule\sffamily Kieker \version{} User Guide}
\ofoot[\hrule\sffamily\pagemark]{\hrule\sffamily\pagemark}

% Set the title and everything.
\titlehead{
  \begin{center}
    \includegraphics[height=25mm]{./images/20120511-kieker-logo-1-6}\\
\href{http://kieker-monitoring.net}{\sffamily\Large http://kieker-monitoring.net}
  \end{center}
}

\title{%
\Huge\Kieker{} \version{} User Guide%
\footnote{\sffamily \textit{For guidelines on how to cite Kieker and this document, please see~Section~\ref{sec:ch1:citingKieker}.}}
}

\author{\sffamily Kieker Project%
% , and contributors
}
\date{\sffamily\today}
% \date{\sffamily May 19, 2011}
\publishers{\normalsize\sffamily

\begin{center}
\begin{tabular}{cc}
Kiel University & University of Stuttgart\\
Department of Computer Science & Institute of Software Technology\\
Software Engineering Group & Reliable Software Systems Group \\
Christian-Albrechts-Platz 4 & Universitätsstra\ss{}e 38\\
24118 Kiel, Germany & 70569 Stuttgart, Germany
\end{tabular}
\end{center}


%\flushleft
% \includegraphics[height=2.5cm]{./images/caulogo}\\[0.5ex]

}

\hypersetup
{%
pdftitle = {\Kieker{} \version{} User Guide},
pdfauthor = {Nils Ehmke, Andr\'e van Hoorn, and Reiner Jung}
% colorlinks = {true}
}

% Here we go.
\begin{document}
  % We want a table of contents separated from the rest of the text.
  \maketitle
  \setcounter{tocdepth}{1} % not deeper than section level
  {\sffamily\tableofcontents}

  % Insert the other parts of the document.
  \input{ch1-introduction.inc}
  \input{ch2-quickstart-example.inc}
  \input{ch3-kieker-monitoring-component.inc.tex}
  \input{ch4-kieker-analysis-component.inc.tex}
  \input{ch5-trace-analysis.inc.tex}

  \input{Appendix}
  % suppress appendix chapters in toc:
  \addtocontents{toc}{\protect\setcounter{tocdepth}{0}}

\bibliographystyle{abbrvnatAvanhoorn} % alpha
\bibliography{bibliography}
\end{document}

