Index of /macros/latex2e/contrib/sagetex
      Name                    Last modified       Size  Description

[DIR] Parent Directory 07-Dec-2019 05:17 - [   ] CONTRIBUTORS 10-Jan-2019 03:48 1k [   ] PKG-INFO 10-Jan-2019 03:53 1k [   ] example.pdf 10-Jan-2019 03:51 278k [TXT] example.tex 06-Jan-2019 14:07 21k [   ] py-and-sty.dtx 09-Jan-2019 11:59 64k [   ] remote-sagetex.dtx 09-Jan-2019 11:59 17k [   ] sagetex.dtx 10-Jan-2019 03:48 53k [   ] sagetex.ins 06-Jan-2019 14:07 5k [   ] sagetex.pdf 10-Jan-2019 03:51 488k [   ] scripts.dtx 09-Jan-2019 11:59 17k [   ] 09-Jan-2019 12:00 1k

This is the SageTeX package. It allows you to embed code, results of
computations, and plots from the Sage mathematics software suite
( into LaTeX documents.

SageTeX is included with Sage, so to use it, you only need to make the
file sagetex.sty known to TeX; that file will be in
SAGE_ROOT/local/share/texmf/tex/latex/sagetex, along with
documentation and examples. See the Sage tutorial at 
for a quick usage introduction, and for complete installation
instructions later on the same page at

The complete documentation is in sagetex.pdf, in
the SAGE_ROOT/... directory mentioned above.

If you want to extract any of SageTeX's files from the .dtx sources, you
can do

  0. Run `latex sagetex.ins'

To regenerate the documentation, do

  1. Run `latex sagetex.dtx'
  2. Run `sage sagetex.sage'
  3. Run the indexing commands that the .ins file told you about.
  4. Run `latex sagetex.dtx' again.

You can skip step 3 if you don't care about the index. You will need the
pgf and tikz packages installed to typeset the figures.

The file example.tex has, as you likely guessed, a bunch of examples
showing you how this package works. You can compile it using a another
latex-sage-latex cycle as in steps 1-2-4 above. Note that example.tex
includes some PNG graphics which latex cannot use; to see those, use
pdflatex instead of regular latex or enable the imagemagick option. (See
the documentation.)

To use the SageTeX package with your own documents, see the
"Installation" section of the documentation.

This work builds on a lot of work by others; see the CONTRIBUTORS file
and the "Credits" section of the documentation for credits. The source
code may be modified and distributed under the terms of the GPL, version
2 or later; the documentation may be modified and distributed under a
Creative Commons Attribution - Share Alike 3.0 License. See the "Copying
and licenses" section of the documentation.

Please let me know if you find any bugs or have any ideas for

- Dan Drake <dr.dan.drake at gmail>