[OS X TeX] Per-folder project root

Herbert Schulz herbs at wideopenwest.com
Mon Oct 12 16:40:22 EDT 2009


On Oct 12, 2009, at 3:23 PM, Daniel Becker wrote:

>> What I'm saying is
>> that it would be nice if you could set this once for every file in a
>> given folder.
>
> you could start every file with
> \input{setmainfile.tex}
> where
> setmainfile.tex
> contains the
>>> % !TEX root = path/to/root.tex
>
> line. Not very elegant, but might work better for you?
>
> Daniel

Howdy,

That won't work because the line is a TeXShop directive and the  
compile, and \input, doesn't start until the compile begins.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list