Re: LyX + CAS
> >> Unfortunately the two CAS able to interact with LyX in Win7 are paid. > >> Maybe there is also a workaround for Maxima, which would help the > >> freeware and open source cause :) AFAIK, LyX is open source software, also Octave is open source, so why not supporting Octave as the standard CAS for LyX. The QtOctave works very good on Windows and it has a lot of compatibility with MatLab with a lot of plugins and interactions with Qt. I don´t think supporting a paid software is a good idea because we will be away of the GPL License. Just my 2c Alex
RE: LyX + CAS
Andrew,That indeed worked. Thanks a lot!Pointing to the bin folder solves the deal!Thanks! ;)Good now we have an updated thread on how to solve these issues. > Date: Thu, 5 Sep 2013 10:47:22 +1200 > From: apars...@clear.net.nz > Subject: Re: LyX + CAS > To: c1b...@hotmail.com > > > > On 5/09/2013 10:41 a.m., Andrew Parsloe wrote: > > On 5/09/2013 8:33 a.m., David R. José wrote: > >> Yildizoglu, > >> Found it! > >> Creating a copy of cmaple.exe with the name maple.exe and pointing the > >> LyX path to \bin.win\ at the Maple dir does the deal. > >> Guess there should be a Help Section were we could put this info :) > >> Unfortunately the two CAS able to interact with LyX in Win7 are paid. > >> Maybe there is also a workaround for Maxima, which would help the > >> freeware and open source cause :) > >> Cheeryo! > >> > > > > David, > > > > On my Windows Vista laptop I've installed Maxima to E:\Program > > files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the > > end of the PATH prefix: setting (under Tools > Preferences > Paths) > > > > ;E:\Program files\Maxima-5.25.1-gcl\bin > > > > The bin contains maxima.exe (and various other .exe files as well as > > maxima.bat). Whatever LyX is looking for, it finds it there. When I > > write 1+1 in a maths inset and go through the labyrinth Edit > Math > > > Use Computer Algebra System > Maxima, after a little pause the inset > > changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate > > Maxima, the inset changes to 1+1= without the 2. The selection confuses > > things.) > > > > Andrew > > > A small correction: the bin folder contains xmaxima.exe (rather than > maxima.exe). > > Andrew
Re: LyX + CAS
On 5/09/2013 10:41 a.m., Andrew Parsloe wrote: On 5/09/2013 8:33 a.m., David R. José wrote: Yildizoglu, Found it! Creating a copy of cmaple.exe with the name maple.exe and pointing the LyX path to \bin.win\ at the Maple dir does the deal. Guess there should be a Help Section were we could put this info :) Unfortunately the two CAS able to interact with LyX in Win7 are paid. Maybe there is also a workaround for Maxima, which would help the freeware and open source cause :) Cheeryo! David, On my Windows Vista laptop I've installed Maxima to E:\Program files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the end of the PATH prefix: setting (under Tools > Preferences > Paths) ;E:\Program files\Maxima-5.25.1-gcl\bin The bin contains maxima.exe (and various other .exe files as well as maxima.bat). Whatever LyX is looking for, it finds it there. When I write 1+1 in a maths inset and go through the labyrinth Edit > Math > Use Computer Algebra System > Maxima, after a little pause the inset changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate Maxima, the inset changes to 1+1= without the 2. The selection confuses things.) Andrew A small correction: the bin folder contains xmaxima.exe (rather than maxima.exe). Andrew
Re: LyX + CAS
On 5/09/2013 8:33 a.m., David R. José wrote: Yildizoglu, Found it! Creating a copy of cmaple.exe with the name maple.exe and pointing the LyX path to \bin.win\ at the Maple dir does the deal. Guess there should be a Help Section were we could put this info :) Unfortunately the two CAS able to interact with LyX in Win7 are paid. Maybe there is also a workaround for Maxima, which would help the freeware and open source cause :) Cheeryo! David, On my Windows Vista laptop I've installed Maxima to E:\Program files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the end of the PATH prefix: setting (under Tools > Preferences > Paths) ;E:\Program files\Maxima-5.25.1-gcl\bin The bin contains maxima.exe (and various other .exe files as well as maxima.bat). Whatever LyX is looking for, it finds it there. When I write 1+1 in a maths inset and go through the labyrinth Edit > Math > Use Computer Algebra System > Maxima, after a little pause the inset changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate Maxima, the inset changes to 1+1= without the 2. The selection confuses things.) Andrew
Re: LyX + CAS
David R. José wrote: > Guess there should be a Help Section were we could put this info :) You are most welcome to write such a paragraph into section 23 of LyX Math Manual and send it back to the list so we add it to the official documentation. Pavel
Re: LyX + CAS
Hi David, A last idea for Maxima. Could you launch wxmxima and look at its preferences if there is some configuration setting where you are supposed to tell it the location of the server? If yes, the path indicated there should make your day, hopefully. 2013/9/4 David R. José > Yildizoglu, > Found it! > Creating a copy of cmaple.exe with the name maple.exe and pointing the LyX > path to \bin.win\ at the Maple dir does the deal. > Guess there should be a Help Section were we could put this info :) > Unfortunately the two CAS able to interact with LyX in Win7 are paid. > Maybe there is also a workaround for Maxima, which would help the freeware > and open source cause :) > Cheeryo! > > > > -- > From: myi...@gmail.com > Date: Wed, 4 Sep 2013 21:54:11 +0200 > Subject: Re: LyX + CAS > To: c1b...@hotmail.com; lyx-users@lists.lyx.org > > David, > I cannot tell for Maxima, because I have never used it under Windows, but > for Maple I am pretty sure, there is normally an exe for the server, but I > do not remember if it lives in another foder that win.exe. My experiments > were with Windows XP, and the server was a Dos program, executed in text > mode in a console. In more modern versions of Maple and Windows, I am not > sure that this separation is kept. Sorry for not being more helpful. Maybe > a user of Maple under Windows 7/8 could help. Under OSX, both maxima and > Maple can be used as a CAS for simple computations (I have just checked > again to bu sure). > > > 2013/9/4 David R. José > > Yildizoglu, > I've tried searching for a maxima.exe which could be the server. Found one > in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing > happened when I tried inside LyX. > Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No > maple.exe per se available. > Pointing to any .exe used to start the GUI doesn't work, as foretold by > you. > > Scott, > If you need any more info or tests performed, just get in touch. > > -- > From: myi...@gmail.com > Date: Wed, 4 Sep 2013 21:31:06 +0200 > Subject: Re: LyX + CAS > To: c1b...@hotmail.com > CC: lyx-users@lists.lyx.org > > Just to complete my previous message, for Maple, the situation is even > more complex: > > - The GUI lives in: /Applications/Maple 17/Maple 17.app > - While the server in: > /Library/Frameworks/Maple.framework/Versions/17/bin/maple > > and Lyx needs the second one, not the first, in the path variable. > > > 2013/9/4 David R. José > > Scott, > The first thing I tried was creating a copy of wxmaxima.exe with the name > of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, > that froze with the following message: "wxMaxima could not find Maxima! > Please configure wxMaxima with 'Edit->Configure'. Then start maxima with > 'Maxima->Restart Maxima'. > At the Configure menu, "Maxima Program" path points to the .bat previously > mentioned. Opening the .bat file opens a console (which I have no idea what > it's for), and waits for input commands. From there on, no idea. > This the farthest point to which my knowledge goes... and where I decided > to try Mathematica out. > > David > > > Date: Wed, 4 Sep 2013 14:46:48 -0400 > > Subject: Re: LyX + CAS > > From: skost...@princeton.edu > > To: c1b...@hotmail.com > > CC: lyx-users@lists.lyx.org > > > > Good work debugging, David. > > > > As I said, I don't use Windows, but if this problem occurred under > > Linux the first thing I would try is to create a symlink (perhaps in > > Windows this is similar to a "shortcut"?) for "maxima.exe", which > > points to wxMaxima.exe. Does that work? > > > > If that does not work, the next thing I would try (on Linux) is to > > create a script called "maxima.exe" which runs wxMaxima.exe with the > > same arguments and pipes it was passed. On Windows perhaps a batch > > file called "maxima.exe" could do this? But then again, I think > > Windows pays close attention to suffixes in which case batch files > > must end in ".bat" so this would not work? > > > > I suppose neither of these would work if you don't have Administrator > > privileges though? > > > > Scott > > > > On Wed, Sep 4, 2013 at 2:35 PM, David R. José > wrote: > > > Scott, thanks to you I've found the trick. > > > Never realized I could find the issue viewing the Messages log :) > > > For those out there who are having the same issue: there is no > solution. >
RE: LyX + CAS
Yildizoglu, Found it!Creating a copy of cmaple.exe with the name maple.exe and pointing the LyX path to \bin.win\ at the Maple dir does the deal.Guess there should be a Help Section were we could put this info :)Unfortunately the two CAS able to interact with LyX in Win7 are paid.Maybe there is also a workaround for Maxima, which would help the freeware and open source cause :)Cheeryo! From: myi...@gmail.com Date: Wed, 4 Sep 2013 21:54:11 +0200 Subject: Re: LyX + CAS To: c1b...@hotmail.com; lyx-users@lists.lyx.org David, I cannot tell for Maxima, because I have never used it under Windows, but for Maple I am pretty sure, there is normally an exe for the server, but I do not remember if it lives in another foder that win.exe. My experiments were with Windows XP, and the server was a Dos program, executed in text mode in a console. In more modern versions of Maple and Windows, I am not sure that this separation is kept. Sorry for not being more helpful. Maybe a user of Maple under Windows 7/8 could help. Under OSX, both maxima and Maple can be used as a CAS for simple computations (I have just checked again to bu sure). 2013/9/4 David R. José Yildizoglu,I've tried searching for a maxima.exe which could be the server. Found one in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing happened when I tried inside LyX. Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No maple.exe per se available.Pointing to any .exe used to start the GUI doesn't work, as foretold by you. Scott,If you need any more info or tests performed, just get in touch. From: myi...@gmail.com Date: Wed, 4 Sep 2013 21:31:06 +0200 Subject: Re: LyX + CAS To: c1b...@hotmail.com CC: lyx-users@lists.lyx.org Just to complete my previous message, for Maple, the situation is even more complex: - The GUI lives in: /Applications/Maple 17/Maple 17.app - While the server in: /Library/Frameworks/Maple.framework/Versions/17/bin/maple and Lyx needs the second one, not the first, in the path variable. 2013/9/4 David R. José Scott,The first thing I tried was creating a copy of wxmaxima.exe with the name of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, that froze with the following message: "wxMaxima could not find Maxima! Please configure wxMaxima with 'Edit->Configure'. Then start maxima with 'Maxima->Restart Maxima'. At the Configure menu, "Maxima Program" path points to the .bat previously mentioned. Opening the .bat file opens a console (which I have no idea what it's for), and waits for input commands. From there on, no idea. This the farthest point to which my knowledge goes... and where I decided to try Mathematica out. David > Date: Wed, 4 Sep 2013 14:46:48 -0400 > Subject: Re: LyX + CAS > From: skost...@princeton.edu > To: c1b...@hotmail.com > CC: lyx-users@lists.lyx.org > > Good work debugging, David. > > As I said, I don't use Windows, but if this problem occurred under > Linux the first thing I would try is to create a symlink (perhaps in > Windows this is similar to a "shortcut"?) for "maxima.exe", which > points to wxMaxima.exe. Does that work? > > If that does not work, the next thing I would try (on Linux) is to > create a script called "maxima.exe" which runs wxMaxima.exe with the > same arguments and pipes it was passed. On Windows perhaps a batch > file called "maxima.exe" could do this? But then again, I think > Windows pays close attention to suffixes in which case batch files > must end in ".bat" so this would not work? > > I suppose neither of these would work if you don't have Administrator > privileges though? > > Scott > > On Wed, Sep 4, 2013 at 2:35 PM, David R. José wrote: > > Scott, thanks to you I've found the trick. > > Never realized I could find the issue viewing the Messages log :) > > For those out there who are having the same issue: there is no solution. > > LyX tries to find the CAS_names.exe at the pointed dir. > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is > > simply no way to do it. > > I also failed to do the same with Maple. > > But it worked with Mathematica :) > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core. > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram > > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences -> > > Paths. Save it and CAS -> Mathematica should work fine ;) > > > >> Date: Wed, 4 Sep 2013 12:11:09 -0400 > >> Subject: Re: LyX + CAS > >> From: skost...@princeton.edu > >> To: c
Re: LyX + CAS
David, I cannot tell for Maxima, because I have never used it under Windows, but for Maple I am pretty sure, there is normally an exe for the server, but I do not remember if it lives in another foder that win.exe. My experiments were with Windows XP, and the server was a Dos program, executed in text mode in a console. In more modern versions of Maple and Windows, I am not sure that this separation is kept. Sorry for not being more helpful. Maybe a user of Maple under Windows 7/8 could help. Under OSX, both maxima and Maple can be used as a CAS for simple computations (I have just checked again to bu sure). 2013/9/4 David R. José > Yildizoglu, > I've tried searching for a maxima.exe which could be the server. Found one > in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing > happened when I tried inside LyX. > Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No > maple.exe per se available. > Pointing to any .exe used to start the GUI doesn't work, as foretold by > you. > > Scott, > If you need any more info or tests performed, just get in touch. > > -- > From: myi...@gmail.com > Date: Wed, 4 Sep 2013 21:31:06 +0200 > Subject: Re: LyX + CAS > To: c1b...@hotmail.com > CC: lyx-users@lists.lyx.org > > Just to complete my previous message, for Maple, the situation is even > more complex: > > - The GUI lives in: /Applications/Maple 17/Maple 17.app > - While the server in: > /Library/Frameworks/Maple.framework/Versions/17/bin/maple > > and Lyx needs the second one, not the first, in the path variable. > > > 2013/9/4 David R. José > > Scott, > The first thing I tried was creating a copy of wxmaxima.exe with the name > of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, > that froze with the following message: "wxMaxima could not find Maxima! > Please configure wxMaxima with 'Edit->Configure'. Then start maxima with > 'Maxima->Restart Maxima'. > At the Configure menu, "Maxima Program" path points to the .bat previously > mentioned. Opening the .bat file opens a console (which I have no idea what > it's for), and waits for input commands. From there on, no idea. > This the farthest point to which my knowledge goes... and where I decided > to try Mathematica out. > > David > > > Date: Wed, 4 Sep 2013 14:46:48 -0400 > > Subject: Re: LyX + CAS > > From: skost...@princeton.edu > > To: c1b...@hotmail.com > > CC: lyx-users@lists.lyx.org > > > > Good work debugging, David. > > > > As I said, I don't use Windows, but if this problem occurred under > > Linux the first thing I would try is to create a symlink (perhaps in > > Windows this is similar to a "shortcut"?) for "maxima.exe", which > > points to wxMaxima.exe. Does that work? > > > > If that does not work, the next thing I would try (on Linux) is to > > create a script called "maxima.exe" which runs wxMaxima.exe with the > > same arguments and pipes it was passed. On Windows perhaps a batch > > file called "maxima.exe" could do this? But then again, I think > > Windows pays close attention to suffixes in which case batch files > > must end in ".bat" so this would not work? > > > > I suppose neither of these would work if you don't have Administrator > > privileges though? > > > > Scott > > > > On Wed, Sep 4, 2013 at 2:35 PM, David R. José > wrote: > > > Scott, thanks to you I've found the trick. > > > Never realized I could find the issue viewing the Messages log :) > > > For those out there who are having the same issue: there is no > solution. > > > LyX tries to find the CAS_names.exe at the pointed dir. > > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, > there is > > > simply no way to do it. > > > I also failed to do the same with Maple. > > > But it worked with Mathematica :) > > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core. > > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram > > > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences > -> > > > Paths. Save it and CAS -> Mathematica should work fine ;) > > > > > >> Date: Wed, 4 Sep 2013 12:11:09 -0400 > > >> Subject: Re: LyX + CAS > > >> From: skost...@princeton.edu > > >> To: c1b...@hotmail.com > > >> CC: lyx-users@lists.lyx.org > > > > > >> > > >> On Wed, Sep 4, 2013 at 10:2
Re: LyX + CAS
David, To my knowledge (I am not an expert on Maxima), wxmaxima is the graphical interface and you should have a server called maxima.exe somewhere in a sub-folder. I cannot check it because I am not under windows anymore, but this is what I have in OSX (in fact, we have two different applications: Maxima and wxmaxima). The same is true also for Maple: you normally have an executable for the GUI, and another for the computation server. Lyx normally needs to have access to the server. So you should give in the path the path to the server, and not the one to the GUI. Just my two cents. Murat 2013/9/4 David R. José > Scott, > The first thing I tried was creating a copy of wxmaxima.exe with the name > of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, > that froze with the following message: "wxMaxima could not find Maxima! > Please configure wxMaxima with 'Edit->Configure'. Then start maxima with > 'Maxima->Restart Maxima'. > At the Configure menu, "Maxima Program" path points to the .bat previously > mentioned. Opening the .bat file opens a console (which I have no idea what > it's for), and waits for input commands. From there on, no idea. > This the farthest point to which my knowledge goes... and where I decided > to try Mathematica out. > > David > > > Date: Wed, 4 Sep 2013 14:46:48 -0400 > > Subject: Re: LyX + CAS > > From: skost...@princeton.edu > > To: c1b...@hotmail.com > > CC: lyx-users@lists.lyx.org > > > > Good work debugging, David. > > > > As I said, I don't use Windows, but if this problem occurred under > > Linux the first thing I would try is to create a symlink (perhaps in > > Windows this is similar to a "shortcut"?) for "maxima.exe", which > > points to wxMaxima.exe. Does that work? > > > > If that does not work, the next thing I would try (on Linux) is to > > create a script called "maxima.exe" which runs wxMaxima.exe with the > > same arguments and pipes it was passed. On Windows perhaps a batch > > file called "maxima.exe" could do this? But then again, I think > > Windows pays close attention to suffixes in which case batch files > > must end in ".bat" so this would not work? > > > > I suppose neither of these would work if you don't have Administrator > > privileges though? > > > > Scott > > > > On Wed, Sep 4, 2013 at 2:35 PM, David R. José > wrote: > > > Scott, thanks to you I've found the trick. > > > Never realized I could find the issue viewing the Messages log :) > > > For those out there who are having the same issue: there is no > solution. > > > LyX tries to find the CAS_names.exe at the pointed dir. > > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, > there is > > > simply no way to do it. > > > I also failed to do the same with Maple. > > > But it worked with Mathematica :) > > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core. > > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram > > > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences > -> > > > Paths. Save it and CAS -> Mathematica should work fine ;) > > > > > >> Date: Wed, 4 Sep 2013 12:11:09 -0400 > > >> Subject: Re: LyX + CAS > > >> From: skost...@princeton.edu > > >> To: c1b...@hotmail.com > > >> CC: lyx-users@lists.lyx.org > > > > > >> > > >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José > wrote: > > >> > Hello. > > >> > I've been having trouble in pairing LyX and a CAS. > > >> > While trying to use Maxima and Maple, I've added the address (eg: > > >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools -> > > >> > Preferences -> Paths. > > >> > Still no results in even solving a simple 2+2 in Math mode. All I > get is > > >> > a > > >> > equal sign with an empty space beside it. > > >> > LyX 2.0.6 > > >> > wxMaxima 12.04.0 > > >> > Maple 16 > > >> > Win 7 x64 SP1 > > >> > > > >> > Has someone successfully paired LyX and a CAS in Windows? > > >> > Any help on what or where my problem is at? > > >> > > >> I do not have Windows. But you could try seeing if View > Messages > > >> provides some useful output. > > >> > > >> Scott > -- Prof. Murat Yildizoglu Université Montesquieu Bordeaux IV GREThA (UMR CNRS 5113) Avenue Léon Duguit 33608 Pessac cedex France Bureau : E-331 mail: yildi-at-u-bordeaux4.fr web: yildizoglu.info
Re: LyX + CAS
Just to complete my previous message, for Maple, the situation is even more complex: - The GUI lives in: /Applications/Maple 17/Maple 17.app - While the server in: /Library/Frameworks/Maple.framework/Versions/17/bin/maple and Lyx needs the second one, not the first, in the path variable. 2013/9/4 David R. José > Scott, > The first thing I tried was creating a copy of wxmaxima.exe with the name > of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, > that froze with the following message: "wxMaxima could not find Maxima! > Please configure wxMaxima with 'Edit->Configure'. Then start maxima with > 'Maxima->Restart Maxima'. > At the Configure menu, "Maxima Program" path points to the .bat previously > mentioned. Opening the .bat file opens a console (which I have no idea what > it's for), and waits for input commands. From there on, no idea. > This the farthest point to which my knowledge goes... and where I decided > to try Mathematica out. > > David > > > Date: Wed, 4 Sep 2013 14:46:48 -0400 > > Subject: Re: LyX + CAS > > From: skost...@princeton.edu > > To: c1b...@hotmail.com > > CC: lyx-users@lists.lyx.org > > > > Good work debugging, David. > > > > As I said, I don't use Windows, but if this problem occurred under > > Linux the first thing I would try is to create a symlink (perhaps in > > Windows this is similar to a "shortcut"?) for "maxima.exe", which > > points to wxMaxima.exe. Does that work? > > > > If that does not work, the next thing I would try (on Linux) is to > > create a script called "maxima.exe" which runs wxMaxima.exe with the > > same arguments and pipes it was passed. On Windows perhaps a batch > > file called "maxima.exe" could do this? But then again, I think > > Windows pays close attention to suffixes in which case batch files > > must end in ".bat" so this would not work? > > > > I suppose neither of these would work if you don't have Administrator > > privileges though? > > > > Scott > > > > On Wed, Sep 4, 2013 at 2:35 PM, David R. José > wrote: > > > Scott, thanks to you I've found the trick. > > > Never realized I could find the issue viewing the Messages log :) > > > For those out there who are having the same issue: there is no > solution. > > > LyX tries to find the CAS_names.exe at the pointed dir. > > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, > there is > > > simply no way to do it. > > > I also failed to do the same with Maple. > > > But it worked with Mathematica :) > > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core. > > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram > > > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences > -> > > > Paths. Save it and CAS -> Mathematica should work fine ;) > > > > > >> Date: Wed, 4 Sep 2013 12:11:09 -0400 > > >> Subject: Re: LyX + CAS > > >> From: skost...@princeton.edu > > >> To: c1b...@hotmail.com > > >> CC: lyx-users@lists.lyx.org > > > > > >> > > >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José > wrote: > > >> > Hello. > > >> > I've been having trouble in pairing LyX and a CAS. > > >> > While trying to use Maxima and Maple, I've added the address (eg: > > >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools -> > > >> > Preferences -> Paths. > > >> > Still no results in even solving a simple 2+2 in Math mode. All I > get is > > >> > a > > >> > equal sign with an empty space beside it. > > >> > LyX 2.0.6 > > >> > wxMaxima 12.04.0 > > >> > Maple 16 > > >> > Win 7 x64 SP1 > > >> > > > >> > Has someone successfully paired LyX and a CAS in Windows? > > >> > Any help on what or where my problem is at? > > >> > > >> I do not have Windows. But you could try seeing if View > Messages > > >> provides some useful output. > > >> > > >> Scott > -- Prof. Murat Yildizoglu Université Montesquieu Bordeaux IV GREThA (UMR CNRS 5113) Avenue Léon Duguit 33608 Pessac cedex France Bureau : E-331 mail: yildi-at-u-bordeaux4.fr web: yildizoglu.info
Re: LyX + CAS
David, Thanks for the explanations. I am forwarding this to the development list to see if anyone has an idea of the best solution. Scott On Wed, Sep 4, 2013 at 3:09 PM, David R. José wrote: > Scott, > The first thing I tried was creating a copy of wxmaxima.exe with the name of > maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, > that froze with the following message: "wxMaxima could not find Maxima! > Please configure wxMaxima with 'Edit->Configure'. Then start maxima with > 'Maxima->Restart Maxima'. > At the Configure menu, "Maxima Program" path points to the .bat previously > mentioned. Opening the .bat file opens a console (which I have no idea what > it's for), and waits for input commands. From there on, no idea. > This the farthest point to which my knowledge goes... and where I decided to > try Mathematica out. > > David > >> Date: Wed, 4 Sep 2013 14:46:48 -0400 > >> Subject: Re: LyX + CAS >> From: skost...@princeton.edu >> To: c1b...@hotmail.com >> CC: lyx-users@lists.lyx.org >> >> Good work debugging, David. >> >> As I said, I don't use Windows, but if this problem occurred under >> Linux the first thing I would try is to create a symlink (perhaps in >> Windows this is similar to a "shortcut"?) for "maxima.exe", which >> points to wxMaxima.exe. Does that work? >> >> If that does not work, the next thing I would try (on Linux) is to >> create a script called "maxima.exe" which runs wxMaxima.exe with the >> same arguments and pipes it was passed. On Windows perhaps a batch >> file called "maxima.exe" could do this? But then again, I think >> Windows pays close attention to suffixes in which case batch files >> must end in ".bat" so this would not work? >> >> I suppose neither of these would work if you don't have Administrator >> privileges though? >> >> Scott >> >> On Wed, Sep 4, 2013 at 2:35 PM, David R. José wrote: >> > Scott, thanks to you I've found the trick. >> > Never realized I could find the issue viewing the Messages log :) >> > For those out there who are having the same issue: there is no solution. >> > LyX tries to find the CAS_names.exe at the pointed dir. >> > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there >> > is >> > simply no way to do it. >> > I also failed to do the same with Maple. >> > But it worked with Mathematica :) >> > Mathematica 9 has a Mathematica.exe, which indeed IS the very core. >> > So, just point to, (usually, under win7) "C:\Program Files\Wolfram >> > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences >> > -> >> > Paths. Save it and CAS -> Mathematica should work fine ;) >> > >> >> Date: Wed, 4 Sep 2013 12:11:09 -0400 >> >> Subject: Re: LyX + CAS >> >> From: skost...@princeton.edu >> >> To: c1b...@hotmail.com >> >> CC: lyx-users@lists.lyx.org >> > >> >> >> >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José >> >> wrote: >> >> > Hello. >> >> > I've been having trouble in pairing LyX and a CAS. >> >> > While trying to use Maxima and Maple, I've added the address (eg: >> >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools -> >> >> > Preferences -> Paths. >> >> > Still no results in even solving a simple 2+2 in Math mode. All I get >> >> > is >> >> > a >> >> > equal sign with an empty space beside it. >> >> > LyX 2.0.6 >> >> > wxMaxima 12.04.0 >> >> > Maple 16 >> >> > Win 7 x64 SP1 >> >> > >> >> > Has someone successfully paired LyX and a CAS in Windows? >> >> > Any help on what or where my problem is at? >> >> >> >> I do not have Windows. But you could try seeing if View > Messages >> >> provides some useful output. >> >> >> >> Scott
RE: LyX + CAS
Scott,The first thing I tried was creating a copy of wxmaxima.exe with the name of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, that froze with the following message: "wxMaxima could not find Maxima! Please configure wxMaxima with 'Edit->Configure'. Then start maxima with 'Maxima->Restart Maxima'. At the Configure menu, "Maxima Program" path points to the .bat previously mentioned. Opening the .bat file opens a console (which I have no idea what it's for), and waits for input commands. From there on, no idea.This the farthest point to which my knowledge goes... and where I decided to try Mathematica out. David > Date: Wed, 4 Sep 2013 14:46:48 -0400 > Subject: Re: LyX + CAS > From: skost...@princeton.edu > To: c1b...@hotmail.com > CC: lyx-users@lists.lyx.org > > Good work debugging, David. > > As I said, I don't use Windows, but if this problem occurred under > Linux the first thing I would try is to create a symlink (perhaps in > Windows this is similar to a "shortcut"?) for "maxima.exe", which > points to wxMaxima.exe. Does that work? > > If that does not work, the next thing I would try (on Linux) is to > create a script called "maxima.exe" which runs wxMaxima.exe with the > same arguments and pipes it was passed. On Windows perhaps a batch > file called "maxima.exe" could do this? But then again, I think > Windows pays close attention to suffixes in which case batch files > must end in ".bat" so this would not work? > > I suppose neither of these would work if you don't have Administrator > privileges though? > > Scott > > On Wed, Sep 4, 2013 at 2:35 PM, David R. José wrote: > > Scott, thanks to you I've found the trick. > > Never realized I could find the issue viewing the Messages log :) > > For those out there who are having the same issue: there is no solution. > > LyX tries to find the CAS_names.exe at the pointed dir. > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is > > simply no way to do it. > > I also failed to do the same with Maple. > > But it worked with Mathematica :) > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core. > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram > > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences -> > > Paths. Save it and CAS -> Mathematica should work fine ;) > > > >> Date: Wed, 4 Sep 2013 12:11:09 -0400 > >> Subject: Re: LyX + CAS > >> From: skost...@princeton.edu > >> To: c1b...@hotmail.com > >> CC: lyx-users@lists.lyx.org > > > >> > >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José wrote: > >> > Hello. > >> > I've been having trouble in pairing LyX and a CAS. > >> > While trying to use Maxima and Maple, I've added the address (eg: > >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools -> > >> > Preferences -> Paths. > >> > Still no results in even solving a simple 2+2 in Math mode. All I get is > >> > a > >> > equal sign with an empty space beside it. > >> > LyX 2.0.6 > >> > wxMaxima 12.04.0 > >> > Maple 16 > >> > Win 7 x64 SP1 > >> > > >> > Has someone successfully paired LyX and a CAS in Windows? > >> > Any help on what or where my problem is at? > >> > >> I do not have Windows. But you could try seeing if View > Messages > >> provides some useful output. > >> > >> Scott
Re: LyX + CAS
Good work debugging, David. As I said, I don't use Windows, but if this problem occurred under Linux the first thing I would try is to create a symlink (perhaps in Windows this is similar to a "shortcut"?) for "maxima.exe", which points to wxMaxima.exe. Does that work? If that does not work, the next thing I would try (on Linux) is to create a script called "maxima.exe" which runs wxMaxima.exe with the same arguments and pipes it was passed. On Windows perhaps a batch file called "maxima.exe" could do this? But then again, I think Windows pays close attention to suffixes in which case batch files must end in ".bat" so this would not work? I suppose neither of these would work if you don't have Administrator privileges though? Scott On Wed, Sep 4, 2013 at 2:35 PM, David R. José wrote: > Scott, thanks to you I've found the trick. > Never realized I could find the issue viewing the Messages log :) > For those out there who are having the same issue: there is no solution. > LyX tries to find the CAS_names.exe at the pointed dir. > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is > simply no way to do it. > I also failed to do the same with Maple. > But it worked with Mathematica :) > Mathematica 9 has a Mathematica.exe, which indeed IS the very core. > So, just point to, (usually, under win7) "C:\Program Files\Wolfram > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences -> > Paths. Save it and CAS -> Mathematica should work fine ;) > >> Date: Wed, 4 Sep 2013 12:11:09 -0400 >> Subject: Re: LyX + CAS >> From: skost...@princeton.edu >> To: c1b...@hotmail.com >> CC: lyx-users@lists.lyx.org > >> >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José wrote: >> > Hello. >> > I've been having trouble in pairing LyX and a CAS. >> > While trying to use Maxima and Maple, I've added the address (eg: >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools -> >> > Preferences -> Paths. >> > Still no results in even solving a simple 2+2 in Math mode. All I get is >> > a >> > equal sign with an empty space beside it. >> > LyX 2.0.6 >> > wxMaxima 12.04.0 >> > Maple 16 >> > Win 7 x64 SP1 >> > >> > Has someone successfully paired LyX and a CAS in Windows? >> > Any help on what or where my problem is at? >> >> I do not have Windows. But you could try seeing if View > Messages >> provides some useful output. >> >> Scott
RE: LyX + CAS
Scott, thanks to you I've found the trick.Never realized I could find the issue viewing the Messages log :)For those out there who are having the same issue: there is no solution.LyX tries to find the CAS_names.exe at the pointed dir.Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is simply no way to do it.I also failed to do the same with Maple.But it worked with Mathematica :)Mathematica 9 has a Mathematica.exe, which indeed IS the very core.So, just point to, (usually, under win7) "C:\Program Files\Wolfram Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences -> Paths. Save it and CAS -> Mathematica should work fine ;) > Date: Wed, 4 Sep 2013 12:11:09 -0400 > Subject: Re: LyX + CAS > From: skost...@princeton.edu > To: c1b...@hotmail.com > CC: lyx-users@lists.lyx.org > > On Wed, Sep 4, 2013 at 10:24 AM, David R. José wrote: > > Hello. > > I've been having trouble in pairing LyX and a CAS. > > While trying to use Maxima and Maple, I've added the address (eg: > > c:\maxima\) where the .exe is to the "Path prefix" under Tools -> > > Preferences -> Paths. > > Still no results in even solving a simple 2+2 in Math mode. All I get is a > > equal sign with an empty space beside it. > > LyX 2.0.6 > > wxMaxima 12.04.0 > > Maple 16 > > Win 7 x64 SP1 > > > > Has someone successfully paired LyX and a CAS in Windows? > > Any help on what or where my problem is at? > > I do not have Windows. But you could try seeing if View > Messages > provides some useful output. > > Scott
Re: LyX + CAS
On Wed, Sep 4, 2013 at 10:24 AM, David R. José wrote: > Hello. > I've been having trouble in pairing LyX and a CAS. > While trying to use Maxima and Maple, I've added the address (eg: > c:\maxima\) where the .exe is to the "Path prefix" under Tools -> > Preferences -> Paths. > Still no results in even solving a simple 2+2 in Math mode. All I get is a > equal sign with an empty space beside it. > LyX 2.0.6 > wxMaxima 12.04.0 > Maple 16 > Win 7 x64 SP1 > > Has someone successfully paired LyX and a CAS in Windows? > Any help on what or where my problem is at? I do not have Windows. But you could try seeing if View > Messages provides some useful output. Scott