[texworks] Scripting root file behaviour

Philip TAYLOR P.Taylor at rhul.ac.uk
Tue May 15 19:03:50 CEST 2012

Herbert Schulz wrote:

> Doesn't placing the line
> % !TEX root = path/to/root/file.tex
> (where path/to/root/file.tex is the absolute or relative path to the root file, file.tex) at the top of each of the included or input files do the job?

But what if one or more of the included or input files
is referenced from more than one main file ?  WinEDT's
"Set main file" allows this, without requiring that
included or input files be modified to indicate with
which main file they are currently associated.

Philip Taylor

More information about the texworks mailing list