Step 2: Install Texniccenter 2.02 64-bit (I think another program like texworks, texmaker, winedt, etc will work). Step 1: Install miktex 2.9 64-bit, full install. There is a way to use sagetex on windows: Thes two have to work on the same directory (for example by creating a shared directory and cding to it from both sides).
Now, since you use MikTeX (a Windows port of \LaTeX), you have to work both from Windows (to execute pdflatex) and from the Linux VM (to run sage), unless you have managed to create a Windows link able to call Sage from a Windows command line. tex file now that the Sage outputs exist and are referenceg in foo.aux, they will be inserted in your output PDF.Īll of this is well-documented in $SAGE_ROOT/local/share/texmf/tex/latex/sagetex/sagetex.tex reading and modifying $SAGE_ROOT/local/share/texmf/tex/latex/sagetex/example.tex is also useful. This will compute the outputs, place them in specific files, and, IIRC, update the foo.aux file.
pdflatex foo.tex : the \sagexxx macros will generate a Sage program and (via the foo.aux file) leave _references_ to the sage outputs, which are yet to be generated these (unfilled) references will print as ? in the output file.Įxecute your Sage program (i. To get the result you expect from Sage\TeX (e.