On Aug 17, 2011, at 2:19 AM, G B wrote: > I'm noticing that the problem only happens when launching Sage.app. If I > install the command line version, it detects Latex just fine. Also, if I > launch the sage binary from within the Sage.app package (the one in > Contents/Resources/sage, not the one closer to the app root), it also seems > to work fine, which is odd. Something is getting disconnected when the GUI > launches.
Probably the biggest difference between GUI apps (like Sage.app) and starting things from the command line is environment variables. You can add environment variables for GUI apps in ~/.MacOSX/environment.plist though it will require logging out to take effect. See e.g. http://developer.apple.com/library/mac/#qa/qa1067/_index.html You can test to see if this is the problem by running import os os.environ["PATH"] and looking for /usr/texbin. I thought there was some discussion of this before, but I can't seem to find it now. Anyway, you might be able to get it to work by adding to the PATH environment variable in ~/.sage/init.sage. Whether that works or not let us know--this should probably be in a FAQ somewhere. -Ivan -- 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
