On Tue, 22 Jul 2008, Tawny Owl wrote:
> in the Windows version, there a way to start xMamima with the browser off
> by default?
As a dedicated windows xp user, I don't know of an automatic
method. My pavlovian response, upon launching xmaxima, is
to immediately hit alt+o, escape, enter .
This ritual gives me the single window xmaxima I
normally want to work with.
>is there a way to auto-run some commands
> when xMaxima loads without having to use a
> batch or file command (I want to automatically
> load functions to do trigonometry in degrees,
> and to set display2d to false, since I often
> paste my results as text, for example)?
On Tue, 22 Jul 2008, Alexey Beshenov wrote:
>Maxima reads ~/.maxima/maxima-init.mac
> when it is launched. I guess there is something
> like ~/.maxima/maxima-init.mac in Windows.
Tawny, you have probably resolved this issue
long ago, but there may be other mailing list
readers with the same question. I cover issues
like this (relevant to using Windows) in ch. 1
of maxima by example (avail. via english tutorials
or directly from my webpage.
If you have not redefined the Maxima string <maxima_userdir> in your
startup file or work session, you can find where Maxima looks for the
startup file as
follows:
(%i1) maxima_userdir;
(%o1) C:/Documents and Settings/Edwin Woollett/maxima
create text file maxima-init.mac in this folder.
At one time my version looked like:
/* this is c:\Documents and Settings\Edwin Woollett\maxima\maxima-init.mac
*/
maxima_userdir: "c:/work2" $
maxima_tempdir : "c:/work2"$
file_search_maxima :
append(["c:/work2/###.{mac,mc,out}"],file_search_maxima )$
file_search_usage :
append(["c:/work2/###.{mac,mc,out}"],file_search_usage )$
disp("hello ted")$
------------------
Note that I must use the unix like forward slash /, even though the
dos -Windows
convention is the backward slash \
With this startup file in place, I get the following response from XMaxima:
(%i1) maxima_userdir;
(%o1) c:/work2
(%i2) file_search_maxima;
(%o2) [c:/work2/###.{mac,mc,out},
C:/Documents and Settings/Edwin Woollett/maxima/###.{mac,mc},
C:\PROGRA~1\MAXIMA~3.0/share/maxima/5.14.0/share/###.{mac,mc},
C:\PROGRA~1\MAX\
IMA~3.0/share/maxima/5.14.0/share/{affine,algebra,algebra/charsets,algebra/sol\
/* continues !! */
Best,
Ted Woollett
http://www.csulb.edu/~woollett