[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Sagemath with org-babel?
From: |
Darlan Cavalcante Moreira |
Subject: |
Re: [O] Sagemath with org-babel? |
Date: |
Mon, 06 Aug 2012 18:47:40 -0300 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) Emacs/24.1 Mule/6.0 (HANACHIRUSATO) |
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,
address@hidden (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 <address@hidden> 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
>