Re: How to simplify formula in place (eg by sympy)

proitheus <[email protected]> Wed, 2 Oct 2024 23:29:59 +0800 (GMT+08:00)
Newsgroups gmane.editors.texmacs.user
Message-ID <[email protected]>
The maxima plugin works! Thank you!

Well, here are some more strange questions:

* Does *maxima* the only plugin which supports this sort of evaluation? I tried python, r, octave, but none will work.
* And are there some place where I can see which feature a plugin supports?
* I noticed that *cos<space>x* will drive maxima mad, it requires me to add parents around *x*. But texmacs formulas have semantic information, and it could be used to improve the interface to CASs I think. So are there any CAS plugin which ultilizes this info?

Thank you again for your time.

Oct 2, 2024 21:50:41 Giovanni Piredda <[email protected]>:

> Hi proitheus,
> 
> please take a look at the Manual (not Jolly Writer) section with title "Plug-ins as scripting languages", where you will find detailed instructions on how to simplify formulae (I tried it now expanding (a+b) (a-b) +2 inside a display equation using Maxima) and linking together executable switches (I did not try it). You get to the Manual sections through the Help menu items; in TeXmacs 2.1.4 e.g. Help->Manual->TeXmacs as an interface, then section 4 of the document that is opened.
> 
> Please ask again if you need more information.
> 
> Giovanni
> 
> 
> 
> On 30/09/24 19:35, proitheus wrote:
>> 
>> *The Jolly Writer* says:
>> 
>> Some (CAS) systems can also be used in alternative ways, e.g. in order to *evaluate a selected expression inside a formula*
>> 
>> So I wonder if I can simplify a formula in a normal math environment using some CAS.
>> 
>> Eg
>> 
>> In a display equation, select (a+b)(a-b), do some magick, and the selection turns to (a^2-b^2)
>>