[Maxima] Disabled function evaluations
Nathaniel E. Powell
nathan.powell at agilix.com
Wed Jul 16 16:11:19 CDT 2008
I am writing a program which uses Maxima for processing, but I also want
people to be able to typeset expressions / equations in Maxima syntax. I
want it to be typeset exactly as they type it in rather than being an
evaluated or simplified version. One solution to this problem I've found
is to turn off simplification:
simp : false;
and then prepending all of the function calls with the ' operator, which
prevents things like 1+1 or integrate(x,x) from being simplified. Then,
I put this expression inside of the Tex function call.
I am wondering if there is a way to avoid having to search for all of
the function calls and prepend them with a '. In order for them to be
properly unevaluated (but still properly converted to Tex). I'm
wondering if there is a global variable switch that does this. I looked
around the documentation, but I must have missed it if it's there.
I have tried surrounding the expression with '(), but this results in
the function calls not being converted to Tex properly.
Any suggestions or hints?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima