Ivan,

yes, downloading and installing the two patches for trac_11795 and then 
configuring appropriately seems to work for DVI, PDF, and PNG.  (in case it 
isn't obvious, i'm a sage newbie, so i'm not sure how to get sage to 
display an html file, assuming the 'browser' entry is supposed to display 
html.)

a couple of comments about the patch (to the extent i understand it):

1.  to override the default, i seem to need to define a function, and 
assign that function to, e.g., sage.misc.viewer.dvi_viewer.  nicer (?) 
might be to set some variable to '/sw/bin/xdvi'.

2.  if the function returns an invalid path for png_viewer, circle() fails 
silently.  an error message, and then falling back to the default, might be 
easier on users.  (this is probably outside the scope of this patch.)

and, of course, plot3d() still uses the Cocoa version of jmol.  (but, 3 out 
of 4 isn't bad! ;-)

cheers, Greg

On Monday, December 17, 2012 2:54:53 AM UTC-5, Ivan Andrus wrote:
>
> Hmm.  That seems like a bug to me.
>
> In fact, there is trac issue #11795 [1] which addresses this.  It changes 
> the interface for setting the different viewers and also fixes this 
> particular bug.  I would definitely suggest trying it out and making any 
> comments on the ticket about how it works, especially if there are things 
> that still don't work.  It was updated in the last 12 hours, so people are 
> working on it.
>
> -Ivan
>
> [1] http://trac.sagemath.org/sage_trac/ticket/11795
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to