[OS X TeX] [TeXShop] input file and master doc compilation
schremmer.alain at gmail.com
Wed Feb 3 21:07:28 EST 2010
On Feb 3, 2010, at 8:18 PM, Herbert Schulz wrote:
> On Feb 3, 2010, at 6:43 PM, Alain Schremmer wrote:
>> Yes I can. Either from the contents file whose %!TEX root = ../
>> Chapters-controls/\jobname.tex calls the control file (the chapter
>> root file) or, of course, from the control file itself.
> How does TeXshop ``know'' that \jobname refers to the chapter root
> file if you simply open the chapter file and try to typeset? Don't
> you have to open the chapter-control file separately and typeset that?
Because the contents file and the control file both have the same
number, say 2.
Then, when typesetting Chapters-contents/2, the line
%!TEX root = ../Chapters-controls/\jobname.tex
which is the root file which contains
that is the original file.
I do think that it is a bit perverse but it really works beautifully.
More information about the MacOSX-TeX