> That being said, let us turn now to LaTeXMk.
>
>     1. This new function seems to ignore, TeX-output-dir and therefore
>        the directory publications is cluttered with the files generated
>        by the compilation process.
>

This can be fixed by adding the following to the latexmk command
(compare with 
https://github.com/ultronozm/auctex-cont-latexmk.el/blob/86eba36913a2980ce64bf116ff54587aa554a66c/auctex-cont-latexmk.el#L230):

(concat " -outdir=" (shell-quote-argument TeX-output-dir))

I guess it just requires a simple change to TeX-command-expand and
TeX-command-list, but I'm not super familiar with those.

Reply via email to