Hello all,

The SageTeX package needs two basic pieces to work: a pure Python
module, and a pure LaTeX style file. Since a Sage installation is
necessary for either of those pieces to be useful, it seems like it
would be wise to include SageTeX as a spkg.
I have a preliminary version ready to go:

  http://sage.math.washington.edu/home/drake/sagetex-2.0.spkg

The spkg installs a single Python module, sagetex.py, into
the $SAGE_ROOT/local/lib/python tree. The rest of the files it installs
are documentation and TeX files; all those are installed into
$SAGE_ROOT/local/share/texmf/tex/generic/sagetex. The directory fits
with typical TeX installations, so that anyone who wants to use SageTeX
can do something like

  cp -r $SAGE_ROOT/local/share/texmf/* ~/texmf/

and run texhash to make their TeX installation aware of the sagetex.sty
file.

I think having the sagetex.py module built-in to Sage makes sense, as it
makes it easier to use SageTeX (which in any case doesn't work unless
you have Sage installed) and the Python module is under 5KB. The rest of
the spkg is mostly pre-built documentation.

So, should we include SageTeX as a spkg?

Dan

-- 
---  Dan Drake <dr...@kaist.edu>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake

Attachment: signature.asc
Description: Digital signature

Reply via email to