%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass[
  % draft,
  paper=a4,
  version=3.25,
  pagesize=pdftex,
  twoside=false,
  DIV=12,
  headinclude=true,
  footinclude=false,
  toc=listof,
]{scrbook}

\def\ROOT{.}
\input{\ROOT/src/handbook_header.tex}
\input{\ROOT/src/colors.tex}
\input{\ROOT/src/hyperref.tex}

\begin{document}

  \selectlanguage{ngerman} % currently supported: english, ngerman

  \input{\ROOT/frontmatter/titlepage.tex}

  \tableofcontents
  \cleardoublepage

  \input{\ROOT/frontmatter/preambel.tex}

  \cleardoublepage

  \input{\ROOT/mainmatter/manual.tex}

  \setcounter{chapter}{0}
  \input{\ROOT/mainmatter/challenges.tex}

  \cleardoublepage
  \appendix
  \input{\ROOT/backmatter/versionhistory.tex}
  \vhListAllAuthorsLongWithAbbrev

\end{document}