Hi,
I am looking for some kind of "workbook" kind of functionality with
Maxima, preferably one that allows a simple way to cut and paste
results into LaTeX documents.
I came across EMaxima and tried it, and ran into the following
problem: The maximaoutput appears to be "invisible".
E.g. I create a new cell (C-c C-o), put "integrate(1/x, x)" in it, and
try C-c C-u c. A line \maximaoutput pops up, below which
is... nothing?
-8<--------------------
\begin{maxima}
integrate(1/x, x)
\maximaoutput
\end{maxima}
-8<--------------------
I guess I must have something wrong in my setup. What's the best
way to debug this?
I have the
following in my .emacs:
(setq load-path (cons "/opt/local/share/maxima/5.11.0/emacs" load-path))
(require 'tex-site)
(autoload 'maxima "maxima" "Maxima" t)
(autoload 'maxima-mode "maxima" "Maxima mode" t)
(autoload 'emaxima-mode "emaxima" "EMaxima" t)
(add-hook 'emaxima-mode-hook 'emaxima-mark-file-as-emaxima)
This seems to load emaxima-mode just fine (for example, C-c C-o works
as expected).
I do get some style warnings when I try do C-c C-u c:
block(load("/opt/local/share/maxima/5.11.0/emacs/emaxima.lisp"), linenum:linenum-1)$
STYLE-WARNING: redefining MAIN-PROMPT in DEFUN
STYLE-WARNING: redefining TEX-STRIPDOLLAR in DEFUN
STYLE-WARNING: redefining TEX-MEXPT in DEFUN
STYLE-WARNING: redefining TEX-CHOOSE in DEFUN
STYLE-WARNING: redefining TEX-INT in DEFUN
STYLE-WARNING: redefining TEX-SUM in DEFUN
STYLE-WARNING: redefining TEX-LSUM in DEFUN
STYLE-WARNING: redefining TEX-MLABLE in DEFUN
STYLE-WARNING: redefining DISPLA in DEFUN
integrate(1/x, x); in maxima-mode works just fine.
Some more info on my setup:
GNU Emacs 22.0.95.1 (powerpc-apple-darwin8.9.0, Carbon Version 1.6.0)
Maxima version: 5.11.0
Maxima build date: 11:42 4/17/2007
host type: powerpc-apple-darwin8.9.0
lisp-implementation-type: SBCL
lisp-implementation-version: 1.0.3
Thanks.