\input{preamble}
\usepackage{subfiles}
\begin{document}
\subfile{sub/sub1.tex}
\subfile{sub/sub3.tex}
\end{document}
