\RequirePackage{fix-cm}
\documentclass[
    fontsize=11pt,
    paper=a4,
    pagesize,
    bibliography=totoc,
    headings=big,
    captions=tableheading,
    chapterprefix=true,% like in standard class "report"
    BCOR=1cm,
    DIV=12,
    headsepline=true,
    footsepline=true,
]{scrbook}

\usepackage{listings}
\usepackage{config}
\usepackage{listing-config}
\usepackage{commands}

\begin{document}
\let\rawref\ref%
%\renewcommand{\ref}[1]{\rawref{#1} (page~\pageref{#1})}

\frontmatter

\input{titlepage.tex}

\tableofcontents

\input{plan}

\newpage
\let\LaTeXStandardClearpage\clearpage
\let\clearpage\relax
\listoffigures%
\listoftables%
\listofalgorithms%
\lstlistoflistings%
\let\clearpage\LaTeXStandardClearpage%

\bibliography{src/bib.bib}

\chaptermark{Abstracts}
\input{abstracts/main}

\end{document}

