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

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

[elpa] externals/auctex 2ed9d93 09/42: Add %(PDF) when undumped format i


From: Tassilo Horn
Subject: [elpa] externals/auctex 2ed9d93 09/42: Add %(PDF) when undumped format is used in preview-latex
Date: Thu, 23 Nov 2017 06:06:07 -0500 (EST)

branch: externals/auctex
commit 2ed9d9308fe35daaf3157aeb0500bdb20c0be68c
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>

    Add %(PDF) when undumped format is used in preview-latex
    
    * preview.el.in (TeX-inline-preview-internal): Make pdflatex to be
    called when default output is PDF and dumped format is used.  Although
    it seems that if the dumped format is created by pdflatex, the format
    produces PDF output even when the command name is (non-pdf) latex, it
    would be better that pdflatex is used in that case, too.
---
 preview.el.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/preview.el.in b/preview.el.in
index 1aa7e1a..8bde248 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -3548,7 +3548,7 @@ internal parameters, STR may be a log to insert into the 
current log."
                      ;; (TeX-engine-alist) are dropped, give them
                      ;; back.
                      (list (list "\\`\\([^ ]+\\)"
-                           (TeX-command-expand "%(latex)" nil)))))
+                           (TeX-command-expand "%(PDF)%(latex)" nil)))))
           command) file)))
     (condition-case err
        (progn



reply via email to

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