On 13 June 2012 04:26, Jason Grout <jason-s...@creativetrax.com> wrote:
> On 6/12/12 6:13 PM, Dan Drake wrote:
>>
>> On Tue, 12 Jun 2012 at 02:49PM +0100, John Cremona wrote:
>>
>>> The second machine I tried (which I will not have access to until I go
>>> home) had only just been upgraded to ubuntu 12.04, so it is surprising
>>> that it's using an old texlive version.
>>
>>
>> Debian (and hence Ubuntu) only has TeXLive 2009. I don't really know why
>> they've had such trouble packaging a newer version, but in any case,
>> both Debian and Ubuntu package maintainers have utterly ignored my
>> requests to remove the extra files:
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655545
>> https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/512284
>>
>>> Now I have (following your instructions very carefully ;))
>>>
>>> jec%ls -l /usr/share/texmf-texlive/tex/latex/sagetex
>>> total 20
>>> -rw-r--r-- 1 root root  5807 Jun 21  2009 old-crappy-sagetex.sty
>>> -rw-r--r-- 1 root root 10487 Jun 12 14:44 sage-5.0-sagetex.sty
>>> lrwxrwxrwx 1 root root    20 Jun 12 14:44 sagetex.sty ->
>>>  sage-5.0-sagetex.sty
>>>
>>> and all is well!
>>
>>
>> Using the symlink and a versioned filename is a nice idea.

I thought so.

>
>
> When you upgrade sage, though, it could go out of date and you'd have to do
> it all over again manually.  How about making that symbolic link point
> directly to your Sage installation?  That's what I have in my local user tex
> path.

That's possibly an even better idea.  In fact in /usr/local I have a
directory /usr/local/sage/ containing various sage builds, as well as
a symlink /usr/local/sage/sage-current pointing to the latest
(current) one, so all I would need to do would be (once and for all)
replace /usr/share/texmf-texlive/tex/latex/sagetex/sagetex/sty with a
symlink to 
/usr/local/sage/sage-current/local/share/sage-current/local/share/texmf/tex/generic/sagetex/sagetex.sty.
 I think that would work -- I do the same with /usr/local/bin/sage
being a symlink to /usr/local/sage/sage-current/sage.

John

>
> Jason
>
>
> --
> 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
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org

-- 
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
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to