* org-export-as-pdf > Removing log files
@ 2009-11-23 13:04 Francesco Pizzolante
2009-11-23 13:50 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Francesco Pizzolante @ 2009-11-23 13:04 UTC (permalink / raw)
To: mailing-list-org-mode
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.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: org-export-as-pdf > Removing log files
2009-11-23 13:04 org-export-as-pdf > Removing log files Francesco Pizzolante
@ 2009-11-23 13:50 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-11-23 13:50 UTC (permalink / raw)
To: Francesco Pizzolante; +Cc: mailing-list-org-mode
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-23 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 13:04 org-export-as-pdf > Removing log files Francesco Pizzolante
2009-11-23 13:50 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.