Subject: mailing-list for TeXmacs Users
List archive
Re: How to simplify formula in place (eg by sympy)
- From: Giovanni Piredda <address@concealed>
- To: address@concealed
- Subject: Re: How to simplify formula in place (eg by sympy)
- Date: Wed, 2 Oct 2024 18:10:15 +0000
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?
Giac works for me as well (I did 2+2).
I searched in the code (looking for one of the Giac menu items using ack, so that I would find where it is defined) and I _think_ I figured out a part of the answer: you have to look inside the ...-menus.scm Scheme file inside the progs subdirectory of the plugin.
Some of the plugins there use a (if (not-in-session?) ...)
clause where in the true branch they evaluate a (link
scripts-eval-menu) form. I did not understand where the
scripts-eval-menu is defined; the name has "scripts" inside, so
maybe it does _that_; and Python does not have it.
- I noticed that
cos<space>x
will drive maxima mad, it requires me to add parents aroundx
. 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?
I don't know and I am not able to figure it out in a short time, sorry. Perhaps one of the developers is listening and can tell you more.
TeXmacs is opaque sometimes; I am thinking of starting a Wikibook
but if ever I do it, it will take time.
Giovanni
-
Re: How to simplify formula in place (eg by sympy),
Giovanni Piredda, 10/02/2024
-
Re: How to simplify formula in place (eg by sympy),
proitheus, 10/02/2024
- Re: How to simplify formula in place (eg by sympy), Giovanni Piredda, 10/02/2024
-
Re: How to simplify formula in place (eg by sympy),
proitheus, 10/02/2024
Archive powered by MHonArc 2.6.24.