2011/5/20 Francesco Menoncin <menon...@eco.unibs.it>:
> Il 20/05/2011 21:27, Enrico Forestieri ha scritto:
>
> Francesco Menoncin writes:
>
> I am not able to make LyX and Maxima interact.
> I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in
> LyX (Tools->Prefereces->Paths) and reconfigure LyX.
> Nevertheless, when I try to compute something (like 2+2) I just
> obtain an empty space after the formula.
> Any suggestion?
>
> The problem here is that LyX is invoking the command "maxima" but there's
> only a batch file (maxima.bat) to be executed on Windows. Now, LyX 2.0 on
> Windows is not able to execute batch files anymore. You may have better
> luck trying the Cygwin version of LyX , as a bash script "maxima" is also
> supplied and the Cygwin version is able to execute it.
>
> Thank you for your help. I will try Cygwin.
> Nevertheless, I just stress that Maxima and LyX perfectly work together in
> Ubuntu (11.04).
>

This is strange. I tried to find out where any configuration of
command for CAS may lay, and I do not found any. I suspect that if in
Windows the maxima command is .bat, LyX has to launch it with proper
call to cmd.exe - the Windows' command interpreter. This is because
new threaded command launched uses exec() call to launch external
tools.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl

Reply via email to