Ask Your Question
0

How to use sagetex?

asked 2019-05-24 02:20:04 +0100

EnlightenedFunk gravatar image

updated 2019-05-24 10:58:29 +0100

Iguananaut gravatar image

https://ask.sagemath.org/question/891...

I have this question and I downloaded sagemath and I have three applets a console, a shell, and a notebook, and I was wondering how do I do what the person did because I tried the shell multiple times and I moved the sty file into the Latex folder anything I can do to help you help me please let me know? The error I keep getting is this error file not found.

edit retag flag offensive close merge delete

Comments

What operating system? How was Sage installed?

slelievre gravatar imageslelievre ( 2019-05-24 05:52:38 +0100 )edit

Based on their description "I have three applets a console, a shell, and a notebook" that sounds like Windows or maybe OSX (not sure). They mentioned something about sty files and Latex, so I assume the question has something to do with sagetex so I updated the title of the question. Please correct me if I'm wrong though. @EnlightenedFunk please specify clearly what you are trying to do, what you tried exactly and what exactly your result was.

Iguananaut gravatar imageIguananaut ( 2019-05-24 10:56:59 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-05-24 18:06:33 +0100

dazedANDconfused gravatar image

updated 2019-05-24 18:35:41 +0100

I'm not familiar with the setup you are using but to use sagetex, latex your example.tex file. This will create a .sage file. Next, use the Sage terminal to load the .sage file. The file not found error sounds like you're running Sage on the wrong directory so try cd (change directory) to the directory containing your .sage file when using the Sage terminal. Finally latex your .tex file again. You can find more detail to this answer by looking at an answer posted by DJP here. The easiest way, however, to get up and running with LaTeX, Sage, and Sagetex is with a free Cocalc account. Just create a .tex file, copy/paste example.tex into it, and then compile and you're done.

edit flag offensive delete link more

Comments

If they're on Windows they might also be having some path-related confusion, though I'd have to see the exact problem, and yet they never followed up so we may never know...

Iguananaut gravatar imageIguananaut ( 2019-05-31 13:13:43 +0100 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-05-24 02:20:04 +0100

Seen: 280 times

Last updated: May 24 '19