emaxima problem



I've some troubles with EMaxima under emacs 21.1
The following output explains everything
-------------------------------------------
%-*-EMaxima-*-
Cells in text mode C-c C-uc
\beginmaxima
diff(sin(x^2),x);
\maximaoutput
                                  2 x COS(x )
\endmaxima

\beginmaxima
expand((x+y)^10);
\maximaoutput
     y   + 10 x y  + 45 x  y  + 120 x  y  + 210 x  y  + 252 x  y
+ 210 x  y

                                                7  3       8
2       9      10
                                         + 120 x  y  + 45 x  y  +
10 x  y + x
\endmaxima
Same cells in TeX mode C-c C-uC
\beginmaxima
diff(sin(x^2),x);
\maximatexoutput
\endmaxima

\beginmaxima
expand((x+y)^10);
\maximatexoutput
\p
}\*y^{6}+252\*x^{5}\*y^{5}+210\*x^{6}\*y^{4}+120\*x^{7}\*y^{3}+45\*x

 ^{8}\*y^{2}+10\*x^{9}\*y+x^{10} \\
\endmaxima

-------------------------------------------
Strangely enough output cells have
too few lines and Maxima output
does not fit in it.

What am I doing wrong?
And what is the proper place for emaxima.lisp file?
Shall I place it in a directory where Maxima
looks for *.lisp files or it must be placed in the
sane directory with emaxima.el?

Vadim


--

[ Vadim V. Zhytnikov  <vvzhy@mail.ru>  <vvzhy@td.lpi.ac.ru> ]