Use the LuaTeX engine to compile LaTeX files

This commit is contained in:
Gerard Vermeulen 2022-04-21 19:47:19 +02:00
parent 98a08a9266
commit 3a17276629

View File

@ -1226,7 +1226,7 @@ Loading =tex.el= immediately instead of lazily ensures proper initialization of
elisp library file has no autoload cookie. Without prior loading of =tex.el=,
Emacs will complain that ~TeX-master~ is no safe local variable in case it reads
a LaTeX file that sets ~TeX-master~. Listing [[lst:require-auctex]] initializes
[[https://en.wikipedia.org/wiki/AUCTeX][AUCTeX]] properly.
[[https://en.wikipedia.org/wiki/AUCTeX][AUCTeX]] properly for LuaTeX or LuaLaTeX.
#+caption[Require =AUCTeX=]:
#+caption: Require =AUCTeX=.
@ -1236,6 +1236,7 @@ a LaTeX file that sets ~TeX-master~. Listing [[lst:require-auctex]] initializes
(when (require 'tex nil 'noerror)
(custom-set-variables
'(TeX-auto-save t)
'(TeX-engine 'luatex)
'(TeX-install-font-lock #'font-latex-setup)
'(TeX-parse-self t)))
#+end_src