Texmaker. Can an unfocused file be compiled?

Does anyone know if it is possible to compile a file that is not focused in texmaker?

I have a report split into many .tex files and each one is included in Main.tex. To compile the report, I need to focus the Main.tex file and then press the PdfLatex command. I would like to just click the PdfLatex command and always compile Main.tex no matter what happens. Does anyone know if this is possible?

Thanks for the help.

+3


source to share


1 answer


Use Options -> Set Current Document as Master

So when you use latex commands, it is applied to the main document.



Current Document As Master

+2


source







All Articles