[texworks] Default typesetter

Jérôme LAURENS jerome.laurens at u-bourgogne.fr
Sat Dec 16 22:18:30 CET 2023


The magic comment requires an ‘!’, but is case insensitive.

% !tex program=…
% !tex root=…

You must use these directives near the top of any  included file.

Once there is a notion of project in TeXworks, this won’t be necessary.

JL


> Le 16 déc. 2023 à 10:35, Philip Taylor (Personal) <P.Taylor at Trezaise.Uk> a écrit :
> 
> Moti Ben-Ari wrote:
>> I am using both pdfLaTeX and XeLaTeX. Is it possible to indicate within a source file which typesetter to use, something like % !Tex root for indicating the main file? At least: once I open a main file and select a typesetter, the same typesetter should be used for any of its included files.
>> Moti
> % TeX Program=XeLaTeX
> or
> % TeX Program=PdfLaTeX
> -- 
> Philip Taylor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texworks/attachments/20231216/7112fa9a/attachment.htm>


More information about the texworks mailing list.