From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emmanuel Charpentier Subject: Re: Babel: how to get rid of the quotes wraping the result of a Sagemath code block ? Date: Sun, 03 Mar 2019 12:09:09 +0100 Message-ID: <9db4fa6378a31e0cc2e69f1480592b7a1d1b797c.camel@free.fr> References: <3638e06fe93e8504df3352287f41f65524373a0d.camel@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0Ozc-00029j-R6 for emacs-orgmode@gnu.org; Sun, 03 Mar 2019 06:09:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0Ozc-0000XM-2V for emacs-orgmode@gnu.org; Sun, 03 Mar 2019 06:09:16 -0500 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]:49133) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h0Ozb-0000VS-SA for emacs-orgmode@gnu.org; Sun, 03 Mar 2019 06:09:16 -0500 Received: from zen-book-flip (unknown [82.228.67.28]) (Authenticated sender: emm.charpentier) by smtp1-g21.free.fr (Postfix) with ESMTPSA id A92DDB00533 for ; Sun, 3 Mar 2019 12:09:09 +0100 (CET) In-Reply-To: <3638e06fe93e8504df3352287f41f65524373a0d.camel@free.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode-email 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 =C3=A0 22:11 +0100, Emmanuel Charpentier a =C3=A9c= rit : > Dear list, >=20 > 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. >=20 > 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=3Dmyblock()) > * calling the Sage code block in a noweb call (<>) > to no avail. >=20 > I've tried the "verbatim" and "raw" options to :results of my Sage > block. Again without success. >=20 > It [[ > https://emacs.stackexchange.com/questions/20652/org-babels-call-functio= nality-wraps-all-results-in-quotes > ][seems]] > that a similar problem exists for Python code... >=20 > Any suggestions ? >=20 > -- > Emmanuel Charpentier