\documentclass[
   paper=a4,
   twoside=false,
   parskip=half,
   listof=entryprefix,
   listof=totoc,
   index=totoc,
   headsepline,
   12pt
]{scrbook}

\usepackage{silence}
\WarningFilter{hyperref}{Token not allowed in a PDF string}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fonts Fonts Fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[ngerman]{babel}
\usepackage{fontspec}
\defaultfontfeatures{Scale=MatchLowercase}
\setmainfont{Arial}[Scale=1.0]

\usepackage[a4paper, left=2.5cm, right=2.5cm, top=2.5cm, bottom=2.0cm]{geometry}
\usepackage[onehalfspacing]{setspace}

\usepackage{scrhack}
\usepackage{pdfpages,graphicx,subcaption,lastpage,xspace}
\graphicspath{ {./pdfs} }
\usepackage{float,xcolor,csquotes,microtype,etoolbox}
\MakeOuterQuote{"}
\usepackage[automark,markcase=ignoreuppercase,autooneside=false]{scrlayer-scrpage}
\automark[section]{chapter}
\usepackage[official]{eurosym}
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,filecolor=black,urlcolor=black]{hyperref}
\usepackage{caption}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fussnoten
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\deffootnote{1.5em}{1em}{\makebox[1.5em][l]{\thefootnotemark}}
\addtolength{\skip\footins}{\baselineskip}
\setlength{\dimen\footins}{10\baselineskip}
\interfootnotelinepenalty=10000  % Verhindert das Fortsetzen von Fussnoten

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Commands
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand*{\chapterheadstartvskip}{\vspace*{.5\baselineskip}}
\newcommand{\HRule}[2]{\noindent\rule[#1]{\linewidth}{#2}}
\newcommand{\vlinespace}[1]{\vspace*{#1\baselineskip}}
\newcommand{\titleemph}[1]{\textbf{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Kopf und Fusszeilen
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{scrtime}
\pagestyle{scrheadings}
\clearpairofpagestyles
\ihead{\leftmark}
\ohead{\ifstr{\rightbotmark}{\leftmark}{}{\rightbotmark}}
\counterwithout{footnote}{chapter}
\ifoot[\workDateTime]{\workDateTime}
\ofoot[\pagemark]{\pagemark}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Variablen
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\workDate}{dd $^{th}$ of mm\xspace}
\newcommand{\workDateTime}{dd $^{th}$ of mm}
\newcommand{\workNameStudent}{<StudentName>\xspace}
\newcommand{\workType}{Report\xspace}
\newcommand{\professorName}{<ProfName>\xspace}
\newcommand{\matrikelNumber}{<MatrikelNumber>\xspace}
\newcommand{\courseOfStudy}{<CourseOfStudy>\xspace}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dokument
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

   \include{titlepage/titlepage}

   \tableofcontents
   \thispagestyle{empty}

   \include{chapters/Laboratory PDFs}

\end{document}