[OS X TeX] Per-folder project root
cgg.lists at gmail.com
Mon Oct 12 15:28:13 EDT 2009
On Oct 12, 2009, at 2:11 PM, Herbert Schulz wrote:
> The TeXShop model of a project is that there is a single file (e.g.,
> a book) that \include's (or \input's) other files (e.g., chapters).
> Each of the ``chapters'' then has a line
> % !TEX root = path/to/root.tex
> where the `path/to/root.tex' is either an absolute or relative path
> (e.g., ../root.tex if it's one directory up from the chapter file).
> That way you can edit one of the chapters and the when you Typeset
> TeXShop will compile the root file.
Yes, I understand all that. The problem with that model is (a) you
have to set it in every file, and (b) if you change the name of the
root file then you have to change it in every file. What I'm saying is
that it would be nice if you could set this once for every file in a
More information about the MacOSX-TeX