Replace %bib instead of %bibtex, in org-latex-pdf-process.
* lisp/ox-latex.el (org-latex-compile): Changed regex accordingly.
---
lisp/ox-latex.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 6fe05e0..262bcb2 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -3663,12 +3663,12 @@ produced."
(match-string 0)))
"pdflatex"))
(process (if (functionp org-latex-pdf-process) org-latex-pdf-process
- ;; Replace "%latex" and "%bibtex" with,
+ ;; Replace "%latex" and "%bib" with,
;; respectively, "%L" and "%B" so as to adhere to
;; `format-spec' specifications.
(mapcar (lambda (command)
(replace-regexp-in-string
- "%\\(?:bib\\|la\\)tex\\>"
+ "%\\(?:bib\\|latex\\)\\>"
(lambda (m) (upcase (substring m 0 2)))
command))
org-latex-pdf-process)))
--
2.6.4 (Apple Git-63)