\documentclass[main.tex]{subfiles} \begin{document} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: "main" %%% End: