I'm using TexLive 2016. Is there a way I can get the expanded Latex BEFORE it is converted to PDF? Quick example in case I'm asking the wrong question! i.e.
main.tex:
\documentclass[12pt]{article}
\begin{document}
\section{Some Notes}
\input{"testinput.tex"}
\subsection*{Mood}
Some sub section
\end{document}
testinput.tex:
\section{Include Stuff}
Did this get included?
Should give:
\documentclass[12pt]{article}
\begin{document}
\section{Some Notes}
\section{Include Stuff}
Did this get included?
\subsection*{Mood}
Some sub section
\end{document}
We have some fairly complex nested files so I'm hoping there's a solution to that. I imagine that Latex MUST "assemble" the document before it can be processed?
Thanks!