On Dec 19 2010, 2:56 pm, emil <emil.widm...@gmail.com> wrote: > On Dec 19, 5:05 pm, emil <emil.widm...@gmail.com> wrote: > > > > > On Dec 19, 3:45 pm, Oscar Gerardo Lazo Arjona > > > <algebraicame...@gmail.com> wrote: > > > Hello! > > > > I've been usingTexMacsfor some time now, but I have been frustrated by > > > not being able to use Sage from it. > > > > I've downloaded and installed the sage plugin > > > inhttp://wiki.sagemath.org/TeXmacs, but I can't see the Sage option in the > > > sessions menu. > > > > Sage is installed in ~/sage/sage-4.6 which is in my PATH. > > > > In a recent post elsewhere, Jason Grout suggested that it might be > > > necessary to have sage installed locally. I'm not very sure what he > > > meant by that, but if it means that sage has to be installed in a > > > distribution-specific way (such as through a .deb in ubuntu) that would > > > make the plugin entirely unusable with modern-age versions of Sage. > > > > Please help! > > > > Oscar > > > Hi, > > > I hadTexmacsincluded in the last version of the live CD. It was a > > just a normal install and It was possible to start the sage session > > fromTexmacs. > > > I will try to getTexmacsworking as a addon package in the next days. > > If I have success I will post my steps. > > > emil > > I had partial success withTeXmacs, > > I compiled from source (stable release from homepage). > Then I got the SageTexmacsplugin from > herehttp://wiki.sagemath.org/TeXmacs?action=AttachFile&do=view&target=tex... > > I created directories ~/.TeXmacs/plugins (~ is /root in my case) > I shifted the archivetexmacs-sage.tar.gz there and unzipped. There > is a ~/.TeXmacs/plugins/sage directory > > After that it was possible to call a Sage session fromtexmacs. Normal > operation worked, but plotting is broken > > After the command: plot (sin(x), 0, 10) there is a black box and the > following error > > /sage/local/lib/python2.6/site-packages/matplotlib/tight_bbox.py:55 > UserWarning: bbox_inches option for ps backend is not implemented yet. > warning.war("bbox_inches option for %s backend is not implemented > yet." % > (format)) > > I can't solve that - anyone has a clue? > Maybe those steps help with your problem > > emil
Sorry for the late answer, (and for reviving an old topic). I tried the steps you suggest, but with no success. The problem seems to be related to the way TexMacs called sage. I used to have sage added to my PATH by adding it in the ~/.bashrc file. Now I have removed it from there and put a symbolic link to /home/oscar/sage/sage-4.6/sage in / usr/bin. Now I do see the option to start a Sage session, but I get yet another error: http://i55.tinypic.com/x579d.png I can't guess what's wrong... :( Thank you! Oscar -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org