emacs-orgmode
[Top][All Lists]
Advanced

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

Re: What is the status of ob-maxima.el? Is this a bug?


From: Leo Butler
Subject: Re: What is the status of ob-maxima.el? Is this a bug?
Date: Tue, 5 Dec 2023 16:42:01 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

On Tue, Dec 05 2023, "Fraga, Eric" <e.fraga@ucl.ac.uk> wrote:

> I think ob-maxima will only output the actual explicit "output" of the
> script, so something like
>
> #+begin_src maxima
> print(2+3);
> #+end_src
>
> should work.

With recent versions of ob-maxima.el, you can set header arguments to
get the behaviour Eduardo expected:

#+NAME: batch-quiet-maxima
#+HEADER: :batch batch
#+HEADER: :results raw
#+HEADER: :wrap example
#+HEADER: :cmdline --quiet
#+BEGIN_SRC maxima
  rat(1/(x+1) + x/(x-1));
#+END_SRC

See "An example with line numbering" at
https://orgmode.org/worg//org-contrib/babel/languages/ob-doc-maxima.html

Leo


reply via email to

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