On Fri, Dec 05, 2003 at 09:39:15AM -0500, Stavros Macrakis wrote:
> > Thanks to Stavros for the code,
> > but it seems that either it was uncorrectly transmitted via
> > email, or it needs some finishing.
>
> No, sorry, it was just a stupid oversight on my part. And it was such a
> simple fix, that I didn't test it :-( . Code below should be better. I
> even tested it.
>
> -s
Many thanks, Stavros,
Now it works fine. :-)
I put your code into the file
/usr/local/share/maxima/5.9.0/share/maxima-init.lisp
and now it loads automatically (tested). Hope, it is OK.
By the way, I cannot find in my installation of Maxima a file
where to put initial batch commands,
such as "linel:78$", "declare(integrate,linear)$" ...
or some initial Maxima definitions, such as
"SMAX(ud, vd):= IF MAX(ud,vd)=vd THEN vd ELSE IF MAX(ud,vd)=ud THEN ud ELSE IF MAX(vd,ud)=vd THEN vd ELSE IF MAX(vd,ud)=ud THEN ud ELSE FUNMAKE('SMAX,[ud,vd])$"
which I use to have a symmetrical MAX.
Is it possible to have such startup file?
Thanks,
--
Alexander