\documentclass{thesis} \input{setup.tex} \begin{document} \maketitle \tableofcontents \mainmatter \input{chapters/intro.tex} \input{chapters/process.tex} \input{chapters/frontend.tex} \input{chapters/deploy.tex} \input{chapters/test.tex} \backmatter \input{chapters/acknowledgements.tex} \end{document}