org-e-latex: Fix compile bugs
* EXPERIMENTAL/org-e-latex.el (org-e-latex-compile): Fix compile bugs.
This commit is contained in:
parent
0fa24209cf
commit
07368bbc09
|
@ -2122,8 +2122,8 @@ Return PDF file name or an error if it couldn't be produced."
|
||||||
(progn
|
(progn
|
||||||
(cond
|
(cond
|
||||||
;; A function is provided: Apply it.
|
;; A function is provided: Apply it.
|
||||||
((functionp org-latex-to-pdf-process)
|
((functionp org-e-latex-pdf-process)
|
||||||
(funcall org-latex-to-pdf-process (shell-quote-argument texfile)))
|
(funcall org-e-latex-pdf-process (shell-quote-argument texfile)))
|
||||||
;; A list is provided: Replace %b, %f and %o with appropriate
|
;; A list is provided: Replace %b, %f and %o with appropriate
|
||||||
;; values in each command before applying it. Output is
|
;; values in each command before applying it. Output is
|
||||||
;; redirected to "*Org PDF LaTeX Output*" buffer.
|
;; redirected to "*Org PDF LaTeX Output*" buffer.
|
||||||
|
@ -2138,7 +2138,7 @@ Return PDF file name or an error if it couldn't be produced."
|
||||||
(replace-regexp-in-string
|
(replace-regexp-in-string
|
||||||
"%f" (shell-quote-argument texfile)
|
"%f" (shell-quote-argument texfile)
|
||||||
(replace-regexp-in-string
|
(replace-regexp-in-string
|
||||||
"%o" (shell-quote-argument out-dir) command)))
|
"%o" (shell-quote-argument out-dir) command t t) t t) t t)
|
||||||
outbuf))
|
outbuf))
|
||||||
org-e-latex-pdf-process)
|
org-e-latex-pdf-process)
|
||||||
;; Collect standard errors from output buffer.
|
;; Collect standard errors from output buffer.
|
||||||
|
|
Loading…
Reference in New Issue