On 18 Oct 2016, at 12:27, Stephan Witt 
<st.w...@gmx.net<mailto:st.w...@gmx.net>> wrote:

Am 18.10.2016 um 13:10 schrieb Paola Manzini 

On 18 Oct 2016, at 12:05, Kornel Benko <kor...@lyx.org<mailto:kor...@lyx.org>> 

Am Dienstag, 18. Oktober 2016 um 10:57:08, schrieb Paola Manzini 
On 18 Oct 2016, at 11:39, Kornel Benko 
<kor...@lyx.org<mailto:kor...@lyx.org><mailto:kor...@lyx.org>> wrote:

Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
Hi all,

I’ve searched the list and though this is not the first time the problem is 
noted, I haven’t been able to find any solution. The short of it is: it just 
won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, I only 
get a lonely = side to the right of the expression, and no result (see 

I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the same 
problem under Maverick and El Capitan with previous Lyx versions, namely, 
nothing happens.

I have specified the paths correctly (I think) to where the apps are 
(Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
software calling the app (math-extern maxima), or (math-extern mathematica), 
but no result is churned out.

Here is what I have in the "PATH prefix" field under Lyx->Preferences->Paths:

 18/Maple 18.app

Can anyone please help?

Many thanks,


I'd try calling lyx with '-dbg mathed' parameter from a console window.
Alternatively use View->Messages Pane->Settings
Check 'Selected'
Double click on 'mathed - Math editor'
back to 'Output'
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'
Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
12:31:27.889: Automatický úklad hotový.

Here it shows:
12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking expr: 
'5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);'
output: '7'


many thanks Kornel for your prompt reply, I’ve tried what you suggested, and 
what I got is no output, namely:

11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole cell: 
checking expr: '5 + 2'
calling: maxima
input: 'simpsum:true;tex(5 + 2);’

does this suggest where the problem is?

No, missing: output: '7'

What happens if you call maxima from the console window and input the string 
'(5+2);' followed by <Return>?
Here I get:
(%i1) (5+2);
(%o1)                                  7



from the console I get the same as you:
(%i2) 5+2;
(%o2)                                  7

How did you call maxima in terminal?

I have it installed too and it looks like that:
$ ls -l /Applications/Maxima.app/Contents/Resources
total 480
-rw-r--r--@ 1 stephan  admin     577 22 Apr  2013 AppSettings.plist
-rw-r--r--@ 1 stephan  admin   27964 22 Apr  2013 MainMenu.nib
-rw-r--r--@ 1 stephan  admin  198769  4 Dez  2012 appIcon.icns
drwxr-xr-x@ 7 stephan  admin     238 22 Apr  2013 maxima
-rwxr-xr-x@ 1 stephan  admin     341 22 Apr  2013 maxima.sh
-rw-r--r--@ 1 stephan  admin    1358 18 Nov  2012 script
-rwxr-xr-x@ 1 stephan  admin     409 22 Apr  2013 xmaxima.sh
$ /Applications/Maxima.app/Contents/Resources/maxima/bin/maxima
/Applications/Maxima.app/Contents/Resources/maxima/bin/maxima: line 199: exec: 
sbcl: not found
$ /Applications/Maxima.app/Contents/Resources/maxima.sh
Maxima 5.30.0 http://maxima.sourceforge.net
using Lisp SBCL
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.

It seems one has to start maxima.sh to get the command line interface. I’m not 
sure LyX knows it.
In any case one has to add "/Applications/Maxima.app/Contents/Resources“ to the 


thanks Stephan, I used “exec 
'/Applications/Maxima.app/Contents/Resources/maxima.sh’ “

although I also just launch the Maxima.app from the launcher. At any rate I 
have added your line to the path, reconfigured LyX, closed and reopened, but 
alas no change :-(

Reply via email to