emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Litvinov Sergey <slitvinov@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] maxima support?
Date: Thu, 24 Feb 2011 10:28:01 +0000	[thread overview]
Message-ID: <8762s9ohfy.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <87bp21ohkt.fsf@pinto.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Thu, 24 Feb 2011 10:25:06 +0000")

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...

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...

<blush>

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.529.gb23d)

  reply	other threads:[~2011-02-24 10:28 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 [this message]
2011-02-25  9:17   ` Litvinov Sergey
2011-02-25 23:58   ` Eric Schulte
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=8762s9ohfy.fsf@pinto.chemeng.ucl.ac.uk \
    --to=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).