Ask Your Question

underchemist's profile - activity

2020-05-11 16:58:57 +0100 received badge  Popular Question (source)
2013-11-09 11:39:08 +0100 commented answer tex distribution doesn't see sagetex

I don't really understand why, but I tried declaring sagetex in my preamble using an absolute path i.e /usr/share/texmf-texlive/tex/latex/sagetex/sagetex and it worked! it gave me an error, but even better, when I went back to using just \usepackage{sagetex} it was able to compile, no problem. I even tested a new document just to see if it would work on other files, and it appears to do so. Not sure why, hopefully I don't have this problem again.

2013-11-09 11:30:05 +0100 commented answer tex distribution doesn't see sagetex

yeah I wanted to test this myself so I installed a local copy of the latest gnuplottex.sty file into /usr/local/share/texmf/tex/latex/gnuplottex/. Works fine after sudo texhash.

2013-11-09 09:46:11 +0100 answered a question tex distribution doesn't see sagetex

In looking a bit deeper in the latex directory trees for each of my machines, I noticed something. For the machine that DOES compile sagetex is installed under

/usr/share/texmf/tex/latex/sagetex/sagetex.sty

whereas for the machine that does NOT compile, sagetex is installed as per the 'make sagetex known to tex' page in

/usr/local/share/texmf/tex/generic/sagetex/sagetex.sty

I'm confused as to why the directory structure provided by sagetex documentation doesn't work, while a directory structure from what looks like my default texlive install does.

2013-11-09 09:36:58 +0100 asked a question tex distribution doesn't see sagetex

Hi all,

So I've spent some time installing sage 5.12 on my machine (Ubuntu 12.04.3) and been trying to edit a latex document using sagetex that worked fine on another computer. I've found that despite copying

SAGE_ROOT/sage/local/share/texmf/tex/

to

/usr/local/share/texmf/

and running

sudo texhash

I get a compile error. To be clear, I have a single sagesilent block and a single sagestr{} block, and the document compiles on my other machine. I have found that simply copying 'sagetex.sty' into the document directory will work, but this is not the permanent solution I was hoping for. I'm really confused because both my machines are running the same linux OS, so there should really be no difference between them. Any thoughts?

Thanks