%
% Hauptdatei
%

\input{header}

\begin{document}

% Disable pagination, we'll re-enable it after the table of contents
\pagenumbering{gobble}

\input{chapters/title}

% Only apply this geometry after the title page.
% We don't want to have a right/bottom indent on the title page aswell.
\newgeometry{
    a4paper,
    right=50mm,
    bottom=50mm
}

% Selbstständigkeitserklärung
\include{selbstständigkeitserklärung}

% Inhaltsverzeichnis
\include{dexes/tocdex}

\frontmatter % Begin document "header", paginated with roman numerals.
\pagenumbering{Roman} % Capitalized roman numerals plssss

% Abbildungsverzeichnis
\include{dexes/imagedex}

% Tabellenverzeichnis
\include{dexes/tabledex}

% Abkürzungsverzeichnis
\include{dexes/acrodex}

% Glossar
\include{dexes/glossarydex}

\mainmatter % Begin main part of document, paginated with arabic numerals

% Include all the chapters
\include{chapters}

% Include the footer
\input{footer}
\end{document}
