9

How does one change the typesetting engine from pdfLaTeX to LuaTeX in TeXnicCenter? Is it sufficient to just change the path to the .exe in Build->Define Output Profiles?

doncherry
  • 54,637
  • You can try to do this and then read the log file to see if LuaTeX was used. – Sigur Dec 29 '12 at 11:07
  • 1
  • 1
    Are you sure you want luatex and not lualatex? (Note that the engines, as written on the command line, are all lower case.) Also, I would suggest copying the output profile you want to change, so that you can easily switch back to pdflatex. – doncherry Dec 29 '12 at 19:42
  • 1
    You should first copy the output profile “LaTeX ⇨ PDF” into a new profile “LuaLaTeX ⇨ PDF” and in this new profile you can replace pdflatex.exe with lualatex.exe. – Speravir Dec 29 '12 at 22:12

2 Answers2

5

If you install TeXnicCenter 2.0 Beta 1, the option to compile with LuaLaTeX is already available as follows:

enter image description here

Note that TeXnicCenter 2.0 Beta 1 (either 32 or 64 bit version) still does NOT support Unicode even though it claims to support UTF-8. That is its feature!

3

Yes, that should be enough- as @Sigur says, you'll be able to tell by reading the .log file.

When I compile the MWE \documentclass{article}\begin{document}hello world\end{document} using pdflatex the first line of the .log file is

This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) (format=pdflatex 2012.12.20)  29 DEC 2012 09:32

and when I compile using lualatex the first line of the .log file is

This is LuaTeX, Version beta-0.70.2-2012062812 (TeX Live 2012) (format=lualatex 2012.12.20)  29 DEC 2012 09:35
cmhughes
  • 100,947