From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: New LaTeX exporter and #+call: Date: Sat, 15 Sep 2012 15:29:28 +0200 Message-ID: <871ui3ifd3.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCsV5-0004vR-OG for emacs-orgmode@gnu.org; Sat, 15 Sep 2012 09:33:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCsV4-0007OF-IT for emacs-orgmode@gnu.org; Sat, 15 Sep 2012 09:33:35 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:63279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCsV4-0007O3-CA for emacs-orgmode@gnu.org; Sat, 15 Sep 2012 09:33:34 -0400 Received: by wgbdt14 with SMTP id dt14so109383wgb.30 for ; Sat, 15 Sep 2012 06:33:33 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Fri, 14 Sep 2012 10:51:07 -1000") 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: "Thomas S. Dye" Cc: Org-mode Hello, tsd@tsdye.com (Thomas S. Dye) writes: > #+call: lines appear to flummox the new LaTeX exporter. > > This exports as I expect: > > #+caption[Old wood]: Old wood graph. > #+label: fig:old-wood > #+results: old-wood[:file old-wood.pdf]():results file > [[file:old-wood.pdf]] It doesn't matter here, but #+label ought to be to #+name in the new exporter. > But this yields "\url{file://nil}": > > #+call: old-wood[:file old-wood.pdf]() :results file > #+caption[Old wood]: Old wood graph. > #+label: fig:old-wood > #+results: old-wood[:file old-wood.pdf]():results file > [[file:old-wood.pdf]] I cannot reproduce the problem. It may be an hiccup in your "old-wood" src-block, which you didn't provide. You may try to eval: (let ((org-current-export-file (current-buffer))) (org-export-blocks-preprocess)) in a copy of the buffer you're trying to export. It will reveal what the parser really see. Is there anything suspicious? Regards, -- Nicolas Goaziou