TeXmacs is a great front-end for Maxima. Although both of them have native win32 port, the one for TeXmacs is no longer updated, and doesn't support some handy features such as directly inserting xfig figures etc. On the other hand, although TeXmacs has a updated version in cygwin, Maxima is not supported in cygwin.
- Install maxima-5.20.1.exe from http://sourceforge.net/projects/maxima/files/ to your preferred location (in my case, it's C:\Tools\Maxima-5.20.1").
- Add "C:\Tools\Maxima-5.20.1\bin" to PATH (right click "My Computer"->"Properties"->"Advanced"->"Environmental Variables").
- Install cygwin (select the following packages: xinit, texmacs, xfig, gvim) to your preferred location (in my case, it's C:\Tools\cygwin\)
- Open a cygwin shell, and type the following commands:
cp /usr/share/TeXmacs/plugins/maxima/lisp/texmacs-maxima-5.9.2.lisp ~/texmacs.lisp
- Edit C:\Tools\cygwin\usr\share\TeXmacs\plugins\maxima\progs\init-maxima.scm, and in the last section, change the following line
,@(maxima-versions)
to(:launch "maxima.bat -p texmacs.lisp")
- Now it's ready to go! Start Maxima in TeXmacs by Insert->Session->Maxima.
2 comments:
thank you for this help.
I completed all the step successfully but in my Texmacs gui, ther is no "maxima" in insert session. I don't know hows to proceed to get it ther.
can i get tips please... thank you.
I would suggest the following:
(1) Check whether maxima is in your PATH. This can be done by opening a cmd window, and type "maxima", and see whether the program loads. If not, maybe you need a reboot for the environment variables to take effect.
(2) Is the maxima the one from cygwin?
(3) I found that the hack in the post only works if you start TeXmacs by entering the command "texmacs" in your home directory (where there is a copy of "texmacs.lisp"). So make sure you have a copy of texmacs.lisp at the directory you want to start texmacs.
Hope this helps.
Post a Comment