On Sun, 21 Dec 2008 at 05:56PM -0800, Mike Hansen wrote: > > However when I then run sage example.sage, it compliants: > > > > Plot 6 > > Code block begin... > > **** Error in Sage code on line 158 of example.tex! Traceback follows. > > Traceback (most recent call last): > > File "example.py", line 181, in <module> > > matrixprogram = matrix_plot(M,cmap='Greys') > > File "/home/pong/sage-3.2.2/local/lib/python2.5/site-packages/sage/ > > plot/misc.py", line 285, in wrapper > > return func(*args, **options) > > File "/home/pong/sage-3.2.2/local/lib/python2.5/site-packages/sage/ > > plot/matrix_plot.py", line 151, in matrix_plot > > raise ValueError, "can not convert array entries to floating point > > numbers" > > ValueError: can not convert array entries to floating point numbers > > > > **** Running Sage on example.sage failed! Fix example.tex and try > > again. > > This is a known issue ( http://trac.sagemath.org/sage_trac/ticket/4812 > ) and should be fixed in the next release. Note that it is specific > to that particular example, and the rest of sagetex should be fine.
To what Mike has said, let me add that it's a problem in Sage and not SageTeX, and when that patch gets in, everything will work. I'll also add that Mike fixed this problem very quickly after I first complained about it, so many thanks to him. Dan -- --- Dan Drake <dr...@kaist.edu> ----- KAIST Department of Mathematical Sciences ------- http://mathsci.kaist.ac.kr/~drake
signature.asc
Description: Digital signature