This patch allows latexmk as an option to `org-latex-pdf-process'.
I've added the -g option, as I sometimes have experienced that latexmk
otherwise doesn't run often enough.
–Rasmus
--
May contains speling mistake
>From e03411adaf5c45dfb60d84016f77e75739f9c642 Mon Sep 17 00:00:00 2001
From: rasmus <ras...@gmx.us>
Date: Fri, 21 Jun 2013 17:57:32 +0200
Subject: [PATCH] Let =`latexmk'= be an option to =`org-latex-pdf-process'=.
* ox-latex.el (org-latex-pdf-process): let =`latexmk'= be a
preconfigured choice and change the wording of the docstring.
TINYCHANGE
---
lisp/ox-latex.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 9172cd7..25b80fb 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -784,8 +784,12 @@ the infamous egrep/locale bug:
http://lists.gnu.org/archive/html/bug-texinfo/2010-03/msg00031.html
-then `texi2dvi' is the superior choice. Org does offer it as one
-of the customize options.
+then `texi2dvi' is the superior choice as it automates the LaTeX
+build process by calling the \"correct\" combinations of
+auxiliary programs. Org does offer `texi2dvi' as one of the
+customize options. Alternatively, `rubber' and `latexmk' also
+provide similar functionality. The latter supports `biber' out
+of the box.
Alternatively, this may be a Lisp function that does the
processing, so you could use this to apply the machinery of
@@ -823,6 +827,8 @@ file name as its single argument."
("texi2dvi -p -b -c -V %f"))
(const :tag "rubber"
("rubber -d --into %o %f"))
+ (const :tag "latexmk"
+ ("latexmk -g -pdf %f"))
(function)))
(defcustom org-latex-logfiles-extensions
--
1.8.3.1