[OS X TeX] TeXshop and LuaTeX

Gray, Gary L euler at psu.edu
Mon Dec 23 09:57:24 EST 2019


Herb,

I thought the directive is:

% !TEX TS-program = pdflatex

At least that is what I have at the top of every document. Have I been doing this wrong?

Gary

> On Dec 23, 2019, at 8:55 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
> Since you want to use a different typesetting engine on a file by file basis you should probably use the `%!TEX program = xxxx' directive at the top of the file. Then, when you typeset using Typeset->Typeset (Cmd-T) TeeXShop will use the requested engine.
> 
> So, placing
> 
> %!TEX program = pdflatex
> 
> (notice TEX is all caps and there is a space before and after the =) pdflatex will be used. Replace `pdflatex' by `lulatex' to get it to use lualatex. To get a full list of active engines click on the popup menu next to the typeset button on the Source File Window's Tool Bar.



More information about the MacOSX-TeX mailing list