emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Neuwirth Erich <erich.neuwirth@univie.ac.at>
To: emacs-orgmode@gnu.org
Subject: babel for maxima
Date: Sun, 25 Mar 2012 15:16:03 +0200	[thread overview]
Message-ID: <18D32FCB-CF4E-499A-86C7-575F777666B3@univie.ac.at> (raw)

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.

             reply	other threads:[~2012-03-25 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-25 13:16 Neuwirth Erich [this message]
2012-03-26 11:47 ` babel for maxima Eric Schulte

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=18D32FCB-CF4E-499A-86C7-575F777666B3@univie.ac.at \
    --to=erich.neuwirth@univie.ac.at \
    --cc=emacs-orgmode@gnu.org \
    /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).