emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [feature request] org-post-export-hook


From: Bastien
Subject: Re: [O] [feature request] org-post-export-hook
Date: Sat, 05 Mar 2011 00:27:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Jeff,

Jeff Horn <address@hidden> writes:

> Would it be trivial to add a post-export hook? If so, it would be
> helpful for me.
>
> I've been experimenting with latexmk for document compilation. If I
> add `latexmk -CA` (it cleans extraneous files) to the command sequence
> for `org-latex-to-pdf-process`, I trigger an annoying notification
> that the PDF file wasn't produced, and the *Org Export PDF Output* (or
> whatever) buffer is overwritten with this new command's output (not
> very interesting).
>
> Perhaps it would be best to have a general `org-post-export-hook` and
> specific `org-post-latex-export-hook` and `org-post-html-export-hook`.
> It wouldn't make sense to run `latexmk -CA` when producing a webpage,
> afterall.

See org-export-latex-final-hook, org-export-latex-after-save-hook and
sisters.  

C-h v org-export-hook TAB TAB to see all of them.

-- 
 Bastien



reply via email to

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