imaxima problems



Ganesh Swami ?????:
> Hello,
> 
> I'm trying to get imaxima working on EMACS CVS under Linux. I'm sure
> the problem as such is not with imaxima, but the TeX compilation. I
> don't have much experience with (La)TeX, so I would be glad if
> somebody is willing to help me out.
> 
> After starting the imaxima mode, any command I try gives me an
> error. For example:
> 
> -------------->8---------------------
> (C1) integrate(sin(x),x);
> 
> LaTex error in:  -\cos x
> -------------->8---------------------
> 
> Pressing RET on the "LaTex error in" line gives me:
> 
> -------------->8---------------------
> This is TeX, Version 3.14159 (Web2C 7.4.5) (format=tex 2003.9.16)  28 DEC 2003 19:22
> **&mylatex /tmp/imaxima14408EpB/1.tex
> (/tmp/imaxima14408EpB/1.tex
> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
> ohyphenation, loaded.
> ! Undefined control sequence.
> l.1 \documentclass
>                   [11pt,leqno]{article}

You are using _old_ LaTeX 2.09 which expects
the command \documentstyle at the beginning
of the document while modern LaTeX 2e uses
\documentclass.  The latter command is unknown
to LaTeX 2.09.



-- 
      Vadim V. Zhytnikov

       <vvzhy@mail.ru>
      <vvzhy@netorn.ru>