First time here? Check out the FAQ!

Ask Your Question
0

Python error when running sagetex.sage outside ~ directory

asked 11 years ago

Xrobot gravatar image

updated 10 years ago

FrédéricC gravatar image

Hi, I use Sage-5.10 (Downloaded source and built one in Ubuntu 12.04 lts) and I've linked Sagetex to my existing TeX installation, I've removed the 'sagetex.sty from TeX'. so it works from my ~/texmf directory. But when I run sage on my sagetex.sage file produced from .tex file--outside my home directory, I get an error 'No such file or directory ..' but it works well if I move the 2 files to my ~ directory and then run sage on the files(to get the .sout and .scmd files), Can I fix this to work on other subdirectories?. My Sage Directory is ~/Desktop/sage-5.10/sage.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 11 years ago

Luca gravatar image

You ought to put sagetex.sty in ~/texmf/tex/latex, then run the command texhash (not sure the second is strictly necessary, though).

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 11 years ago

Seen: 271 times

Last updated: Oct 28 '13