Hi all,

I had a brief look again at LaTeXMk and `TeX-command-list'.  The way I
see it, the entry in that variable should work with `TeX-run-TeX', which
is probably even the better choice.  Hence, I suggest to install the
following change:

--8<---------------cut here---------------start------------->8---
diff --git a/tex.el b/tex.el
index 59a33142..dd4ff30f 100644
--- a/tex.el
+++ b/tex.el
@@ -252,7 +252,7 @@ If nil, none is specified."
      :help "Convert PostScript file to PDF")
     ("LaTeXMk" "latexmk %(latexmk-out) %(file-line-error) %(output-dir) \
 %`%(extraopts) %S%(mode)%' %t"
-     TeX-run-format nil (LaTeX-mode docTeX-mode) :help "Run LaTeXMk")
+     TeX-run-TeX nil (LaTeX-mode docTeX-mode) :help "Run LaTeXMk")
     ("Glossaries" "makeglossaries %(d-dir) %s" TeX-run-command nil
      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode Texinfo-mode)
      :help "Run makeglossaries to create glossary file")
--8<---------------cut here---------------end--------------->8---

I also checked the above against the bug#48144, it doesn't break.

Any comments?

Best, Arash

Reply via email to