> Inside mathed it's more or less LaTeX. You have the same ambiguity.
> LyX makes no effort to guess the semantics of your formula.

Ok.

> I think it should be possible to create a 'invisible' '*' i.e. a
> character that translates to nothing when output to LaTeX and to '*'
> when converted to MuPAD input to assist parsing. This could be
> rendered as a red '*' in LyX or something like that...

> > Anyway, this should not be too much a problem, since in mupad or other
> > software, the syntax is usualy restricted in order to remove
> > ambiguities. For example, "ax+b" must be written as "a*x+b", and "cos
> > x" as "cos(x)".
> 
> But you don't have this information available. You probably have to
> parse the LaTeX formula and guess occurences of '*'.
> 
> Mathematica does not require to write '*', I guess it's somehow
> possible....

Yes, but probably not worth it. This is not a problem for me if the
user is forced to use mupad's syntax conventions ('*' for
multiplications, putting parenthesis in function calls, ...).
Actually, it might even be better, so that the user can switch easily
between text-mode MuPAD, and the lyx interface.

Thanks for your comments!
                                                Nicolas
-- 
Nicolas M. Thiéry "Isil", 412 Washington Avenue, 80403 Golden Colorado (USA)
Mél: [EMAIL PROTECTED], Tél: (303)273-5492, Fax: (303)273-3875
WWW: <URL:http://www.mines.edu/~nthiery/>

Reply via email to