From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Calling a source block with raw results Date: Sun, 04 Jan 2015 10:29:49 -1000 Message-ID: References: <54A99AF4.2000809@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7roQ-00062l-JL for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 15:30:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7roM-0001tp-JK for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 15:30:10 -0500 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:44928) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Y7roM-0001kR-Bm for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 15:30:06 -0500 In-Reply-To: <54A99AF4.2000809@gmail.com> (Xavier Garrido's message of "Sun, 04 Jan 2015 20:56:36 +0100") 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: Xavier Garrido Cc: "emacs-orgmode@gnu.org" Aloha Xavier, Xavier Garrido writes: > Since I am explicitly writing all the org code, I would like to call the > function and gets a *raw* results by doing > > #+CALL: org-figure-to-slide[:exports none :results raw]() I think the problem is that you are specifying :results raw as an 'inside header argument' rather than an 'end header argument'. Inside header arguments affect ow the code block is evaluated. End header arguments affect how the results are incorporated into the Org mode buffer. See section 14.5 of the manual. Does the following call line do what you want? #+CALL: org-figure-to-slide() :results raw hth, Tom -- Thomas S. Dye http://www.tsdye.com