\documentclass[a4paper,oneside,DIV15,BCOR12mm]{scrbook}
\usepackage{etoolbox}
\usepackage{amsmath,amssymb}
\usepackage[utf8]{inputenc} % this is needed for umlauts
\usepackage[ngerman]{babel} % this is needed for umlauts
\usepackage[T1]{fontenc}    % this is needed for correct output of umlauts in pdf
\usepackage[framed,amsmath,thmmarks,hyperref]{ntheorem}
\usepackage{makeidx} % for automatically generation of an index
\usepackage[bookmarks,bookmarksnumbered,hypertexnames=false,pdfpagelayout=OneColumn,colorlinks,hyperindex=false]{hyperref} % has to be after makeidx
\usepackage{enumerate}
\usepackage{braket} % needed for \Set
\usepackage{csquotes}
\usepackage{parskip}
\usepackage{pst-solides3d}
\usepackage{tikz}
\usetikzlibrary{3d,calc,intersections,er,arrows,positioning}
\newcommand{\inputTikZ}[2]{%  
     \scalebox{#1}{\input{#2}}  
}

\usepackage{shortcuts}

\author{Siehe \href{https://github.com/MartinThoma/LaTeX-examples/tree/master/documents}{GitHub}}
\title{Geometrie und Topologie}
\makeindex

\hypersetup{ 
  pdfauthor   = {Siehe GitHub}, 
  pdfkeywords = {Geometrie, Topologie}, 
  pdftitle    = {Geometrie und Topologie} 
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% make the index link to the correct part of the page               %
% http://tex.stackexchange.com/q/74493/5645                         %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcounter{indexanchor}
\newcommand*{\xindex}[1]{%
  \stepcounter{indexanchor}% make anchor unique
  \def\theindexterm{#1}%
  \edef\doindexentry{\noexpand\index
    {\expandonce\theindexterm|indexanchor{index-\theindexanchor}}}%
  \raisebox{\baselineskip}{\hypertarget{index-\theindexanchor}%
    {\doindexentry}}%
}
\newcommand*{\indexanchor}[2]{\hyperlink{#1}{#2}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\makeindex

\begin{document}
\maketitle

\renewcommand{\thechapter}{\Roman{chapter}}
%\chapter{Inhaltsverzeichnis}
\addcontentsline{toc}{chapter}{Inhaltsverzeichnis}
\tableofcontents

\chapter*{Vorwort}
Dieses Skript wird/wurde im Wintersemester 2013/2014 geschrieben.
Es beinhaltet Vorlesungsnotizen von Studenten zur Vorlesung von
Prof. Dr. Herrlich.

Es darf jeder gerne Verbesserungen einbringen!
\input{Kapitel1}

\appendix

\renewcommand{\indexname}{Stichwortverzeichnis}
\addcontentsline{toc}{chapter}{Stichwortverzeichnis}
\printindex

\end{document}
