On Monday 01 July 2002 12:26, Andre Poenitz wrote: > On Mon, Jul 01, 2002 at 12:02:50PM +0200, geof wrote: > > This week-end I started the mathematica facilities. I've trying compile > > lyx-devel from the CVS repository without success : I get a "Illegal > > instruction" when I try to run lyx. So I worked with the 1.2.0 version of > > lyx! > > > > The implementation is quite completed excepted for the matrix support > > which is missing. I'm planning to improve the derivative support and add > > limit support. Feedback is welcome. > > Looks pretty good. I think I'll apply it with minor Changes to current CVS. > > One question: math_stringinset.C: It was my understanding that Mathematica > does not need "*" in things like "3x", so I think we could leave out the > "insert * if it looks necessary hack" which we need for Maple there.
You are right, there is no need to insert an * between two variables, a simple space is enough. ******************************************************* Mathematica 4.1 for Linux PowerPC Copyright 1988-2000 Wolfram Research, Inc. -- Motif graphics initialized -- In[1]:= (3x)^2//TeXForm Out[1]//TeXForm= 9\,x^2 In[2]:= (3x5)^2//TeXForm Out[2]//TeXForm= 9\,{\Mvariable{x5}}^2 ******************************************************** Here are some binding useful for mathematica calls \bind "M-a space" "math-extern mma" \bind "M-a n" "math-extern mma N" \bind "M-a e" "math-extern mma Expand" \bind "M-a f" "math-extern mma Factor" \bind "M-a s" "math-extern mma Simplify" \bind "M-a S-S" "math-extern mma FullSimplify" Regards, geof PS: when you insert a "\{" or "\}" in a math equation and call "math-extern", through which mathematizice function the program passes? In other word which is the MathInset subclass associated to \{ and \} I'd like that a "\{" produces "{" and not "\{" through mathematicize. Since in this case, it can be possible to call more compilacted Mathematica functions like Collect[Exp,{x1,y1}] ( lyx equation : \Collect[Exp,\{x1,y1\}]). That work well with, for example, \Limit[ f[x], x->\infty] and things like that. -- ~ 'v' mailto: gpiroux_at_mac_dot_com // \\ Powered by GNU/Linux-ppc /( )\ http://lfs.linux-provider.net/ #112 ^'^