> Uwe Brauer <o...@mat.ucm.es> writes:

> I'm not sure if it's best to leave it to me, but can you please apply
> this small change to `TeX-command-list' and try it again?

I have plain confidence in your coding and rightly so 😉. I applied the
patch, recompiled, tested and voila it works as expected


> diff --git a/tex.el b/tex.el
> index 93f22520..e261b821 100644
> --- a/tex.el
> +++ b/tex.el
> @@ -252,7 +252,7 @@ If nil, none is specified."
>      ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf nil
>       (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode Texinfo-mode)
>       :help "Convert PostScript file to PDF")
> -    ("LaTeXMk" "latexmk %(latexmk-out) %(file-line-error) \
> +    ("LaTeXMk" "latexmk %(latexmk-out) %(file-line-error) %(output-dir) \
>  %`%(extraopts) %S%(mode)%' %t"
>       TeX-run-format nil (LaTeX-mode docTeX-mode) :help "Run LaTeXMk")
>      ("Glossaries" "makeglossaries %(d-dir) %s" TeX-run-command nil

> You can also add '%(output-dir)' to the LaTeXMk entry via the custom
> interface and save it for the current session; that will save you the
> apply/compilation time.

Yeah, but I prefer not to mess with the custom interface and leave that
as a method of last resort. Every time you guys add some new commands the
customized variable is basically useless. 🙃

Uwe 

> Best, Arash


-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to