Add more complexity to TOC test
This commit is contained in:
parent
515526dff0
commit
73088bdd2e
@ -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.
|
||||
|
@ -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}
|
||||
|
2
test/advanced-tocs/preface.tex
Normal file
2
test/advanced-tocs/preface.tex
Normal file
@ -0,0 +1,2 @@
|
||||
\chapter{Preface}
|
||||
Preface.
|
@ -1,2 +0,0 @@
|
||||
\subsection{Test sub section 2}
|
||||
Some text.
|
Loading…
Reference in New Issue
Block a user