emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Babel: how to get rid of the quotes wraping the result of a Sagemath


From: Emmanuel Charpentier
Subject: [O] 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
User-agent: Evolution 3.30.5-1

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]