From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Publishing using the new exporter Date: Mon, 08 Oct 2012 14:55:00 +0200 Message-ID: <87391prumz.fsf@gmail.com> 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> <507181CD.1050005@mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLCv6-0001qh-Bw for emacs-orgmode@gnu.org; Mon, 08 Oct 2012 08:58:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLCv2-0001AU-0Q for emacs-orgmode@gnu.org; Mon, 08 Oct 2012 08:58:52 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:40950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLCv1-0001AK-Q7 for emacs-orgmode@gnu.org; Mon, 08 Oct 2012 08:58:47 -0400 Received: by mail-wi0-f177.google.com with SMTP id hj13so2969109wib.12 for ; Mon, 08 Oct 2012 05:58:46 -0700 (PDT) In-Reply-To: <507181CD.1050005@mpip-mainz.mpg.de> (Robert Klein's message of "Sun, 07 Oct 2012 15:21:17 +0200") 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: Robert Klein Cc: emacs-orgmode@gnu.org, Eric Schulte Hello, Robert Klein writes: > 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. I pushed a patch to solve this. May you confirm it is fine now? Important note : I moved publishing functions to their respective back-end, renaming them in the process. For example `org-e-publish-org-to-pdf' becomes `org-e-latex-publish-to-pdf'. Regards, -- Nicolas Goaziou