From: Emmanuel Charpentier <emm.charpentier@free.fr>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: Babel: how to get rid of the quotes wraping the result of a Sagemath code block ?
Date: Sat, 02 Mar 2019 22:11:57 +0100 [thread overview]
Message-ID: <3638e06fe93e8504df3352287f41f65524373a0d.camel@free.fr> (raw)
Dear list,
I would like to use Sage to build the text of a Graphviz program to
display some graph, then pass this program body to a dot code block.
The first step is easy. But I'm unable to accomplish the second one
becausethe program text (which is correct !) is wrapped in a pair of
quotes, on which Graphviz (dot) chokes. I-ve tried
* passing it as an argument (:var=myblock())
* calling the Sage code block in a noweb call (<<myblock()>>)
to no avail.
I've tried the "verbatim" and "raw" options to :results of my Sage
block. Again without success.
It [[
https://emacs.stackexchange.com/questions/20652/org-babels-call-functionality-wraps-all-results-in-quotes
][seems]]
that a similar problem exists for Python code...
Any suggestions ?
--
Emmanuel Charpentier
next reply other threads:[~2019-03-02 21:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-02 21:11 Emmanuel Charpentier [this message]
2019-03-03 11:09 ` Babel: how to get rid of the quotes wraping the result of a Sagemath code block ? Emmanuel Charpentier
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=3638e06fe93e8504df3352287f41f65524373a0d.camel@free.fr \
--to=emm.charpentier@free.fr \
--cc=emacs-orgmode@gnu.org \
/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).