[OS X TeX] TeXshop and LuaTeX

David Craig dac at panix.com
Tue Dec 24 12:05:03 CET 2019


> On Dec 23, 2019, at 8:55 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:

> 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.

That was the first thing I tried … except, I tried “luatex” and “lualatex”, and neither of those worked.  I would not have guessed “lulatex”.    (Guessing that’s a typo.)

However … it doesn’t work.  None of the above work.   When I send the file to TeXShop to be typeset, it is still typeset with pdftex.

Ah, hmmm.   Your comment about engines made me go looking and see that there is a lualatex.engine in the “Inactive” folder.  I moved it up, and now it works!   (But only with lualatex.)  That was the clue I needed.

> 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.


I generally use an external editor (Alpha) to edit my files, so while I looked for such list, that’s a place I did not think to look.  It’s not an option in the TeXShop “Typeset” menu in the menubar, for example, and I couldn’t figure out how to add it.

LuaTeX DOES work properly if I use TeXShop’s editor and select it there, and did so BEFORE I moved the engine.  So, in TeXShop’s own editor TeXShop can find lualatex without moving the engine, but to use the program comment line option, one has to move the engine.

None of that was obvious :-)

Thanks for your help!

David Craig

> On Dec 23, 2019, at 2:59 AM, David Craig <dac at panix.com> wrote:
> 
> I’m interested in trying tikz-feynman  <https://jpellis.me/projects/tikz-feynman/>, which requires LuaTeX, which truthfully, I know zippo about except that “any day now” it’s going to become the default LaTeX, replacing pdftex.  Which I’ve been reading for I don’t know how many years … I figured I’d worry about it whenever that actually got around to happening.
> 
> Anyway … my question is, how do I switch easily back and forth between LuaTeX and pdftex in TeXShop?  I have tried googling and peering at the help, and I’m afraid I don’t feel adequately enlightened.  Or frankly, enlightened on this subject in any way at all. 
> 
> Help … please?

----------- 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
                https://email.esm.psu.edu/pipermail/macosx-tex/
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