\documentclass[10pt]{scrreprt}
\usepackage[twoside
            ,papersize={148mm, 210mm}
            ,layoutsize={148mm, 210mm}
            ,top=1.5cm
            ,bottom=2cm
            ,footskip=1cm
            ,textwidth=12cm
            ,verbose
            ]{geometry}

\input{preamble.tex}

% we need this dummy counter to make a label at the spieleabendplakat
\newcounter{dummy}

\newcounter{linkcounter}
\newcommand\linklist{}
\makeatletter
\def\@breaklinklistat{26}
\newcommand{\link}[1]{%
    \edef\tmptoken{\detokenize{#1}}%
    \@ifundefined{nopanic@link@\tmptoken}{%
        \edef\@linknumber{\arabic{linkcounter}}%
        \protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\@linknumber}}}%
        \expandafter\global\expandafter\edef\csname nopanic@link@\tmptoken\endcsname{\arabic{linkcounter}}%
        %
        % Standard print output:
        \expandafter\g@addto@macro\expandafter\linklist\expandafter{\@tmpkey & \url{#1}}%
        \ifx\@breaklinklistat\@linknumber
            \g@addto@macro\linklist{\\}%
        \else
            \g@addto@macro\linklist{\\*}%
        \fi
        %
        % Link system output:
        % Copypasting the output of the following lines into a text file, then run and execute the result of:
        % awk '{print "mkdir " $1 " && echo \"<?php header('\''Location: " $2 "'\''); ?>\" > " $1 "/index.php"}'
        %\expandafter\g@addto@macro\expandafter\linklist\expandafter{\expandafter&\expandafter\tiny\@linknumber\ \url{#1}\\}%
        %
        \stepcounter{linkcounter}%
    }{%
        \protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\csname nopanic@link@\tmptoken\endcsname}}}%
    }%
    \href{#1}{\@tmpkey}%
}
\makeatother

\sloppy % forces "ugly" line breaks

\pagestyle{plain}

\begin{document}
%Das Coverbild, oh gott o.O Aber es funktioniert
\newcommand\CoverPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width = \paperwidth, height = \paperheight]{cover/Vorne}%
\vfill
}}}
\thispagestyle{empty} %keine Seitenzahl
\AddToShipoutPictureBG*{\CoverPic}
\mbox{} %brauche leeren Content für ne newpage
%\newpage

\include{texte/zeitplan}
\include{texte/campusplan}
\include{texte/danksagung}
\tableofcontents
\include{texte/vorwort}
\include{texte/grusswort}
\include{texte/studienbetrieb}
\include{texte/checkliste}
\include{texte/zih}
\include{texte/moduluebersicht}
\include{texte/auditorium}
\include{texte/f1help}
\include{texte/fsr}
\include{texte/fluechtlinge}
\include{texte/spieleabend}
\include{texte/ascii}
\include{texte/cd}
\include{texte/glossar}
\include{texte/links}
\include{texte/werbung}
\include{cover/back}

\end{document}
