When you need to use again sage, you don't need to write the command, because using up arrow on your keyboard will apear the command and you only have to press enter. tex file) and the procces will start when you press enter.ĥ.- Finaly, use texniccenter to compile again the. To process the file you have to write load(') (file is the name of your. cd 'folder 1'Ĥ.- When you are into your destination folder, you can see its contents with "ls". Is important, if your folder's name has spaces placing it between ' ', i.e. After that a shell is opened and when we see sage:, sagemath is ready.ģ.- Navigate to folder where our files are using "cd" command, like cd documents. You should open Sagemath 8.6, not Sagemath 8.6 Shell or Sagemat 8.6 Notebook. Remember you have to load sagetex package: \usepackageĢ.- Sagemath installation on windows has 3 shotcurts. Now using sagetex on windows is possible according this:ġ.- Use texniccenter to compile your. This can be done copying al files in *c:\Program Files\SageMath 8.6\runtime\opt\sagemath-8.6\local\share\texmf\tex\latex\sagetex* into *c:\Program Files\MiKTeX 2.9\tex\latex\sagetex* Then you should install in miktex same version of sagetex as you have in Sagemath. Step 4: Sagetex version in miktex is different to sagetex version in Sagemath 8.6. Step 3: Install Sagemath 8.6 64-bit or better. 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.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |