Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To use sagetex with the tools you mention above, latex your example.tex file. This will create a .sage file. Next, use the Sage terminal to process the .sage file. The file not found error sounds like you're running Sage on the wrong directory. Try cd (change directory) when using the Sage terminal to make sure you run Sage on the directory containing the .sage file. Finally latex your .tex file again. You can find more detail to my 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.

To use sagetex with the tools you mention above, latex your example.tex file. This will create a .sage file. Next, use the Sage terminal to process load the .sage file. The file not found error sounds like you're running Sage on the wrong directory. Try directory so try cd (change directory) to the directory containing your .sage file when using the Sage terminal to make sure you run Sage on the directory containing the .sage file. terminal. Finally latex your .tex file again. You can find more detail to my 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.

To use sagetex I'm not familiar with the tools setup you mention above, 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.