How to reproduce:
1. (setq imaxima-latex-preamble "\\usepackage{amsmath}")
in Emacs,
2. start imaxima (M-x imaxima
in Emacs)
3. in the maxima buffer, load("mactex-utilities")$
After this, all expressions will give a LaTeX error.
Cause:
imaxima
redefines \boxed
and \operatorname
.
Workaround:
use
(setq imaxima-latex-preamble "\\usepackage{amsmath}\n\\let\\boxed\\undefined\n\\let\\operatorname\\undefined")
instead, effectively undefining these commands after amsmath
is loaded.
Suggested permanent fix:
in imaxima.el
, \boxed
and \operatorname
should be defined using \renewcommand
.
Robert Dodier
2014-05-13
Robert Dodier
2014-05-13
Fixed by commit 6dc10134 (use renewcommand as suggested). Closing this report.