From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: bug in new exporter Date: Tue, 11 Jun 2013 14:05:26 +0200 Message-ID: <87y5agonsp.fsf@gmail.com> References: <87d2s388l2.fsf@pank.eu> <87ip1vjdlg.fsf@pierrot.dokosmarshall.org> <874ndf7xkn.fsf@pank.eu> <87fvwyrjnr.fsf@pierrot.dokosmarshall.org> <87y5aq7sin.fsf@pank.eu> <877gi8n3q7.fsf@gmail.com> <87obbko739.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmNKL-0000ur-L8 for emacs-orgmode@gnu.org; Tue, 11 Jun 2013 08:05:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmNKK-00034e-3w for emacs-orgmode@gnu.org; Tue, 11 Jun 2013 08:05:29 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:50273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmNKJ-00034Y-UJ for emacs-orgmode@gnu.org; Tue, 11 Jun 2013 08:05:28 -0400 Received: by mail-wg0-f49.google.com with SMTP id a12so4097946wgh.16 for ; Tue, 11 Jun 2013 05:05:27 -0700 (PDT) In-Reply-To: <87obbko739.fsf@pierrot.dokosmarshall.org> (Nick Dokos's message of "Wed, 05 Jun 2013 12:28:10 -0400") 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: Nick Dokos Cc: emacs-orgmode@gnu.org Hello, Nick Dokos writes: > Nicolas Goaziou writes: > >>> With >>> >>> #+ATTR_LATEX: :options scale=1.5 :width "" :placement [htb!] >>> it fails here >>> (attr (org-export-read-attribute :attr_latex parent)) >>> >>> which evalues to something like >>> >>> Result: (:options "scale=1.5" :placement "[htb!]" :width "") >>> >>> when it doesn't crash. >> >> This bug should be fixed in maint. Thanks to both of you for identifying >> it. >> > > And also in master, correct? I can never remember who goes first. Correct. Basically, if current version is "a.b.c", a change in maint will appear in "a.b.c+1" whereas a change in master will appear in "a.b+1". > Just a heads-up: As part of testing this, I stumbled on an unrelated > current-working-directory problem, where on exporting to pdf, the > pdflatex of the produced tex file fails to find an image file > specified with a relative pathname (it works fine with an absolute > path name). The tex file looks OK and I can process it from the > command line. I'll try to pin this down more precisely, Problem probably comes from `org-latex-compile'. > but do I understand correctly that the processing of the tex file > should take place with the current working directory set to the > directory of the org file? Yes. Regards, -- Nicolas Goaziou