From: Leo Butler <Leo.Butler@umanitoba.ca>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: What is the status of ob-maxima.el? Is this a bug?
Date: Tue, 5 Dec 2023 16:42:01 +0000 [thread overview]
Message-ID: <87fs0geh47.fsf@t14.reltub.ca> (raw)
In-Reply-To: <877cltq6kc.fsf@ucl.ac.uk> (Eric Fraga's message of "Tue, 5 Dec 2023 10:36:52 +0000")
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
next prev parent reply other threads:[~2023-12-05 16:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 1:41 What is the status of ob-maxima.el? Is this a bug? Eduardo Ochs
2023-12-05 10:36 ` Fraga, Eric
2023-12-05 11:34 ` Eduardo Ochs
2023-12-05 13:22 ` Fraga, Eric
2023-12-05 16:42 ` Leo Butler [this message]
2023-12-05 16:49 ` Fraga, Eric
2023-12-05 16:59 ` Leo Butler
2023-12-05 17:16 ` Fraga, Eric
2023-12-05 20:18 ` Leo Butler
2023-12-06 14:15 ` Fraga, Eric
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=87fs0geh47.fsf@t14.reltub.ca \
--to=leo.butler@umanitoba.ca \
--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).