SageTeX / README.spkg

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.

If you're reading this, you already have Sage, so if you also have TeX
installed, you are ready to use SageTeX!

To install SageTeX, you need only make the necessary files available to
TeX; Sage already has the necessary bits built in. The easiest thing to
do is copy this directory to a texmf directory in your home directory;
something like this for Linux/Unix users:

  cp -r $SAGE_ROOT/local/share/texmf/ $HOME/texmf/

For OS X users with TeXLive:

  cp -r $SAGE_ROOT/local/share/texmf/ $HOME/Library/texmf/

I don't use Windows, so I don't know what MiKTeX users should do. Let me
know and I'll add it here!

After you've copied over the necessary files, you'll need to update
TeX's database so that it can find them. Run "texhash $HOME/texmf"
(replace the texmf directory as appropriate) to do this.

Now check out the PDF files in this directory for more information on
using SageTeX. If you have problems or suggestions see the sage-support
group (


Dan Drake
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.