I'd like to get some pretty output for the command:

sage: [[show(m), m.rank()] for m in MatrixSpace(GF(2),2)]

(i.e., I'd like to actually see what the matrices are when I print the 
list).  Unfortunately, it seems like the show(m) commands print out the 
latex code (which is then very pretty using jsmath) before the list is 
printed out, and then the list is printed out with "None" in the place 
of all the matrices.

Is it possible to get the code for jsmath to be printed out inside of 
the display of the list?  I.e., I'd like to get output similar to the 
output of evaluating

html("$"+str([[latex(m),m.rank()] for m in MatrixSpace(GF(2),2)])+"$")

except with proper linebreaks.


Is there a nice way to do this?

Thanks,

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to