First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Have you tried from the Sage shell instead of the Windows command-line?

click to hide/show revision 2
No.2 Revision

SageTeX with Sage-Windows

Have you tried from the Sage shell instead of the Windows command-line?

In a Sage shell, you should be able to cd to the appropriate location and run

$ sage yourfile.sagetex.sage

and possibly also (I don't know if Sage-Windows ships LaTeX...):

$ latex yourfile.tex

SageTeX in the Windows Subsystem for Linux

Another option for you is to install the Windows Subsystem for Linux (in Windows 10's advanced user preferences), and then you can have Ubuntu running inside of Windows, and you can

$ sudo apt install sagemath-jupyter
$ sudo apt install latex-full

and you can use all the power of Linux inside Windows.