From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: Publishing using the new exporter Date: Sat, 06 Oct 2012 16:52:39 +0200 Message-ID: <507045B7.9010101@mpip-mainz.mpg.de> References: <50602E92.3080705@mpip-mainz.mpg.de> <87y5jzafab.fsf@gmail.com> <50609817.705@mpip-mainz.mpg.de> <87a9vz7stn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKVkL-0005EP-S8 for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 10:52:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKVkK-0001UV-Rq for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 10:52:53 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:29001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKVkK-0001UH-Lb for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 10:52:52 -0400 In-Reply-To: <87a9vz7stn.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Eric Schulte On 10/06/2012 01:17 PM, Nicolas Goaziou wrote: > Hello, > >> Another issue I encountered, when publishing(!) to pdf, the resulting >> pdfs didn't have any images. This is probably caused by the images >> beind created in :base-directory and the pdf being created in >> :publishing-directory > > Indeed. > > Eric: Is there any mechanism to force (automatically) Babel code to > generate files in a given publishing directory instead of the current > directory (notwithstanding :dir argument)? > > Ideally, I would like to provide publishing-directory as an optional > argument to `org-export-blocks-preprocess', since it is the only > interface between the export engine and Babel. > > Any opinion on this? > > > Regards, > Hello, for pdf publishing I'd rather prefer the tex file also to be created in the base directory and only the pdf appearing in the publishing-directory, if there is a way. My publishing-directories are often publicly accessible, where I'd rather not accumulate intermediate files. As a workaround I currently use the base-directory as publishing-directory plus a second project using org-e-publish-attachment to copy the pdfs to their intended location. (I'm using org-e-publish-attachment for images of html files, so why shouldn't I use it for pdfs... Best regards Robert