Re: [sage-support] sagetex difficulty

2012-06-12 Thread Dan Drake
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

Re: [sage-support] sagetex difficulty

2012-06-12 Thread John Cremona
On 12 June 2012 14:29, Dan Drake wrote: > 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/

Re: [sage-support] sagetex difficulty

2012-06-12 Thread Dan Drake
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!

Re: [sage-support] sagetex difficulty

2012-06-12 Thread John Cremona
On 12 June 2012 03:41, Dan Drake wrote: > On Mon, 11 Jun 2012 at 05:37PM +0100, John Cremona wrote: >> 3. I ran latex on that file twice.  A file example.sage was created. > > That's the weird thing to me: on the LaTeX end, if you're using > sagetex.sty as included with 5.0, it should create > "ex

Re: [sage-support] sagetex difficulty

2012-06-11 Thread Dan Drake
On Mon, 11 Jun 2012 at 05:37PM +0100, John Cremona wrote: > 3. I ran latex on that file twice. A file example.sage was created. That's the weird thing to me: on the LaTeX end, if you're using sagetex.sty as included with 5.0, it should create "example.sagetex.sage". If it made example.sage, then

Re: [sage-support] sagetex difficulty

2012-06-11 Thread John Cremona
Thanks for the suggestions, but... On Monday, June 11, 2012 5:47:48 PM UTC+1, Andrzej Giniewicz wrote: > > Had similar issue some time ago on my document build server. Most > likely another sagetex.sty installed with texlive/package management? > It's easy to check which file is used in TeX by d

Re: [sage-support] sagetex difficulty

2012-06-11 Thread Andrzej Giniewicz
Had similar issue some time ago on my document build server. Most likely another sagetex.sty installed with texlive/package management? It's easy to check which file is used in TeX by doing kpsewhich sagetex.sty Another possibility is that you have to run "texhash" to make TeX update files it kno

[sage-support] sagetex difficulty

2012-06-11 Thread John Cremona
I am following the instructions at http://www.sagemath.org/doc/installation/sagetex.html on a 64-bit ubuntu machine running sage-5.0, installed in SAGE_ROOT=$HOME/sage-5.0 . 1. I copied cp -R $SAGE_ROOT/local/share/texmf/tex $TEXMFHOME where $TEXMFHOME is $HOME/texmf (default, not changed). This