[OS X TeX] Save included files
jkock at start.no
Sat Feb 7 15:49:49 EST 2009
> On included files, the button Type on the toolbar is a (small)
> nuisance and having a Save button alongside would be nice.
> Even better would be being able to customize differently the toolbar
> on different files. Then one could have just Type on root files and
> just Save on included files. Of course, that is probably not worth
> the effort it would take.
> What does the people think?
I think the following behaviour is quite nice:
Invoking 'Typeset' from an included file typesets the root file,
while 'shift-Typeset' typesets only the included file but with the
preamble from the root file (in reality texing a temporary file,
but with synchronisation properly redirected to the calling included
(The root file is determined as follows: if there is a TeX fileset
defined, use that information; otherwise look for file variables
a la emacs, TeXShop or iTeXMac; or finally scan nearby log files
to figure out which file is the root.)
More information about the MacOSX-TeX