Quantcast
Channel: ASKSAGE: Sage Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 11

Answer by niles for Hi,I am new to MAC and all the related stuff. Changed from MS Winxxx to Mac because they said it would be much user friendly. But now I have some problems. I am using Texshop. I tried to run Sagetex, but it does not work. I get the message "Latex error! File sagetex.sty not found". I copied the folder sagetex everywhere in my system. I cannot definitely say, where the latex installation folder is. Or how to get to the installation folder. I spent hours and hours following the advices I found on the web. Without success. I am using Lion with its latest update. Texshop has also its latest update. Same to Sage. When I run the example.tex from Sagetex folder, everything is fine. But when I run Example.tex from a folder located e.g. on my desktop then the error message appears. I know that the system cannot find the sagetex.sty. But why? I followed the instructions given under: http://www.sagemath.org/doc/installat...Any hint appreciated. Keep on rocking'Rick

Previous: Comment by kcrisman for First, the instructions seem to indicate that if you copy the file sagetex.sty into a directory with your latex file, then the system will be able to find it. Can you first verify that this is the case?After that, can you try putting sagetex.sty in the default search location? On the mac, that's ~/Library/texmf, so I guess you should put sagetex.sty in ~/Library/texmf/tex/generic/sagetex/. Note that a new "feature" in Mac 10.6 makes the Library directory hidden. You can navigate to in with the Terminal, or select it from the Go menu (you have to hold down the Option key to see it).Edit by kcrisman: with the upgrade to SageTeX 3.0, the default location in Sage will in fact be $SAGE_ROOT/local/share/texmf/tex/latex/sagetex/ which should be placed in ~/Library/texmf/tex/latex/sagetex/, I believe.
$
0
0
First, the instructions seem to indicate that if you copy the file `sagetex.sty` into a directory with your latex file, then the system will be able to find it. Can you first verify that this is the case? After that, can you try putting sagetex.sty in the default search location? On the mac, that's `~/Library/texmf`, so I guess you should put `sagetex.sty` in `~/Library/texmf/tex/generic/sagetex/`. Note that a new "feature" in Mac 10.6 makes the `Library` directory hidden. You can navigate to in with the `Terminal`, or select it from the `Go` menu (you have to hold down the `Option` key to see it). Edit by kcrisman: with the upgrade to [SageTeX 3.0](http://trac.sagemath.org/ticket/19072), the default location in Sage will in fact be `$SAGE_ROOT/local/share/texmf/tex/latex/sagetex/` which should be placed in `~/Library/texmf/tex/latex/sagetex/`, I believe.

Viewing all articles
Browse latest Browse all 11

Trending Articles