I have a file called draft.tex. In it are
\documentclass…
\usepackage…
…
some macros
…
\begin{document}
\maketitle
\input{sec1.tex}
\input{sec2.tex}
…
bibliography stuff
\end{document}
the files sec1.tex & sec2.tex look like
\section{title of sec}
text
I would like to edit sec1.tex and then make the document. The only way I know how to do this is to change the editor focus to a window containing draft.tex, and then typesetting. Is there a way of doing this in one step, without having to change the editor window focus? Even better, without opening draft.tex at all? Apologies if this has been answered before. I couldn't find it.