ox-latex: Do not hardcode fallback compiler
* lisp/ox-latex.el (org-latex-compile): Instead of hardcoding "pdflatex" as the fallback compiler, use `org-latex-compiler'.
This commit is contained in:
parent
b29f772416
commit
d0c87c762a
|
@ -4283,7 +4283,7 @@ produced."
|
||||||
;; Cannot find the compiler inserted by
|
;; Cannot find the compiler inserted by
|
||||||
;; `org-latex-template' -> `org-latex--insert-compiler'.
|
;; `org-latex-template' -> `org-latex--insert-compiler'.
|
||||||
;; Use a fallback.
|
;; Use a fallback.
|
||||||
"pdflatex"))
|
org-latex-compiler))
|
||||||
(process (if (functionp org-latex-pdf-process) org-latex-pdf-process
|
(process (if (functionp org-latex-pdf-process) org-latex-pdf-process
|
||||||
;; Replace "%latex" with "%L" and "%bib" and
|
;; Replace "%latex" with "%L" and "%bib" and
|
||||||
;; "%bibtex" with "%B" to adhere to `format-spec'
|
;; "%bibtex" with "%B" to adhere to `format-spec'
|
||||||
|
|
Loading…
Reference in New Issue