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}
|
\section{Testing TOC levels}
|
||||||
Testing more input and TOC levels.
|
Testing more input and TOC levels.
|
||||||
|
|
@ -1,42 +1,28 @@
|
|||||||
\documentclass{scrartcl}
|
\documentclass{book}
|
||||||
|
|
||||||
\setcounter{secnumdepth}{2}
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
This test document is created to test advanced TOC functionality.
|
|
||||||
|
|
||||||
\section{Test section 1}
|
\frontmatter
|
||||||
|
\input{preface}
|
||||||
|
|
||||||
\subsection{Test sub section 1}
|
\mainmatter
|
||||||
|
\input{chapters}
|
||||||
\section{$\alpha$}
|
|
||||||
|
|
||||||
\input{sec2.tex}
|
|
||||||
|
|
||||||
\appendix
|
\appendix
|
||||||
|
\input{appendix}
|
||||||
|
|
||||||
\input{sec3}
|
\backmatter
|
||||||
|
|
||||||
% Test matching of bibliography additions
|
|
||||||
\bibliography{test}
|
\bibliography{test}
|
||||||
|
|
||||||
\printbibliography
|
\printbibliography
|
||||||
|
|
||||||
\printbibliography{Testing}
|
\printbibliography{Testing}
|
||||||
|
|
||||||
\printbibliography[Some option]{Testing}
|
\printbibliography[Some option]{Testing}
|
||||||
|
|
||||||
\printbibheading
|
\printbibheading
|
||||||
|
|
||||||
\printbibheading{Testing}
|
\printbibheading{Testing}
|
||||||
|
|
||||||
\printbibheading[Some option]{Testing}
|
\printbibheading[Some option]{Testing}
|
||||||
|
|
||||||
\begin{thebibliography}
|
\begin{thebibliography}
|
||||||
\end{thebibliography}
|
\end{thebibliography}
|
||||||
|
|
||||||
\printindex
|
\printindex
|
||||||
|
|
||||||
\printindex[Some option]
|
\printindex[Some option]
|
||||||
|
|
||||||
\end{document}
|
\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…
x
Reference in New Issue
Block a user