From: Eric Schulte <eric.schulte@gmx.com>
To: Neuwirth Erich <erich.neuwirth@univie.ac.at>
Cc: emacs-orgmode@gnu.org
Subject: Re: babel for maxima
Date: Mon, 26 Mar 2012 07:47:14 -0400 [thread overview]
Message-ID: <87limnpo1q.fsf@gmx.com> (raw)
In-Reply-To: 18D32FCB-CF4E-499A-86C7-575F777666B3@univie.ac.at
Neuwirth Erich <erich.neuwirth@univie.ac.at> 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/
prev parent reply other threads:[~2012-03-26 14:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-25 13:16 babel for maxima Neuwirth Erich
2012-03-26 11:47 ` Eric Schulte [this message]
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=87limnpo1q.fsf@gmx.com \
--to=eric.schulte@gmx.com \
--cc=emacs-orgmode@gnu.org \
--cc=erich.neuwirth@univie.ac.at \
/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).