I'm trying to display a large latex expression, but both methods that I know 
of to do that (html() and latex.eval()) wind up cutting parts off when it's 
actually displayed.  (The exact latex string I've used to generate these 
pictures is here: http://pastebin.com/sbK8EqdR )

I'm using sage 4.6 in windows via vmware on a netbook.  The netbook has a 
slightly smaller than normal screen (1024x600), if that matters.

1) If I use latex.eval(string, globals()), I get this:

http://img153.imageshack.us/img153/9279/sage88.gif

(that is the image file output by latex.eval) which works perfectly if I 
input something small, but it tries to split the output into separate lines, 
and cuts some of the middle out in the process (6 columns of the last matrix 
in the first row are missing).

2) On the other hand, if I use html('$'+(string)+'$') or 
html('$$'+(string)+'$$'), I get this: 

http://img16.imageshack.us/img16/6798/sage1.gif

in which the second matrix is cut off on top (there should be three more 
rows).  I've also had random issues with jsmath expressions being partially 
cut off on top before, but it hasn't been bad enough to complain about.  The 
scaling factor in jsmath is set to 95%.

I don't mind much which method I use, I just want everything to be viewable, 
preferably via scrolling, and not slicing up the output into lines like 
latex.eval() does.

Thanks.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to