abougouffa / minemacs

MinEmacs: an Emacs configuration framework for daily use
https://abougouffa.github.io/minemacs/
MIT License
153 stars 16 forks source link

latexmk with lualatex #10

Closed raylemon closed 1 year ago

raylemon commented 1 year ago

There is a way to use latexmk with -pdflua switch with shortcut SPC m c ?

Thanks

abougouffa commented 1 year ago

You should just set TeX-engine to luatex in your LaTeX buffer. This is a buffer-local variable, so you need to:

(with-eval-after-load 'tex
  (setq-default TeX-engine 'luatex))