User defined functions



Am 24 Nov 2005 um 15:52 hat Robert Jerrard geschrieben:

> Thanks Volker but when I put the maxima-init.mac
> in /usr/share/maxima/5.9.1/share (Debian sid) it does not pick it up.
> There is not maxima-init.lisp file there either.
> 
> Bob

I hope, the following now helps.

Maxima home page -> docs -> user interface tips 
(  http://maxima.sourceforge.net/ui-tips.shtml  )
you find there

' MAXIMA_USERDIR
       Points  to  a  directory  for user customization files. Maxima's
       default search  paths  include  MAXIMA_USERDIR.  Default  value:
       $HOME/.maxima.

Maxima checks for the presence of the files maxima-init.lisp and maxima-init.mac in the 
search path and loads them if available. The most logical place to put these files is in 
MAXIMA_USERDIR, as defined above. '


search path: file_search_maxima and file_search_lisp are two global variables and store 
a list of search directories. Ask Maxima about them.

Best wishes

Volker