emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: Litvinov Sergey <slitvinov@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: [babel] maxima support?
Date: Fri, 25 Feb 2011 16:58:03 -0700	[thread overview]
Message-ID: <8762s7ipr7.fsf@gmail.com> (raw)
In-Reply-To: 87bp21ohkt.fsf@pinto.chemeng.ucl.ac.uk

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 <e.fraga@ucl.ac.uk> writes:

> Litvinov Sergey <slitvinov@gmail.com> 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...

  parent reply	other threads:[~2011-02-26  0:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23  9:32 [babel] maxima support? Litvinov Sergey
2011-02-24 10:25 ` Eric S Fraga
2011-02-24 10:28   ` Eric S Fraga
2011-02-25  9:17   ` Litvinov Sergey
2011-02-25 23:58   ` Eric Schulte [this message]
2011-02-28 16:15     ` Eric S Fraga
2011-03-14 21:26       ` Eric Schulte
2011-03-15 10:47         ` Eric S Fraga
2011-03-15 13:17           ` Eric Schulte
2011-03-15 14:27             ` Eric S Fraga
2011-03-15 15:32               ` Eric Schulte
2011-03-15 16:39                 ` Eric S Fraga
2011-03-15 17:27                   ` Eric Schulte
2011-03-15 18:32                     ` Eric S Fraga

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=8762s7ipr7.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=slitvinov@gmail.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).