emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Emmanuel Charpentier <emm.charpentier@free.fr>
To: org-mode-email <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <9db4fa6378a31e0cc2e69f1480592b7a1d1b797c.camel@free.fr> (raw)
In-Reply-To: <3638e06fe93e8504df3352287f41f65524373a0d.camel@free.fr>

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

      reply	other threads:[~2019-03-03 11:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9db4fa6378a31e0cc2e69f1480592b7a1d1b797c.camel@free.fr \
    --to=emm.charpentier@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).