First time here? Check out the FAQ!

Ask Your Question
0

How to use sagetex?

asked 5 years ago

EnlightenedFunk gravatar image

updated 5 years ago

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.

Preview: (hide)

Comments

What operating system? How was Sage installed?

slelievre gravatar imageslelievre ( 5 years ago )

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 ( 5 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 5 years ago

dazedANDconfused gravatar image

updated 5 years ago

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.

Preview: (hide)
link

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 ( 5 years ago )

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: 5 years ago

Seen: 331 times

Last updated: May 24 '19