From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: export_file_name problem with new exporter Date: Thu, 13 Dec 2012 20:16:28 +0100 Message-ID: References: , <8738zadrpn.fsf@gmail.com>, , <87y5h2cbao.fsf@gmail.com>, , <87sj79rfr1.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjEGr-0005IM-Cv for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 14:16:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjEGl-0008Mu-2O for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 14:16:37 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:56850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjEGk-0008Li-RM for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 14:16:30 -0500 In-reply-to: <87sj79rfr1.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Achim Gratz writes: > Alan Schmitt writes: >> In other words, I see three places of interest: >> - where the org file is >> - where export and compilation occurs >> - where the final result is put >> >> Publishing lets us deal with the last one, but I don't think there is a >> way to distinguish between the first two. > > Having a separate build directory would really need to be accompanied by > a proper build system for all but the most simple tasks. I think you > can very well hand off the publishing to make or something like that. > If you are only concerned about the litter from LaTeX, use a variant of > "texi2pdf --tidy" instead of invoking pdftex directly. Actually, I think this is the way to go. Having a "run this command (asynchronously) after publishing" would be perfect. I need to look into org-publish to see if this is not already present, and if it would be difficult to add. Alan