ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 31 May 2019 13:13:43 +0200How to use sagetex?https://ask.sagemath.org/question/46648/how-to-use-sagetex/ https://ask.sagemath.org/question/8915/how-run-a-sage-file/#
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. Fri, 24 May 2019 02:20:04 +0200https://ask.sagemath.org/question/46648/how-to-use-sagetex/Comment by slelievre for <p><a href="https://ask.sagemath.org/question/8915/how-run-a-sage-file/">https://ask.sagemath.org/question/891...</a></p>
<p>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. </p>
https://ask.sagemath.org/question/46648/how-to-use-sagetex/?comment=46649#post-id-46649What operating system? How was Sage installed?Fri, 24 May 2019 05:52:38 +0200https://ask.sagemath.org/question/46648/how-to-use-sagetex/?comment=46649#post-id-46649Comment by Iguananaut for <p><a href="https://ask.sagemath.org/question/8915/how-run-a-sage-file/">https://ask.sagemath.org/question/891...</a></p>
<p>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. </p>
https://ask.sagemath.org/question/46648/how-to-use-sagetex/?comment=46650#post-id-46650Based 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.Fri, 24 May 2019 10:56:59 +0200https://ask.sagemath.org/question/46648/how-to-use-sagetex/?comment=46650#post-id-46650Answer by dazedANDconfused for <p><a href="https://ask.sagemath.org/question/8915/how-run-a-sage-file/">https://ask.sagemath.org/question/891...</a></p>
<p>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. </p>
https://ask.sagemath.org/question/46648/how-to-use-sagetex/?answer=46652#post-id-46652I'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](https://tex.stackexchange.com/questions/251459/strange-result-when-trying-to-use-sagetex/251466#251466). The easiest way, however, to get up and running with LaTeX, Sage, and Sagetex is with a [free Cocalc account](https://cocalc.com/). Just create a .tex file, copy/paste example.tex into it, and then compile and you're done. Fri, 24 May 2019 18:06:33 +0200https://ask.sagemath.org/question/46648/how-to-use-sagetex/?answer=46652#post-id-46652Comment by Iguananaut for <p>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 <a href="https://tex.stackexchange.com/questions/251459/strange-result-when-trying-to-use-sagetex/251466#251466">here</a>. The easiest way, however, to get up and running with LaTeX, Sage, and Sagetex is with a <a href="https://cocalc.com/">free Cocalc account</a>. Just create a .tex file, copy/paste example.tex into it, and then compile and you're done. </p>
https://ask.sagemath.org/question/46648/how-to-use-sagetex/?comment=46735#post-id-46735If 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...Fri, 31 May 2019 13:13:43 +0200https://ask.sagemath.org/question/46648/how-to-use-sagetex/?comment=46735#post-id-46735