[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel for maxima
From: |
Eric Schulte |
Subject: |
Re: [O] babel for maxima |
Date: |
Mon, 26 Mar 2012 07:47:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Neuwirth Erich <address@hidden> writes:
> I have a suggestion for the maxima mode in org-babel.
> I am using Emacs on a Mac which means that some hint work differently.
> The standard distribution of Maxima for the mac does not have a command
> 'maxima' anywhere on the path.
>
> The way to start character mode maxima from a shell is using
> /Applications/Maxima.App/Contents/Resources/maxima.sh
>
>
> Maxima itself brings an emacs mode with the standard distribution, and
> in maxima mode for Emacs he maxima command can be configured by using
> (setq maxima-command "/Applications/Maxima.app/Contents/Resources/maxima.sh")
> in .emacs
>
> So it makes sense that maxima mode in org does
>
> (require 'maxima)
> and then uses maxima-command when it defines the function
>
>
> (defun org-babel-execute:maxima
>
> I hope this is a reasonable suggestion.
>
This is a very reasonable suggestion. I've just added a new custom
variable named `org-babel-maxima-command' to ob-maxima.el. This
variable will default to the value of maxima-command if it is already
defined or simply "maxima" otherwise, however it can be set in your
configuration.
Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte/