I know it is not possible to nest one \include
inside another, but what about \input
? Is it possible to have something like:
\documentclass{article}
\begin{document}
\include{file1}
\end{document}
and then in file1.tex
:
\section{samplesection}
\input{file2}
in file2.tex
;
\section{samplesection2}
Hello