[tex-live] texworks in TL 2010

Axel E. Retif axel.retif at mac.com
Sat Nov 13 12:01:39 CET 2010

On  13 Nov, 2010, at 04:31, Khaled Hosny wrote:

> On Sat, Nov 13, 2010 at 10:27:02AM +0000, Philip Taylor (Webmaster, Ret'd) wrote:
>> Philip Taylor (Webmaster, Ret'd) wrote:
>>> [W]ith the functionality of the
>>> %& pragmat, no-one need ever care.
>> On testing, I see that this is an over-simplication :
>> whilst %&PdfLaTeX is capable of re-mapping a default
>> of PdfTeX to PdfLaTeX, there appears to be no analogous
>> mechanism which can map it to (say) XeLaTeX.  This
>> is a pity.
> IIRC, texworks supports its own magic comment to select engine and
> format, I don't have texworks installed to look for it, but I guess it
> is documented somewhere.

Ha! I just tried it in Windows, and it uses TeXShop's syntax:

% !TEX TS-program = xelatex
% !TEX encoding = UTF-8

TS-program stands for TeXShop program! You can see it like this: choose File -> New from Template... and it will open a window with different templates; choose XeLaTeX documents -> article-fontspec.tex and the typesetting format will change automatically to XeLaTeX!



More information about the tex-live mailing list