emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernd Weiss <bernd.weiss@uni-koeln.de>
To: emacs-orgmode@gnu.org
Subject: Re: [babel] Maxima code blocks do not work
Date: Mon, 27 Jun 2011 16:37:32 -0400	[thread overview]
Message-ID: <4E08EA0C.1080305@uni-koeln.de> (raw)

Am 27.06.2011 10:32, schrieb Eric S Fraga:
> Bernd Weiss <bernd.weiss@uni-koeln.de> writes:
> [...]
>> #+results:
>> : incorrect syntax: / is not a prefix operator
>> : incorrect syntax: aLH is not an infix operator
>> : incorrect syntax: hCp is not an infix operator
>> : incorrect syntax: Premature termination of input at $.
>> : Maxima encountered a Lisp error:
>> :  parser: end of file while scanning expression.
>> : Automatically continuing.
>> : To enable the Lisp debugger set *debugger-hook* to nil.
>> This message is 'related' (see lines 3 "aLH is not an infix operator"
>> and 4 "hCp is not an infix operator") to the following Maxima call
>> ("aLH/maxima-17716hCp"):
>> maxima --very-quiet -r
>> 'batchload("c:/Users/weiss/AppData/Local/Temp/babel-17716aLH/maxima-17716hCp")$'
>> nil
> The error messages look like maxima is trying to evaluate the actual
> string within double quotes!
>> Unfortunately, my elisp knowledge is too low to understand what's going
>> on in ob-maxima.el. Is it a MS-Windows-thing ('/' vs '\')?
> Good question. Has anybody else used maxima with org babel on Windows?
> I don't even have such a system to try...  
> My guess would be that the "shell" command required to invoke maxima on
> Windows needs to be significantly different than what we are using here
> (which works on Linux).  Then again, I've never really used Windows
> (beyond starting Word on somebody else's document on somebody else's
> machine... ;-) so I don't have a clue what Windows expects...

Hi Eric,

Again, thanks a lot for your help!

Okay, it definitely is a Windows problem. If I run the following command
in a cygwin shell, everything works as expected:

maxima --very-quiet -r

However, it does not work in a Windows shell. But this is no longer an
org issue.


             reply	other threads:[~2011-06-27 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27 20:37 Bernd Weiss [this message]
2011-06-29 16:32 ` [babel] Maxima code blocks do not work Eric S Fraga
  -- strict thread matches above, loose matches on Subject: below --
2011-06-24 18:07 Bernd Weiss
2011-06-27  8:34 ` Eric S Fraga
2011-06-27 12:22   ` Bernd Weiss
2011-06-27 14: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:

  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=4E08EA0C.1080305@uni-koeln.de \
    --to=bernd.weiss@uni-koeln.de \
    --cc=emacs-orgmode@gnu.org \


* 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


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