From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [babel] maxima support? Date: Thu, 24 Feb 2011 10:28:01 +0000 Message-ID: <8762s9ohfy.fsf@pinto.chemeng.ucl.ac.uk> References: <5rbp23p04b.fsf@kana.aer.mw.tum.de> <87bp21ohkt.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=44184 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsYQY-0005lO-JK for emacs-orgmode@gnu.org; Thu, 24 Feb 2011 05:28:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsYQW-0001p5-St for emacs-orgmode@gnu.org; Thu, 24 Feb 2011 05:28:06 -0500 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:38140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsYQW-0001ow-Kr for emacs-orgmode@gnu.org; Thu, 24 Feb 2011 05:28:04 -0500 In-Reply-To: <87bp21ohkt.fsf@pinto.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Thu, 24 Feb 2011 10:25:06 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Litvinov Sergey Cc: emacs-orgmode@gnu.org Eric S Fraga writes: > Litvinov Sergey writes: > >> I have not found (i)maxima on this page. >> http://orgmode.org/worg/org-contrib/babel/languages.html >> (Babel: Languages) >> >> Has someone implemented it? > > I have implemented a very basic interface (attached). Example: > > #+begin-src org > * maxima test > *** simple test > #+begin_src maxima > programmode: false; > eq: x**2-1 = 0; > solution: solve(eq, x); > print(solution); > #+end_src > > > #+results: > : [x = - 1, x = 1] > #+end_src > > However, please note that this is rather linux (maybe Unix) specific in > that it post-processes the output of maxima using a sequence of shell > commands to get rid of unnecessary (to my mind) output. Maxima is a bit > verbose... I hit C-c C-c too quickly (got confused as to which buffer I was in). Please delete the "programmode: false;" line in the source code block above to get the desired behaviour... -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.529.gb23d)