[OS X TeX] Configuring TeXShop to use XeLaTeX instead of pdfLaTeX

Herbert Schulz herbs at wideopenwest.com
Tue Jul 7 23:59:00 CEST 2020

> On Jul 7, 2020, at 4:23 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> What exactly is the difference between
> % !TEX program = xelatexmk
> and
> % !TEX TS-program = xelatexmk
> (and similarly for other engines)?
> In the TeXShop Help > Comment Lines and Hidden Preferences I see reference only to the first of those.


When TeXShop added these directives it used

% !TEX TS-program = xelatexmk

where TS=TeXShop. However other programs, e.g., TeXworks, used

% !TEX program = xelatexmk

since they weren't TeXShop. Then the second form was added to TeXShop so files could be edited and typeset in those programs without change. PS: TeXworks also accepts the TS- version since it was meant to be simple, like TeXShop, but cross-platform; e.g., Command Completion in TeXworks is based on the initial version in TeXShop. PS: There are so many missing features in the macOS version of TeXworks that I can't possibly recommend it; e.g., you can't Print!

Finally, I always use the non-TS- version.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list.