[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Maxima code blocks does not work in windows revisited
From: |
Ihor Radchenko |
Subject: |
Re: [O] Maxima code blocks does not work in windows revisited |
Date: |
Tue, 01 Nov 2022 08:04:24 +0000 |
Mati <mati@electrum-bikes.pl> writes:
> Ok, I got it working somehow. For others reading this: I had to modify
> ~/.emacs.d/straight/repos/org/lisp/ob-maxima.el in emacs(!) so straight
> compiled it to work. you need to replace code at line 82. However, plots
> still doesn't work (code block produced no output) :( pls help.
Do you mean that you changed the code at line 82 inside
org-babel-execute:maxima to
(let* ((cmdline (or (cdr (assoc :cmdline params)) ""))
(in-file (org-babel-temp-file "maxima-" ".max"))
(cmd (format "%s --very-quiet -r \"batchload(\\\"%s\\\")$\" %s"
org-babel-maxima-command in-file cmdline)))
??
(for reference, this email is a followup of
https://orgmode.org/list/CA+ikm3wqA33xP4c3pVV+F2a-gn0dbEzsdx6Vf2cRd+37+u6pBA@mail.gmail.com)
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>