On Tue, 12 Jun 2012 at 09:57AM +0100, John Cremona wrote:
> You are right: it shows
> 
> (/usr/share/texmf-texlive/tex/latex/sagetex/sagetex.sty
> 
> (which I should have noticed yesterday, sorry), despite this:
> 
> jec%kpsewhich sagetex.sty
> /home/jec/texmf/tex/generic/sagetex/sagetex.sty

Aha! Once again I am bitten by TeXLive. Putting SageTeX into TeXLive was
a big mistake.

I am puzzled by kpsewhich returning the newer version, though -- I
thought the very idea of that program was to return what TeX would find
when typesetting. But it seems not.

> I could get round this (as I have root access) by killing the old
> texlive version, but there should be a better way.

Removing the old version is actually a very good solution. If you want
to be very cautious, just rename
/usr/share/texmf-texlive/tex/latex/sagetex/sagetex.sty to
"old-crappy-sagetex.sty" or whatever. You could also update to a newer
version of TeXLive, but getting rid of the old sagetex.sty solves the
immediate problem.

Dan

--
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to