\documentclass[not-main.tex]{subfiles}
\begin{document}
\chapter{Hello World}
Some text here...
\end{document}

