Hi,
I have communicated with a user of imaxima a while ago, with very
similar thing happened to him.
Could you please tell me your environment (such as OS, latex and
ghostscript names and versions)?
Also, could you try a fixed version of imaxima.el which I will send you
separately? Could you please share the results?
(The size of the file 60KB, which exceeds the limit of the mailing
list).
Yasuaki Honda, maintainer of imaxima
On 2008/10/23, at 19:36, N.A.Beishuizen at ctw.utwente.nl wrote:
>
> Hello,
>
> My problem (and solution) is related to imaxima, but I guess the
> userbase for
> this program is a subset of the maxima users. I recently installed
> maxima,
> imaxima , breqn (all included in maxima 5.16.3) and did all the
> stuff to get
> maxima working 'latex style' in emacs. On my laptop this was no
> problem.
> However, on my pc I had some problems. Maxima works fine in emacs,
> but when I
> switch to imaxima and type something,
>
> (%i1) 2;
>
> I get the error message:
>
> Latex error in 2
>
> It turns out that the generated latex code is not complete. The
> generated
> latex code is:
>
> \documentclass[11pt,leqno]{article}
> % mylatex
> \setlength{\textwidth}{178mm}
> \begin{document}
> \pagecolor[rgb]{0.996109,0.996109,0.996109}\pagestyle{empty}
> \begin{normalsize}
> \color[rgb]{1.000000,0.000000,0.000000}\tt\begin{dmath}[number={\%o2}]
> \color[rgb]{0.000000,0.000000,0.000000}3\end{dmath}
> \end{normalsize}
> \end{document}
>
> but it does not recognize pagecolor or dmath. What is missing (at
> least)
> is
> \usepackage{breqn}
> \usepackage{color}
>
> After inserting this in the imaxima.el (I don't know anything about
> lisp,
> btw) file above the %mylatex comment:
> ...
> "\\usepackage{color} \n"
> "\\usepackage{breqn} \n"
> "\n% mylatex \n"
>
> the latex rendering in emacs worked fine.
>
> Did other people experience this problem?
>
> Regards,
> nijso
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima