emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] Maxima code blocks do not work


From: Eric S Fraga
Subject: Re: [O] [babel] Maxima code blocks do not work
Date: Mon, 27 Jun 2011 09:34:47 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Bernd Weiss <address@hidden> writes:

> Dear all,
>
> The follwing Maxima code block does not work:
>
> #+begin_src maxima
> 1+1;
> #+end_src
> #+results:
> #+begin_example
> incorrect syntax: / is not a prefix operator
> incorrect syntax: GuM is not an infix operator
> parser: incomplete number; missing exponent?
>  -- an error. To debug this try: debugmode(true);
> incorrect syntax: Too many )'s
> 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.
> #+end_example

Strange.  I don't get this at all.  In fact, I get no output at all with
your example.  If I change the code to:

#+begin_src maxima
a: 1+1;
print(a);
#+end_src

then I get:

#+results:
: 2 


> Package: Org-mode version 7.5 (release_7.5.435.gd3100)

I am running a newer version of org than you are so maybe update?  I am
also on emacs 24.

HTH,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.457.g85ca)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]