emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] org-export-as-pdf > Removing log files


From: Carsten Dominik
Subject: Re: [Orgmode] org-export-as-pdf > Removing log files
Date: Mon, 23 Nov 2009 14:50:01 +0100

Applied, thanks.

- Carsten

On Nov 23, 2009, at 2:04 PM, Francesco Pizzolante wrote:

Hi,

When removing log files, the "org-export-as-pdf" function should also delete
the ".idx" files:

--8<---------------cut here---------------start------------->8---
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index ad45a21..17e038c 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -720,7 +720,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" "log" "out" "toc"))
+       (dolist (ext '("aux" "idx" "log" "out" "toc"))
         (setq file (concat base "." ext))
         (and (file-exists-p file) (delete-file file))))
      (message "Exporting to PDF...done")
--8<---------------cut here---------------end--------------->8---

Regards,
Francesco


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

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