From: Carsten Dominik <carsten.dominik@gmail.com>
To: Francesco Pizzolante <fpz@missioncriticalit.com>
Cc: mailing-list-org-mode <emacs-orgmode@gnu.org>
Subject: Re: org-export-as-pdf > Removing log files
Date: Mon, 23 Nov 2009 14:50:01 +0100 [thread overview]
Message-ID: <F81C9330-F6BD-4229-BBEC-D30DA68C32F8@gmail.com> (raw)
In-Reply-To: <87y6lxz932.fsf@missioncriticalit.com>
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
prev parent reply other threads:[~2009-11-23 13:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-23 13:04 org-export-as-pdf > Removing log files Francesco Pizzolante
2009-11-23 13:50 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F81C9330-F6BD-4229-BBEC-D30DA68C32F8@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fpz@missioncriticalit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).