\documentclass{report} \usepackage[subpreambles=true]{standalone} \usepackage{import} \title{Standalone package example} \author{The almightly Flake} \date{\today} \begin{document} \maketitle \tableofcontents \import{chapters}{01} \import{chapters}{02} \end{document}