errors in ctensor and csetup



Dear Ishida san,

Two words in your error message caught my eyes:
	\verb| and \linebreak[0]
which are part of breqn package symbols.

Are you using imaxima?

If that is the case, you have a chance to make csetup() work.
Please try imaxima-imath-1.0.tar.gz .
This version implements specific workaround for this issue.
You can download the above file from the web site:
	http://members3.jcom.home.ne.jp/imaxima/

The recently released maxima-5.18.0 contains imaxima 1.0 in it,
so that is another way to go. After the make install of maxima 5.18.0,
you need to add:
	/usr/local/share/maxima/5.18.0/emacs/
in the Emacs load-path variable.

Yasuaki Honda, the maintainer of imaxima
Chiba, Japan

On 2009/04/12, at 19:53, Soichi Ishida wrote:

>
> environment: latest ubuntu, latest emacs, latest maxima
>
> I have a problem settin up "ctensor".
> generally, we first load...
>
> load(ctensor);
>
> the output is "done".  this is fine.
>
> but next is...
>
> csetup();
>
> gives nothing, no output but gets to the next line (no input signe  
> either).
> so I type
>
> csetup();
>
> again, then I would get...
> ----------------------------------------
> (%i2) csetup();
> csetup();
> (*) \verb|   Enter the dimension of the coordinate system:| 
> \linebreak[0]
> Type KILL(ALL); and then TENSORKILL:TRUE;
>           before you enter a new metric.
> #0: csetup()(ctensor.mac line 208)
> #1: readvalue(message=Enter the dimension of the coordinate  
> system:,pred=lambda([v],if integerp(v) then  
> block([u:v],mode_declare(u,fixnum),if u > 0 then  
> true)),badboy=["Must be a positive integer!"])
> #2: csetup()(ctensor.mac line 213)
> -- an error.  To debug this try debugmode(true);
> (%i3)
> ----------------------------------------
> well, I have tried as instructed.
>
> kill(all);
> tensorkill(true);
>
> and
>
> load(ctensor);
>
> again.  but nothing has been improved.
> it says about "debugmode"  but I am not sure how to use it.
> Could someone help me on this problem.
>
> soujiro
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima