emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 2cb4f46fec: org-latex-compile: Add commentary on fa


From: ELPA Syncer
Subject: [elpa] externals/org 2cb4f46fec: org-latex-compile: Add commentary on fallback compiler command
Date: Sat, 21 May 2022 23:57:44 -0400 (EDT)

branch: externals/org
commit 2cb4f46fecfd641ce5e2f4aabf0a7ea6422e7728
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    org-latex-compile: Add commentary on fallback compiler command
    
    * lisp/ox-latex.el (org-latex-compile): Clarify when "pdflatex"
    constant is used as a fallback.
---
 lisp/ox-latex.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 998f2238d2..5a2de8afb4 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -4178,6 +4178,9 @@ produced."
                                            t)
                     (progn (beginning-of-line) (looking-at-p "%"))
                     (match-string 0)))
+              ;; Cannot find the compiler inserted by
+              ;; `org-latex-template' -> `org-latex--insert-compiler'.
+              ;; Use a fallback.
              "pdflatex"))
         (process (if (functionp org-latex-pdf-process) org-latex-pdf-process
                    ;; Replace "%latex" with "%L" and "%bib" and



reply via email to

[Prev in Thread] Current Thread [Next in Thread]