[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: latexmk default compilation
From: |
Arash Esbati |
Subject: |
Re: latexmk default compilation |
Date: |
Fri, 11 Sep 2020 14:05:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 |
Denis Bitouzé <dbitouze@wanadoo.fr> writes:
> Le 11/09/20 à 12h50, François Patte a écrit :
>
>> Is it possible to run latexmk as the default compilator while using
>> Ctrl-c-c in auctex?
>
> Maybe with this (don't know if it is enough):
>
> (add-hook 'LaTeX-mode-hook '(lambda () (setq TeX-command-default "Latexmk")))
You also need an entry for "Latexmk" in `TeX-command-list', something
like this should do the job:
(eval-after-load "tex"
'(add-to-list 'TeX-command-list
'("Latexmk" "latexmk -pdf %s" TeX-run-TeX nil t
:help "Run latexmk on file")
t))
Best, Arash