Re: [sage-support] i *want* to use X11 under macosx -- can i?

2012-12-16 Thread Ivan Andrus
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, es

Re: [sage-support] i *want* to use X11 under macosx -- can i?

2012-12-16 Thread Greg Minshall
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 cha

Re: [sage-support] Re: sagetex difficulty

2012-12-16 Thread pong
@Dan, thanks a lot! That solves my problem. On Saturday, December 15, 2012 1:05:49 PM UTC-8, Dan Drake wrote: > > On Sat, 15 Dec 2012 at 10:55AM -0800, pong wrote: > > Hi Dan my intention is to generate tests using sagetex and sage. So I > will > > have something like > > > > m = 'undefined'

[sage-support] Way to use Jmol to visualize molecules in SAGE

2012-12-16 Thread Wai Man Chung
HI, I see that Jmol is a component in Sage and Jmol is for visualization of chemical molecules. I see that Sage use it for 3d graphic plot. Is it possible to use Jmol in Sage for visualization of chemical molecules ? I search through documents in Sage and cannot find relevant things. Need I dr

Re: [sage-support] i *want* to use X11 under macosx -- can i?

2012-12-16 Thread Ivan Andrus
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 th

[sage-support] Re: i *want* to use X11 under macosx -- can i?

2012-12-16 Thread Greg Minshall
kcrisman writes: > Do http://sagemath.org/doc/reference/sage/misc/log.html or > http://trac.sagemath.org/sage_trac/ticket/11795 help answer your > question? The 3D plots are typically in the Jmol Java application, of > course, unless you are referring to Tachyon or canvas3d ones. the second url