emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Sagemath with org-babel?
Date: Mon, 06 Aug 2012 18:47:40 -0300	[thread overview]
Message-ID: <50203b7f.a14dec0a.6450.ffffdea3@mx.google.com> (raw)
In-Reply-To: <m1boin903o.fsf@tsdye.com>


I have done this in the past, I don't have the files anymore. However, as
Tom says it is very easy to modify the templates to make org work with
sage. I remember I only needed some search and replace to make it work.

Also, you may want to have a look at sage-mode first if you haven't
already.
http://wiki.sagemath.org/sage-mode

With sage mode installed its is a simple matter to make "C-c '" edit the
source code in sage-mode.


--
Darlan

At Mon, 06 Aug 2012 11:33:47 -1000,
tsd@tsdye.com (Thomas S. Dye) wrote:
> 
> Aloha Johan,
> 
> Babel can be configured to support new languages, see
> http://orgmode.org/worg/org-contrib/babel/languages.html#develop
> 
> Someone will need to write language specific functions to support code
> block evaluation in sage.  There is a template for this.  The functions
> written for other languages provide good examples of what the
> sage-specific functions might look like.  
> 
> hth,
> Tom
> 
> 
> 
> Johan Ekh <ekh.johan@gmail.com> writes:
> 
> > Hi all,
> > sage is not listed under languages that can be used with
> > org-babel. But it is based on
> > Python, is it possible to use it with org-babel?
> >
> > /Johan
> >
> > Sent from my iPad
> >
> 
> -- 
> Thomas S. Dye
> http://www.tsdye.com
> 

  reply	other threads:[~2012-08-06 21:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06 19:31 Sagemath with org-babel? Johan Ekh
2012-08-06 21:33 ` Thomas S. Dye
2012-08-06 21:47   ` Darlan Cavalcante Moreira [this message]
2014-11-04 22:26     ` Brady Trainor
2014-11-05  0:36       ` John Hendy
2014-11-05  3:05         ` Brady Trainor
2014-11-05  4:58           ` John Hendy

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=50203b7f.a14dec0a.6450.ffffdea3@mx.google.com \
    --to=darcamo@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    /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).