von esdd » Fr 12. Jan 2018, 11:41
Hier ist mal noch ein Beispiel:
\documentclass[
listof=totoc% Eintrag von LoF, LoT etc. ins Inhaltsverzeichnis
]{scrreprt}
\usepackage[demo]{pdfpages}
\usepackage{mwe}
\begin{document}
\listoffigures
\tableofcontents
\Blinddocument
\begin{figure}
\centering
\rule{5cm}{5cm}
\caption{Bild vor seinem Teil}
\end{figure}
\cleardoubleoddpage
\includepdf[pages=1-6,
addtotoc={%
1,chapter,\chapternumdepth,Sein erstes Kapitel,chp:ext1,%
3,section,\sectionnumdepth,Sein erstes Unterkapitel,sec:ext1,%
5,chapter,\chapternumdepth,Sein zweites Kapitel,chp:ext2,%
5,section,\sectionnumdepth,Sein zweites Unterkapitel,sec:ext2%
},
addtolist={%
2,figure,Tolles Bild,fig:ext1,%
2,figure,Weiteres Bild,fig:ext2,%
5,figure,Sein drittes Bild,fig:ext3%
}
]{Demo}
\setcounter{chapter}{3}
\blinddocument
\end{document}
Hier ist mal noch ein Beispiel:
[code]\documentclass[
listof=totoc% Eintrag von LoF, LoT etc. ins Inhaltsverzeichnis
]{scrreprt}
\usepackage[demo]{pdfpages}
\usepackage{mwe}
\begin{document}
\listoffigures
\tableofcontents
\Blinddocument
\begin{figure}
\centering
\rule{5cm}{5cm}
\caption{Bild vor seinem Teil}
\end{figure}
\cleardoubleoddpage
\includepdf[pages=1-6,
addtotoc={%
1,chapter,\chapternumdepth,Sein erstes Kapitel,chp:ext1,%
3,section,\sectionnumdepth,Sein erstes Unterkapitel,sec:ext1,%
5,chapter,\chapternumdepth,Sein zweites Kapitel,chp:ext2,%
5,section,\sectionnumdepth,Sein zweites Unterkapitel,sec:ext2%
},
addtolist={%
2,figure,Tolles Bild,fig:ext1,%
2,figure,Weiteres Bild,fig:ext2,%
5,figure,Sein drittes Bild,fig:ext3%
}
]{Demo}
\setcounter{chapter}{3}
\blinddocument
\end{document}[/code]