I've already installed TeXLive and TexMaker. Now I'm thinking of turning to LuaTeX. What are the steps I have to follow in order to start compiling with LuaTeX? Do I have to install Lua first? If so, which is the best way to do it on Windows 10? Out of the many github repositories dedicated to this purpose (e.g. rjpcomputing/luaforwindows or luarocks/luarocks/wiki/installation-instructions-for-windows) which one is the most reliable?
1 Answer
You do not have to install Lua separately in order to run luatex
. If you have installed TeX Live (the usual install is the full install) you will have it on your machine. If you want to double-check use texlua --version
in the command line of your operating system.
-
Until now, I did not realize that
texlua
was an alias forluatex
. Users might preferlualatex
.– user139954Dec 30, 2017 at 20:08 -
@RobtAll Maybe, but the OP asked for luatex. Why bother with the format if you consider switching engines? Dec 30, 2017 at 20:39
-
Maybe "asked for luatex" really meant "should asked for lualatex." Not so much a switch, as a clarification.– user139954Dec 30, 2017 at 22:06
-
2@RobtAll
texlua
isn't really an alias it accepts lua rather than tex code in that mode. Dec 30, 2017 at 22:09 -
3@RobtAll they are but so are all of latex and tex and pdflatex and pdftex, the program name affects the behaviour, so it's odd to call them aliases Dec 31, 2017 at 16:14
fontspec
and some other packages you will use. I use LuaLaTeX exclusively, and do not know a whit of Lua. Once in a while, I copy and paste some Lua code posted on these forums, if it does something remarkable.