summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-11-08 13:40:36 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-11-08 13:40:36 +0100
commita135f746a17f1bdd8bea9349945482854c9fd867 (patch)
tree403eb00d1bd2d73e6301345b9e30b3c85f2ebe7d
parent120f8c09f460c55131eb8d99685732ee88f538ae (diff)
downloadorg-mode-a135f746a17f1bdd8bea9349945482854c9fd867.tar.gz
ox-latex: Fix latexmk command
* lisp/ox-latex.el (org-latex-pdf-process): Fix latexmk command.
-rw-r--r--lisp/ox-latex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index a17bd2a..49c9a95 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -1184,7 +1184,7 @@ file name as its single argument."
(const :tag "texi2dvi"
("LATEX=\"%latex\" texi2dvi -p -b -V %f"))
(const :tag "latexmk"
- ("latexmk -g -pdflatex=\"%latex\" %f"))
+ ("latexmk -g -pdf -pdflatex=\"%latex\" -outdir=%o %f"))
(function)))
(defcustom org-latex-logfiles-extensions