From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Sagemath with org-babel? Date: Mon, 06 Aug 2012 18:47:40 -0300 Message-ID: <50203b7f.a14dec0a.6450.ffffdea3@mx.google.com> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyV9O-0004g3-Cm for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 17:47:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyV9N-00019f-97 for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 17:47:46 -0400 Received: from mail-gg0-f169.google.com ([209.85.161.169]:46997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyV9N-00019Z-4q for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 17:47:45 -0400 Received: by ggnf4 with SMTP id f4so887529ggn.0 for ; Mon, 06 Aug 2012 14:47:44 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org 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 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 >