Thanks a lot Olivier, this works perfectly for Maxima. I can ask it to compute \frac{\partial x^{2}}{\partial x}=2\, x and it works as it is shown by the = sign but how to ask more indirect tasks?
Question: How to pass commands to Maxima? Should we write full Maxima expressions, instead of the standard math notation? In SWP there is a Computation menu where it is possible to choose the operation that we desire (simplify, evaluate, etc.). Murat 2009/11/24 Olivier Ripoll <durocortorum73-gm...@yahoo.fr>: > Ken wrote: >> >> That's a fantastic new discovery of a further LyX feature. As for >> making it more useful, perhaps LyX needs some buttons in the math >> toolbar for Octave or Maxima or a way of customizing some new buttons >> to run the Edit->Math->CAS options. > > That's actually easy: here is how to get the Maxima action in the context > menu: > > 0- close lyx if opened > > 1- Copy the "stdcontext.inc" file found in the common "ui" folder of LyX. > On windows, it is > "C:\Program Files\LyX 1.6.4\Resources\ui", on linux, I'd expect it to be > somewhere in "/usr/share" > > 2- Paste this file in your own "ui" folder. > On windows, it is in > "C:\Documents and Settings\username\Application Data\lyx16\ui" > > 3- with a decent text editor (accepting unix LF), find the > 'Menu "context-math"' section, and at the end (after line 75, before the > 'End'), add the following 2 lines (the second is taken from the > "edit_math_extern" section of file 'stdmenus.inc', if you wonder how to add > Octave, Maple, etc.) > Separator > Item "Maxima|M" "math-extern maxima" > > 4- save, restart lyx > > Best regards, > > Olivier > > > -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu ______________________________________________