Re: "math-extern" in lyx-1.2.0 is fantastic!

2002-05-30 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> I personally only use the octave "backend" as some kind of Andre> built-in calculator, but if people are using it for serious Andre> work I think it could be added to the announcement at least on Andre> the web page. I can do that

Re: "math-extern" in lyx-1.2.0 is fantastic!

2002-05-29 Thread cghan
On Thu, 30 May 2002, Andre Poenitz wrote: > > I've seen that this feature was not mentioned in the announcement, but than > this is really not complete yet, and, more important, it is really just a > big hack. I know. But end-users don't mind whether it is a hack or incomplete, as long as it

Re: "math-extern" in lyx-1.2.0 is fantastic!

2002-05-29 Thread Andre Poenitz
On Thu, May 30, 2002 at 11:05:51AM +0900, [EMAIL PROTECTED] wrote: > I'm surprised that in the lyx-1.2.0 announcement, there's no mention of > "math-extern" function in the newly added features. > > I have been using "math-extern" with Maple nearly everyday for several > months and it becomes qui

Re: "math-extern" in lyx-1.2.0 is fantastic!

2002-05-29 Thread John Levon
On Thu, May 30, 2002 at 11:05:51AM +0900, [EMAIL PROTECTED] wrote: > I'm surprised that in the lyx-1.2.0 announcement, there's no mention of > "math-extern" function in the newly added features. This is what comes of somebody who doesn't use mathed writing the announcement ... oh well :) regar

Re: math-extern stuff

2001-11-15 Thread Andre Poenitz
On Thu, Nov 15, 2001 at 12:11:17PM -0400, Garst R. Reese wrote: > > Is there an "open source issue"? > Don't know. I doubt there is. Neither the LyX build nor running LyX depends on one of the CAS mentioned. I am pretty sure that this does not count as "linking" even if RMS is in a really bad m

Re: math-extern stuff

2001-11-15 Thread Andre Poenitz
On Thu, Nov 15, 2001 at 11:20:30AM -0400, Garst R. Reese wrote: > But wouldn't the external scripting option avoid the open source issue? Is there an "open source issue"? > It could also serve the music problem. Which one? Andre' -- André Pönitz ...

Re: math-extern stuff

2001-11-15 Thread Andre Poenitz
On Thu, Nov 15, 2001 at 12:53:17PM +0100, Otto Tronarp wrote: > Yes it does, but it includes some extra stuff that we probably need to > ignore in some way. So there is no technical reason not to support this. I won't have the time though... Andre' -- André Pönitz .

Re: math-extern stuff

2001-11-15 Thread Otto Tronarp
On Thu, 2001-11-15 at 11:50, Andre Poenitz wrote: > On Thu, Nov 15, 2001 at 10:34:16AM +, Jules Bean wrote: > > Would be cool to have the interface for some free software algebra, if > > anything exists. > > I thing MuPAD should work instead of Maple without much tweaking. The > syntax is alm

Re: math-extern stuff

2001-11-15 Thread Dekel Tsur
On Thu, Nov 15, 2001 at 11:50:08AM +0100, Andre Poenitz wrote: > On Thu, Nov 15, 2001 at 10:34:16AM +, Jules Bean wrote: > > Would be cool to have the interface for some free software algebra, if > > anything exists. > > I thing MuPAD should work instead of Maple without much tweaking. The >

Re: math-extern stuff

2001-11-15 Thread Andre Poenitz
On Thu, Nov 15, 2001 at 10:34:16AM +, Jules Bean wrote: > Would be cool to have the interface for some free software algebra, if > anything exists. I thing MuPAD should work instead of Maple without much tweaking. The syntax is almost identical... > YACAS is the only one I know about: > http

Re: math-extern stuff

