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.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

Reply via email to