Maxima is an excellent symbolic algebra computation software which is free to everyone. The version of Maxima provided in the software channel of Ubuntu 8.04 is 5.13, which is not supported by Texmacs. TexMacs can work as a graphic user interface of Maxima but it only surport Maxima version 5.12 or previous versions. In order to use TexMacs and Maxima 5.13 together, two steps need to be done:
1): modify /usr/lib/texmacs/TeXmacs/bin/maxima_detect
#!/bin/sh
->
#!/bin/bash
2): modify /usr/lib/texmacs/TeXmacs/bin/tm_maxima
5.11.* | 5.12.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp";;
->
5.11.* | 5.12.*|5.13.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp";;