Fehlende Seitenzahlen im Inhaltsverzeichnis
Verfasst: Mi 4. Jul 2012, 10:12
Hi Leute,
ich hab da ein Problem, dass in meinem Inhaltsverzeichnis keine Seitennummern sind. Sieht jemand meinen (vielleicht offentsichtlichen) Fehler?
Danke schonmal, Grüße,
FireFighter
ich hab da ein Problem, dass in meinem Inhaltsverzeichnis keine Seitennummern sind. Sieht jemand meinen (vielleicht offentsichtlichen) Fehler?
\documentclass[a4paper]{scrreprt} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{hyperref} \usepackage{pdfpages} \usepackage{scrpage2}% \pagestyle{scrheadings} \clearscrheadfoot \ihead{} \chead{} \ohead{} \cfoot{\pagemark \raisebox{3cm}} \setkomafont{pageheadfoot}{\large\sffamily\bfseries} \usepackage{setspace} \addtocontents{toc}{\protect\doublespacing} % table of contents \addtocontents{lof}{\protect\onehalfspacing} % list of figures \addtocontents{lol}{\protect\onehalfspacing} % list of listings \DeclareRobustCommand*{\onlyattoc}[1]{} \newcommand*{\activateonlyattoc}{% \DeclareRobustCommand*{\onlyattoc}[1]{##1}% } \AtBeginDocument{\addtocontents{toc}{\protect\activateonlyattoc}} \begin{document} \pagenumbering{Roman} \mbox{} %\thispagestyle{empty} \newpage \tableofcontents \pagenumbering{arabic} \phantomsection\addcontentsline{toc}{section}{\textit{Author:} \onlyattoc{\protect\\} Dokumenttitel} \includepdf[pages={-},pagecommand=\thispagestyle{scrheadings}]{file.pdf} %weitere pdf-Dateien eingefügt \end{document}
Danke schonmal, Grüße,
FireFighter