Open tshu-w opened 1 year ago
In addition to what @tshu-w contributed, I've added a hook to set LaTeKmk as the default. When LaTeX-mode is invoked for each file/buffer, it overrides the user's prior setq
declaration, so the hook is needed to actually align with the user's preference.
(add-hook 'LaTeX-mode-hook (lambda () (setq TeX-command-default "LaTeXmk")))
Stolen from: https://www.reddit.com/r/emacs/comments/vl38v0/comment/idv0ips/?utm_source=share&utm_medium=web2x&context=3
I'm dropping
auctex-latexmk
from my configuration as it's not maintained. According to this report, we can replaceTeX-run-TeX
withTeX-run-format
to avoid using the complexLatexmk-sentinel
: