emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Xavier Garrido <xavier.garrido@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Calling a source block with raw results
Date: Sun, 04 Jan 2015 10:29:49 -1000	[thread overview]
Message-ID: <m2ppaucmrm.fsf@tsdye.com> (raw)
In-Reply-To: <54A99AF4.2000809@gmail.com> (Xavier Garrido's message of "Sun, 04 Jan 2015 20:56:36 +0100")

Aloha Xavier,

Xavier Garrido <xavier.garrido@gmail.com> 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

  reply	other threads:[~2015-01-04 20:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-04 19:56 Calling a source block with raw results Xavier Garrido
2015-01-04 20:29 ` Thomas S. Dye [this message]
2015-01-04 20:47   ` Xavier Garrido

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ppaucmrm.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=xavier.garrido@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).