Re: [patch] Improving CAS support in LyX

2006-09-25 Thread Enrico Forestieri
On Mon, Sep 25, 2006 at 03:28:12PM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Done. Please, find attached a revised patch against 1.4 (ATM > Enrico> 1.5 is unusable). However, I verified that it still applies to > Enrico> 1.5 a

Re: [patch] Improving CAS support in LyX

2006-09-25 Thread Bo Peng
Enrico, I would welcome this patch in 1.4.4svn. I guess you should apply it to 1.5 forst. The patch is already in 1.5 (I applied it). Bo

Re: [patch] Improving CAS support in LyX

2006-09-25 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> Done. Please, find attached a revised patch against 1.4 (ATM Enrico> 1.5 is unusable). However, I verified that it still applies to Enrico> 1.5 after the substitution RunCommand -> runCommand. Enrico, I would welcome this pat

Re: [patch] Improving CAS support in LyX

2006-08-20 Thread Enrico Forestieri
On Sat, Aug 19, 2006 at 06:32:59PM +0200, Helge Hafting wrote: > > > Index: src/mathed/math_exfuncinset.C > > > === > > > --- src/mathed/math_exfuncinset.C (revision 14586) > > > +++ src/mathed/math_exfuncinset.C (working copy) > > >

Re: [patch] Improving CAS support in LyX

2006-08-20 Thread Helge Hafting
On Sat, Aug 19, 2006 at 11:56:00AM +0200, Andre Poenitz wrote: > On Wed, Aug 09, 2006 at 02:07:20AM +0200, Enrico Forestieri wrote: > > Looking at the sources I had the impression that CAS support was in > > an unfinished state (sort of), > > Correct. It's just in a 'proof-of-concept' state. > >

Re: [patch] Improving CAS support in LyX

2006-08-20 Thread Andre Poenitz
On Sun, Aug 13, 2006 at 08:18:00PM +0100, José Matos wrote: > On Wednesday 09 August 2006 01:07, Enrico Forestieri wrote: > > I recently tried the Computer Algebra System support in LyX and was > > disappointed by the fact that it could not handle the simple formulas > > you find in the attached ca

Re: [patch] Improving CAS support in LyX

2006-08-19 Thread Enrico Forestieri
On Sat, Aug 19, 2006 at 11:56:00AM +0200, Andre Poenitz wrote: > Looks pretty good in general. A few comments nevertheless: > > > +// is this a known function? > > +bool isKnownFunction(string & str) > > Coould be const. Ok. > > + > > + string fromMathematicaName(string const & name) > > +

Re: [patch] Improving CAS support in LyX

2006-08-19 Thread Andre Poenitz
On Sun, Aug 13, 2006 at 12:38:44PM +0200, Georg Baum wrote: > > Please find attached a patch which monotonically improves such support. > > I tested it with octave, maxima, and mathematica. > > This patch is big, and I don't understand the interface well enough to > comment it. If you split out t

Re: [patch] Improving CAS support in LyX

2006-08-19 Thread Andre Poenitz
On Wed, Aug 09, 2006 at 02:07:20AM +0200, Enrico Forestieri wrote: > Looking at the sources I had the impression that CAS support was in > an unfinished state (sort of), Correct. It's just in a 'proof-of-concept' state. > so I tried to improve it. Good idea ;-) > Please find attached a patch w

Re: [patch] Improving CAS support in LyX

2006-08-16 Thread Bo Peng
Yes, this patch should go in trunk I think. I it _really_ makes CAS usable, it could even go in some 1.4 version. Depend on what you think as 'usable'... I just tested the patch for 1.4.x, with maxima (the only app I have) and with the provided lyx file. Everything works perfectly. I propose t

Re: [patch] Improving CAS support in LyX

2006-08-16 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes: José> This patch is self contained, does not interfere with other José> lyx parts. Don't forget this patch, I would like to get it José> committed. :-) Yes, this patch should go in trunk I think. I it _really_ makes CAS usable, it could e

Re: [patch] Improving CAS support in LyX

2006-08-16 Thread José Matos
On Wednesday 09 August 2006 01:07, Enrico Forestieri wrote: > I recently tried the Computer Algebra System support in LyX and was > disappointed by the fact that it could not handle the simple formulas > you find in the attached cas.lyx file. > > Looking at the sources I had the impression that CAS

Re: [patch] Improving CAS support in LyX

2006-08-15 Thread Enrico Forestieri
On Tue, Aug 15, 2006 at 11:24:31AM -0500, Bo Peng wrote: > It tooks me a while to compile clisp and maxima, but I still can not > test your patch (at least it compiles though) because all screen > display and output are strange characters now, due to the ongoing > unicode business. It could also

Re: [patch] Improving CAS support in LyX

2006-08-15 Thread Bo Peng
> > Please find attached a patch which monotonically improves such support. > > I tested it with octave, maxima, and mathematica. Hi, Enrico, It tooks me a while to compile clisp and maxima, but I still can not test your patch (at least it compiles though) because all screen display and output

Re: [patch] Improving CAS support in LyX

2006-08-13 Thread José Matos
On Wednesday 09 August 2006 01:07, Enrico Forestieri wrote: > I recently tried the Computer Algebra System support in LyX and was > disappointed by the fact that it could not handle the simple formulas > you find in the attached cas.lyx file. > > Looking at the sources I had the impression that CAS

Re: [patch] Improving CAS support in LyX

2006-08-13 Thread Enrico Forestieri
On Sun, Aug 13, 2006 at 12:38:44PM +0200, Georg Baum wrote: > Am Mittwoch, 9. August 2006 02:07 schrieb Enrico Forestieri: [...] > > Please find attached a patch which monotonically improves such support. > > I tested it with octave, maxima, and mathematica. > > This patch is big, and I don't und

Re: [patch] Improving CAS support in LyX

2006-08-13 Thread Georg Baum
Am Mittwoch, 9. August 2006 02:07 schrieb Enrico Forestieri: > I recently tried the Computer Algebra System support in LyX and was > disappointed by the fact that it could not handle the simple formulas > you find in the attached cas.lyx file. > > Looking at the sources I had the impression that C

Re: [patch] Improving CAS support in LyX

2006-08-11 Thread Enrico Forestieri
On Thu, Aug 10, 2006 at 11:20:43PM -0500, Bo Peng wrote: > > Please find attached a patch which monotonically improves such support. > > I tested it with octave, maxima, and mathematica. > > I do not have any of them... but I will install octave and test. I think that octave is not suitable for

Re: [patch] Improving CAS support in LyX

2006-08-10 Thread Bo Peng
Please find attached a patch which monotonically improves such support. I tested it with octave, maxima, and mathematica. I do not have any of them... but I will install octave and test. BTW, how difficult it is to add support for other applications like matlab, R, python etc? Thanks. Bo

[patch] Improving CAS support in LyX

2006-08-08 Thread Enrico Forestieri
I recently tried the Computer Algebra System support in LyX and was disappointed by the fact that it could not handle the simple formulas you find in the attached cas.lyx file. Looking at the sources I had the impression that CAS support was in an unfinished state (sort of), so I tried to improve