From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emmanuel Charpentier 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 Message-ID: <3638e06fe93e8504df3352287f41f65524373a0d.camel@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0BvR-0000ef-6m for emacs-orgmode@gnu.org; Sat, 02 Mar 2019 16:12:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0BvQ-0002DP-Cn for emacs-orgmode@gnu.org; Sat, 02 Mar 2019 16:12:05 -0500 Received: from smtp1-g21.free.fr ([212.27.42.1]:7025) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h0BvQ-0002C1-4Q for emacs-orgmode@gnu.org; Sat, 02 Mar 2019 16:12:04 -0500 Received: from zen-book-flip (unknown [82.228.67.28]) (Authenticated sender: emm.charpentier) by smtp1-g21.free.fr (Postfix) with ESMTPSA id C1BBBB00565 for ; Sat, 2 Mar 2019 22:11:57 +0100 (CET) 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 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 (<>) 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