Ivan,

if i set the variables by leaving BROWSER='sage-open' (default value), but 
changing PNG_VIEWER to /sw/bin/display, then try to plot a circle from the 
tutorial (circle((0,0), 1, rgbcolor=(1,1,0))), i get a native-mac 
application (Preview) displaying the resulting png file.


otoh, if i change *just* BROWSER to '/sw/bin/display' and redraw the circle, i 
get ImageMagick's x11 display(1)
displaying the resulting PNG file.

that seems unexpected to me.

----
On Sunday, December 16, 2012 8:31:38 AM UTC-5, Ivan Andrus wrote:
>
> You can set sage.misc.viewer.BROWSER, PDF_VIEWER, DVI_VIEWER, 
> and PNG_VIEWER.  I think BROWSER is the fall back if the others aren't set. 
>  They should be the path to a script or other executable to open the proper 
> type.  e.g. xpdf, xdvi, evince, or whatever.  I'm not sure if that will get 
> all the possible cases, but it's a start.  Anything it doesn't get could 
> possibly be considered a bug.  You can set them in ~/.sage/init.sage
>
> -Ivan
>
>

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


Reply via email to