emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel: how to get rid of the quotes wraping the result of a Sagemath code block ?
@ 2019-03-02 21:11 Emmanuel Charpentier
  2019-03-03 11:09 ` Emmanuel Charpentier
  0 siblings, 1 reply; 2+ messages in thread
From: Emmanuel Charpentier @ 2019-03-02 21:11 UTC (permalink / raw)
  To: org-mode-email

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-03 11:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-02 21:11 Babel: how to get rid of the quotes wraping the result of a Sagemath code block ? Emmanuel Charpentier
2019-03-03 11:09 ` Emmanuel Charpentier

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).