2001-11-15 Thread Jules Bean
On Thu, Nov 15, 2001 at 08:24:04AM +0100, Andre Poenitz wrote: > On Wed, Nov 14, 2001 at 01:38:11PM -0400, Garst R. Reese wrote: > > math-extern octave simplify > > No, octave can't simplify. But Maple can: Would be cool to have the interface for some free software algebra, if anything exists.

Re: math-extern stuff

2001-11-15 Thread Dekel Tsur
On Thu, Nov 15, 2001 at 08:24:04AM +0100, Andre Poenitz wrote: > On Wed, Nov 14, 2001 at 01:38:11PM -0400, Garst R. Reese wrote: > > math-extern octave simplify > > No, octave can't simplify. But Maple can: > > > math-extern maple simplify > > > lyx: SIGSEGV signal caught > > This, of course s

Re: math-extern stuff

2001-11-14 Thread Andre Poenitz
On Wed, Nov 14, 2001 at 01:38:11PM -0400, Garst R. Reese wrote: > math-extern octave simplify No, octave can't simplify. But Maple can: > math-extern maple simplify > lyx: SIGSEGV signal caught This, of course shoul not happen... Andre' -- André Pönitz ..

Re: math-extern stuff

2001-11-14 Thread Andre Poenitz
On Wed, Nov 14, 2001 at 01:05:19PM -0400, Garst R. Reese wrote: > > Andre> \sin ^2 x + \cos ^2 xmath-extern maple > > Andre> simplify > > I'm trying to do this with octave, but can't find the math-extern stuff. > C-x is bound to cut. What am I missing? The tricky part is to correct my typos. It

Re: math-extern stuff

2001-11-14 Thread Dekel Tsur
On Wed, Nov 14, 2001 at 01:38:11PM -0400, Garst R. Reese wrote: > Thanks, thought I had done that. Here's the result from > math-extern octave simplify > Diffs to: [char 2 mathalpha] > checking expr: 'sin(x)^(2)+cos(x)^(2)' > calling: echo 'sin(x)^(2)+cos(x)^(2)' | (octave -q 2>&1) > > /tmp/lyx_tm

Re: math-extern stuff

2001-11-14 Thread Jean-Marc Lasgouttes
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: Garst> Jean-Marc Lasgouttes wrote: >> > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> Andre> Guess what >> Andre> \sin ^2 x + \cos ^2 xmath-extern maple Andre> simplify Garst> I'm trying to do this with octave, but can't f

Re: math-extern stuff

2001-11-14 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Guess what Andre> \sin ^2 x + \cos ^2 xmath-extern maple Andre> simplify Andre> does ;-} It works now, but there is a temp file remaining in /tmp, so that LyX complains at exit that it cannot remove its temp directory. Very f

Re: math-extern stuff

2001-11-09 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> calling: echo 'readlib(latex): `latex/csname_font` := ``: >> `latex/latex/matrix` := subs(`[`=`(`, >> `]`=`)`,eval(`latex/latex/matrix`)): `latex/latex/*` := >> subs(`\,`=`\cdot `,eval(`latex/latex/*`)): `latex/latex/matrix`:= >> subs(

Re: math-extern stuff

2001-11-09 Thread Andre Poenitz
On Fri, Nov 09, 2001 at 02:53:50PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> On Fri, Nov 09, 2001 at 02:23:49PM +0100, Jean-Marc Lasgouttes > Andre> wrote: > >> PS: I'll have to check whether the error is an installation problem > >

Re: math-extern stuff

2001-11-09 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Fri, Nov 09, 2001 at 02:23:49PM +0100, Jean-Marc Lasgouttes Andre> wrote: >> PS: I'll have to check whether the error is an installation problem >> on my side. Andre> Maple reacted. Your installation is ok. Would be nice to see

Re: math-extern stuff

2001-11-09 Thread Andre Poenitz
On Fri, Nov 09, 2001 at 02:23:49PM +0100, Jean-Marc Lasgouttes wrote: > PS: I'll have to check whether the error is an installation problem on > my side. Maple reacted. Your installation is ok. Would be nice to see your console output. > PPS: would it be possible, when typing \sin^, that the ^ b

