* [PATCH][ox-latex] support for latexmk
@ 2013-06-21 16:10 Rasmus
2013-06-21 18:03 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Rasmus @ 2013-06-21 16:10 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Let-latexmk-be-an-option-to-org-latex-pdf-process.patch --]
[-- Type: text/x-diff, Size: 1510 bytes --]
From e03411adaf5c45dfb60d84016f77e75739f9c642 Mon Sep 17 00:00:00 2001
From: rasmus <rasmus@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-21 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 16:10 [PATCH][ox-latex] support for latexmk Rasmus
2013-06-21 18:03 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).