[texworks] Multifile organisation

Philip TAYLOR P.Taylor at rhul.ac.uk
Sat Aug 25 17:47:24 CEST 2012

Ignasi wrote:

> Yes. You can include line
> % !TeX root=_document.tex
> at the beginning of all your subfiles and _document.tex will be the
> processed file.

In my experience, this is not sufficient; one also needs to
include the

 > % !TeX program=<program>

pragmat, otherwise even if the main file contains such a pragmat
it will be processed by the default processor.

Philip Taylor

More information about the texworks mailing list