I use Aquamacs and TeX Live 2009 to edit my LaTeX files. As my publications tend to get quite big, I want to structure the source folder containing all my LaTeX files. Like e.g.
- [bib]
- [images]
- [chapters]
- chapter1.tex
- chapter2.tex
- main.tex
One can define the %%% TeX-master: "main"
local variable at the end of each "sub" file to define a master file that contains all headers etc. That works fine if the subfiles are in the same directory as the main file. If I try to define the main file here (e.g. main.tex in chapter1.tex), LaTeX cannot find the specified file.
What can I do in this case?