2018-09-07 15:44:41 +02:00
|
|
|
\documentclass[10pt]{scrreprt}
|
2019-08-12 12:10:36 +02:00
|
|
|
|
|
|
|
% quick TOC setup
|
|
|
|
\KOMAoption{toc}{chapterentrydotfill}
|
|
|
|
% don't use parskip package, set parskip=full instead
|
|
|
|
\KOMAoption{parskip}{half}
|
|
|
|
|
2018-09-07 15:44:41 +02:00
|
|
|
\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
|
2019-09-03 15:51:52 +02:00
|
|
|
\def\@breaklinklistat{22}
|
2019-09-18 21:39:28 +02:00
|
|
|
\def\@breaklinklistandat{54}
|
2018-09-07 15:44:41 +02:00
|
|
|
\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
|
|
|
|
\ifx\@breaklinklistandat\@linknumber
|
|
|
|
\g@addto@macro\linklist{\\}%
|
|
|
|
\else
|
|
|
|
\g@addto@macro\linklist{\\*}%
|
|
|
|
\fi
|
|
|
|
\fi
|
|
|
|
%
|
|
|
|
% Link system output:
|
|
|
|
\immediate\write\linklistfile{RewriteRule "^\@linknumber$" "#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
|
|
|
|
|
|
|
|
% Linklist output
|
|
|
|
% All this stuff needs is immediate to avoid confusion between links on the same page
|
|
|
|
\immediate\newwrite\linklistfile
|
|
|
|
\immediate\openout\linklistfile=kopimi.htaccess\relax
|
|
|
|
\immediate\write\linklistfile{RewriteEngine On}
|
2020-05-19 10:47:40 +02:00
|
|
|
\immediate\write\linklistfile{RewriteBase /2020}
|
2018-09-07 15:44:41 +02:00
|
|
|
|
|
|
|
\include{texte/zeitplan}
|
|
|
|
\include{texte/inhaltsverzeichnis}
|
|
|
|
\include{texte/vorwort}
|
|
|
|
\include{texte/grusswort}
|
2019-08-12 13:17:14 +02:00
|
|
|
\include{texte/faq}
|
2018-09-07 15:44:41 +02:00
|
|
|
\include{texte/checkliste}
|
|
|
|
\include{texte/f1help}
|
|
|
|
\include{texte/fakultaet}
|
2019-07-15 15:42:55 +02:00
|
|
|
\include{texte/campus}
|
2018-09-07 15:44:41 +02:00
|
|
|
\include{texte/veranstaltungen}
|
2019-09-13 12:15:45 +02:00
|
|
|
\include{texte/studienalltag}
|
2018-09-07 15:44:41 +02:00
|
|
|
\include{texte/moduluebersicht}
|
2020-08-25 14:28:16 +02:00
|
|
|
\include{texte/werbung}
|
2018-09-07 15:44:41 +02:00
|
|
|
\include{texte/links}
|
2019-09-03 15:51:20 +02:00
|
|
|
% \addchap{Notizen}\mbox{}
|
2018-09-07 15:44:41 +02:00
|
|
|
\include{texte/raetsel}
|
|
|
|
\include{texte/campusplan}
|
|
|
|
\include{cover/back}
|
|
|
|
|
|
|
|
% Always close your files :)
|
|
|
|
\immediate\closeout\linklistfile
|
|
|
|
|
|
|
|
\end{document}
|