[OS X TeX] Lua?

Herbert Schulz herbs at wideopenwest.com
Wed Feb 16 07:25:13 EST 2011

On Feb 16, 2011, at 3:37 AM, Michael Welsh wrote:

> On 16/02/2011, at 8:22 PM, David Arnold wrote:
>> All,
>> Is Lua installed as part of Texlive Mactex?
> Yes.
>> If so, how to access it?
> luatex (or lualatex) on the commandline. Not sure how to get the engine into TeXShop though.
>> David


The lua(la)tex engines come with the latest versions of TeXShop. Don't remember if they are activated by default. If not they can be activated by moving them from ~/Library/TeXShop/Engines/Inactive/LuaTeX/ two directories ``up'' to ~/Library/TeXShop/Engines/ and restarting TeXShop. The engines should then appear in the popup engine list on the Source and Preview window toolbar. The tell TeXShop to always use the lulatex engine for a given file place the line

% !TEX TS-program = lualatex

near the top of the source file and then Typeset->Typeset (Cmd-T) will execute that engine automatically. If your document has cross-references, a bibliography (or bibliographies) and/or an index (or indexes) there is also a lualatexmk engine that will take care of all the processing necessary to get a final document which can be found in ~/Library/TeXShop/Engines/Inactive/Latexmk/. Activate it in the same way as for the lualatex engine.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the MacOSX-TeX mailing list