From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] maxima support? Date: Fri, 25 Feb 2011 16:58:03 -0700 Message-ID: <8762s7ipr7.fsf@gmail.com> 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=53310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pt8MW-0005Od-LF for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 19:50:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pt8MQ-0005qs-0W for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 19:50:20 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:56583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pt8MP-0005qf-Ta for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 19:50:13 -0500 Received: by qwd7 with SMTP id 7so2115346qwd.0 for ; Fri, 25 Feb 2011 16:50:13 -0800 (PST) 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: Eric S Fraga Cc: Litvinov Sergey , emacs-orgmode@gnu.org Great, Thanks for sharing! Why don't we replace the shell-script munging with some elisp munging and add this to the core? I can help with the translation to elisp (although I may be busy through the weekend/week). Best -- Eric 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...