[OS X TeX] TeXshop and LuaTeX
herbs at wideopenwest.com
Mon Dec 23 17:19:09 CET 2019
> On Dec 23, 2019, at 8:57 AM, Gray, Gary L <euler at psu.edu> wrote:
> 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?
>> 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.
Both work fine with TeXShop. I believe the `program' version was added the TeXShop so that files could go back and forth between TeXShop and other front ends (e.g., TeXworks) and it would be recognized by those front ends.
(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