Ahem... It turns out that this was (partly) a pilot error, bound to the specifics of ob-sagemath.
I still do not understand the impact of the raw and verbatim options of :results, but I'll come back later if the behaviou I got is indeed *really* buggy. Sorry for the noise... -- Emmanuel Charpentier Le samedi 02 mars 2019 à 22:11 +0100, Emmanuel Charpentier a écrit : > 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