Add more complexity to TOC test

This commit is contained in:
Karl Yngve Lervåg 2014-07-17 20:47:38 +02:00
parent 515526dff0
commit 73088bdd2e
4 changed files with 25 additions and 23 deletions

View File

@ -1,3 +1,19 @@
\chapter{Test chapter 1}
This test document is created to test advanced TOC functionality.
\section{Test section 1}
\subsection{Test sub section 1}
\section{$\alpha$}
\subsection{Test sub section 1}
\subsection{Test sub section 2}
Some text.
\chapter{Test chapter 2}
\section{Testing TOC levels}
Testing more input and TOC levels.

View File

@ -1,42 +1,28 @@
\documentclass{scrartcl}
\setcounter{secnumdepth}{2}
\documentclass{book}
\begin{document}
This test document is created to test advanced TOC functionality.
\section{Test section 1}
\frontmatter
\input{preface}
\subsection{Test sub section 1}
\section{$\alpha$}
\input{sec2.tex}
\mainmatter
\input{chapters}
\appendix
\input{appendix}
\input{sec3}
% Test matching of bibliography additions
\backmatter
\bibliography{test}
\printbibliography
\printbibliography{Testing}
\printbibliography[Some option]{Testing}
\printbibheading
\printbibheading{Testing}
\printbibheading[Some option]{Testing}
\begin{thebibliography}
\end{thebibliography}
\printindex
\printindex[Some option]
\end{document}

View File

@ -0,0 +1,2 @@
\chapter{Preface}
Preface.

View File

@ -1,2 +0,0 @@
\subsection{Test sub section 2}
Some text.