maximaを入れた

MaximaMathematicaみたいなフリーの数式処理ソフト。何気に高機能みたい。
グラフを出すにはgnuplot-x11が必要。
数式がTeXで出力されてきれいなのでhttp://windom.phys.hirosaki-u.ac.jp/~kasai/d/wiki.cgi?page=Maxima%A4%CE%A5%A4%A5%F3%A5%B9%A5%C8%A1%BC%A5%EB#p5を参考にImaximaも入れた。これにはTeX環境とGhostScriptが必要。GhostScriptは入れてなかったので新たに入れた。
テキスト表示も割と好きなので何となくmaxima-emacsも入れた。

$ sudo apt-get install maxima maxima-doc maxima-emacs maxima-share maxima-src maxima-test gnuplot-x11 ghostscript
$ cd ~/tmp
$ wget http://members3.jcom.home.ne.jp/imaxima/Site/Download_and_Install_files/imaxima-imath-1.0b2.tar.gz
$ tar xvzf imaxima-imath-1.0b2.tar.gz
$ cd imaxima-imath-1.0b2
$ ./configure --prefix=/usr/local
$ make
$ sudo make install
$ cd ..
$ wget http://members3.jcom.home.ne.jp/imaxima/breqn097a.zip
$ unzip breqn097a
$ sudo cp -r breqn097a /usr/local/share/texmf/tex/latex
$ sudo maketexlsr

.emacs

(setq exec-path (cons "/usr/local/bin" exec-path))
(autoload 'imaxima "imaxima" "Image support for Maxima." t)
(autoload 'imath-mode "imath" "Imath mode for math formula input" t)
(setq imaxima-scale-factor 1.2)

ここまでで使えるようになる。M-x imaximaで数式表示が画像に、M-x maximaでテキスト表示。
imaximaを起動したところがこんな感じ。

だがdescribe(sum);でヘルプがなぜか表示できない。調べてみるとhttp://www.math.utexas.edu/pipermail/maxima/2008/009897.htmlにそれらしいやりとりが。

$ dpkg -L maxima-doc | grep maxima-index.lisp
/usr/share/doc/maxima-doc/es/maxima-index.lisp.gz
/usr/share/doc/maxima-doc/es.utf8/maxima-index.lisp.gz
/usr/share/doc/maxima-doc/pt/maxima-index.lisp.gz
/usr/share/doc/maxima-doc/pt.utf8/maxima-index.lisp.gz
/usr/share/doc/maxima-doc/info/maxima-index.lisp.gz

esはスペイン語でptはポルトガル語だろうか。最後のが英語だろう。というわけで

$ gunzip /usr/share/doc/maxima-doc/info/maxima-index.lisp.gz
$ sudo cp /usr/share/doc/maxima-doc/info/maxima-index.lisp /usr/share/info/

とする。日本語のどっかにないかな…。

入れた結果が

これだよ!!