\documentclass{minimal}
\begin{document}
\include{sub}
\end{document}