Re: math-extern stuff

2001-11-09 Thread Jean-Marc Lasgouttes
> "Jose" == Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes: Jose> On Fri, Nov 09, 2001 at 02:24:41PM +0100, Jean-Marc Lasgouttes Jose> wrote: >> #LyX 1.2 created this file. For more info see http://www.lyx.org/ >> \lyxformat 220 \textclass heb-article \language english Jose> So you

Re: math-extern stuff

2001-11-09 Thread Jose Abilio Oliveira Matos
On Fri, Nov 09, 2001 at 02:24:41PM +0100, Jean-Marc Lasgouttes wrote: > #LyX 1.2 created this file. For more info see http://www.lyx.org/ > \lyxformat 220 > \textclass heb-article > \language english So you are praticing your hebrew? I guess that is a good thing to do today (friday). -- Jo

Re: math-extern stuff

2001-11-09 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Guess what Andre> \sin ^2 x + \cos ^2 xmath-extern maple Andre> simplify Andre> does ;-} Jean-Marc> it produces the attached file. This is interesting, but...

Re: math-extern stuff

2001-11-09 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Guess what Andre> \sin ^2 x + \cos ^2 xmath-extern maple Andre> simplify Andre> does ;-} it produces the attached file. This is interesting, but... JMarc PS: I'll have to check whether the error is an installation problem on

Re: math-extern

2001-11-06 Thread Dekel Tsur
On Tue, Nov 06, 2001 at 04:19:46PM +0100, Andre Poenitz wrote: > Sample Tcl-parser for the "math normal" format: > > set input {[frac 1 [sqrt 3]]} > set parsed [subst -nobackslashes -novariables $input] > > and things like > > proc frac {num denom} { return "($num/$denom)" } > proc sqrt {b

Re: math-extern

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 05:06:01PM +0200, Dekel Tsur wrote: > > I think I'll change to some "native C++" solution for the math-extern > > "transformations". Proper quoting special chars ($, [, ] etc) seems to get > > pretty messy in Perl and Tcl - to an extend where I can't sense much > > benefits

Re: math-extern

2001-11-06 Thread Dekel Tsur
On Tue, Nov 06, 2001 at 03:49:20PM +0100, Andre Poenitz wrote: > > I think I'll change to some "native C++" solution for the math-extern > "transformations". Proper quoting special chars ($, [, ] etc) seems to get > pretty messy in Perl and Tcl - to an extend where I can't sense much > benefits f

Re: math-extern - first shot

2001-10-31 Thread Andre Poenitz
On Thu, Nov 01, 2001 at 09:06:02AM +0100, Herbert Voss wrote: > uups, I never tried the positive one ... > > thought only that blue is good :-) like blue skies > and deep blue water ... > and red is negative, like a sunburn or a negative thinspace ... Ok.. so maybe switching the colours would be

Re: math-extern - first shot

2001-10-31 Thread Andre Poenitz
On Thu, Nov 01, 2001 at 08:48:12AM +0100, Lars Gullik Bjønnes wrote: > | Hell, not that discussion again. > > "To use all the features of LyX you need: perl,python,tcl..." As I said, it is trivial to "port" the script for someone who knows perl or python. I might do the "final" version in Perl,

Re: math-extern - first shot

2001-10-31 Thread Herbert Voss
Andre Poenitz wrote: > > \! is blue and \, is red. > uups, I never tried the positive one ... thought only that blue is good :-) like blue skies and deep blue water ... and red is negative, like a sunburn or a negative thinspace ... Herbert

Re: math-extern - first shot

2001-10-31 Thread Andre Poenitz
\! is blue and \, is red. And it has been that way all the time... So I'd rather argue that changing it is "irritating" Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: math-extern - first shot

