瀏覽代碼

PDF export: Remove log files produced by XeTeX

Carsten Dominik 15 年之前
父節點
當前提交
3efede0ddf
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-latex.el

+ 1 - 0
lisp/ChangeLog

@@ -4,6 +4,7 @@
 	(org-export-latex-parse-content)
 	(org-export-latex-parse-subcontent): Use
 	`org-re-search-forward-unprotected'.
+	(org-export-as-pdf): Remove log files produced by XeTeX.
 
 	* org-macs.el (org-re-search-forward-unprotected): New function.
 

+ 1 - 1
lisp/org-latex.el

@@ -719,7 +719,7 @@ when PUB-DIR is set, use this as the publishing directory."
 	(error "PDF file was not produced")
       (set-window-configuration wconfig)
       (when org-export-pdf-remove-logfiles
-	(dolist (ext '("aux" "idx" "log" "out" "toc"))
+	(dolist (ext '("aux" "idx" "log" "out" "toc" "nav" "snm" "vrb"))
 	  (setq file (concat base "." ext))
 	  (and (file-exists-p file) (delete-file file))))
       (message "Exporting to PDF...done")