On Tue, Dec 05 2023, "Fraga, Eric" <e.fr...@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