2001-10-31 Thread Herbert Voss
Andre Poenitz wrote: > > On Thu, Nov 01, 2001 at 07:59:21AM +0100, Herbert Voss wrote: > > what is the reason for the blue space sign? > > It has been there "from the beginning" and I actually like it. > What's wrong with it? nothing, only a bit irritating for users. no difference to see betwee

Re: math-extern - first shot

2001-10-31 Thread Andre Poenitz
On Thu, Nov 01, 2001 at 07:59:21AM +0100, Herbert Voss wrote: > what is the reason for the blue space sign? It has been there "from the beginning" and I actually like it. What's wrong with it? Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: math-extern - first shot

2001-10-31 Thread Herbert Voss
Andre Poenitz wrote: > > On Wed, Oct 31, 2001 at 06:49:36PM +0100, Herbert Voss wrote: > > André, when I insert a negative thinspace \!, I get a > > positive in the blue math box. is it intended? > > Yes. Rendering it with truly negativ length makes it pretty difficult to > edit. We have to dive

Re: math-extern - first shot

2001-10-31 Thread Andre Poenitz
On Wed, Oct 31, 2001 at 07:50:03PM +0200, Dekel Tsur wrote: > On Wed, Oct 31, 2001 at 04:53:49PM +0100, Andre Poenitz wrote: > > > > Patch attached. To test it, you need Maple and tclsh somewhere in $PATH. > > Is tcl the best language for this job? Hell, not that discussion again. Tcl is what

Re: math-extern - first shot

2001-10-31 Thread Andre Poenitz
On Wed, Oct 31, 2001 at 06:49:36PM +0100, Herbert Voss wrote: > André, when I insert a negative thinspace \!, I get a > positive in the blue math box. is it intended? Yes. Rendering it with truly negativ length makes it pretty difficult to edit. We have to divert from WYSIWYG in such cases... Wel

Re: math-extern - first shot

2001-10-31 Thread Andre Poenitz
On Wed, Oct 31, 2001 at 07:33:01PM +0200, Dekel Tsur wrote: > > Note that you have to put in explicit multiplication marks in form of '*' > > or '\cdot'. I haven't found a reliable way to guess the proper places to > > put them in automatically. > > I think that you can assume than $xy$ is x tim

Re: math-extern - first shot

2001-10-31 Thread Dekel Tsur
On Wed, Oct 31, 2001 at 04:53:49PM +0100, Andre Poenitz wrote: > > Patch attached. To test it, you need Maple and tclsh somewhere in $PATH. Is tcl the best language for this job? What about lisp/scheme ? (are there fast/small lisp interpreters ?) > If you put your cursor in a cell and press >

Re: math-extern - first shot

2001-10-31 Thread Herbert Voss
Dekel Tsur wrote: > > On Wed, Oct 31, 2001 at 04:53:49PM +0100, Andre Poenitz wrote: > > > > Note that you have to put in explicit multiplication marks in form of '*' > > or '\cdot'. I haven't found a reliable way to guess the proper places to > > put them in automatically. > > I think that you

Re: math-extern - first shot

2001-10-31 Thread Dekel Tsur
On Wed, Oct 31, 2001 at 04:53:49PM +0100, Andre Poenitz wrote: > > Note that you have to put in explicit multiplication marks in form of '*' > or '\cdot'. I haven't found a reliable way to guess the proper places to > put them in automatically. I think that you can assume than $xy$ is x times y

Re: math-extern

2001-10-31 Thread John Levon
On Wed, Oct 31, 2001 at 04:23:21PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> How do I distribute patches that contain files/directories that > Andre> are not in CVS? > > Either you distribute the new files separately and I do that

Re: math-extern

2001-10-31 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> How do I distribute patches that contain files/directories that Andre> are not in CVS? Either you distribute the new files separately and I do that for you, or you do the proper 'cvs add's and make a diff. JMarc