Hello,

I have the same problem and resolved it with the appended
patch. Apparently, the .out-files aren't created and therefore can't be
deleted. The patch is checking for file-existence before trying to
delete.

Greetings, Benjamin

diff --git a/lisp/org.el b/lisp/org.el
index 16d2fe0..40fc646 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -17246,7 +17246,8 @@ inspection."
        ;; Use the requested file name and clean up
        (copy-file pngfile tofile 'replace)
        (loop for e in '(".dvi" ".tex" ".aux" ".log" ".png" ".out") do
-             (delete-file (concat texfilebase e)))
+             (if (file-exists-p (concat texfilebase e))
+                 (delete-file (concat texfilebase e))))
        pngfile))))
 
 (defvar org-latex-to-pdf-process) ;; Defined in org-latex.el

Reply via email to