From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: Publishing using the new exporter Date: Sun, 07 Oct 2012 15:21:17 +0200 Message-ID: <507181CD.1050005@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> <507045B7.9010101@mpip-mainz.mpg.de> <877gr3cwzi.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]:42520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKqnV-0001qn-I5 for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 09:21:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKqnT-0000Ci-TS for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 09:21:33 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:29516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKqnT-0000Ce-NT for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 09:21:31 -0400 In-Reply-To: <877gr3cwzi.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 07:48 PM, Nicolas Goaziou wrote: > Hello, > > Robert Klein writes: > >> 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. > > You're right: I'm over-engineering it. > >> 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... > > This is now the default for PDF publishing. Thanks. > > > Regards, > Hello, thanks for the patch. There is still a small issue, though. I tried org-e-publish to pdf with one small difference: 1. I'm in a buffer, the visited file is in the base-directory. M-x org-e-publish... Publishing works Ok. 2. I'm in a buffer, visiting a buffer /not/ in the base-directory. M-x org-e-publish... The pdf's don't have their images included. I suspect, pdflatex is called using a working directory which is not the base-directory but the default-directory of the buffer from which I M-x org-e-publish. Best regards Robert