% !TeX program = xelatex
% !TeX encoding = utf8
% !TeX root = Fading.tex
% vim: set ts=2 sw=2 noet:

\documentclass[
	twoside, openright, titlepage, numbers = noenddot,
	headinclude, footinclude, cleardoublepage = empty, abstract = on,
	BCOR = 5mm, paper = a4, fontsize = 11pt
]{scrreprt}

\usepackage{tex/docmacros}

\usepackage{hyperref}


\begin{document}
	% stuff before
	\hypersetup{pageanchor = false}
	% \include{tex/titlepage}

	\begin{abstract}
		%% TODO
	\end{abstract}

	\cleardoublepage
	\pagenumbering{roman}

	% actual content
	\hypersetup{pageanchor = true}
	\pagenumbering{arabic}
	\setcounter{page}{1}

	\include{chapters/introduction}
	\include{chapters/theory}
	\include{chapters/implementation}
	\include{chapters/conclusions}

	% TODO: stuff after

\end{document}
