To embed Sage code into a LaTeX document, you need the SageTeX package.
That package used to be kept here, but now it's a regular Sage package.

To install SageTeX, visit http://sagemath.org/packages/optional/ and
find the current version of the SageTeX spkg. Then do

    $ sage -i sagetex-2.1.1

(with the correct version) on the command line. Then visit
SAGE_ROOT/local/share/texmf/tex/generic/sagetex and read
sagetexpackage.pdf for installation and usage instructions. (Very quick
installation instructions: after installing SageTeX into Sage, you need
to make sagetex.sty known to your TeX distribution.)
