# this runs Sage on the generated .sage files to see if they work ok
# this is basically the spkg-check file
+ pdflatex -interaction=nonstopmode $1
+ echo "Error typesetting $1! You likely need to install TikZ"
+ echo "(version 2.00 or newer) to fully test SageTeX."
pdflatex example.tex > /dev/null
pdflatex sagetexpackage.dtx > /dev/null
# if we get here, we assume the .sage files are good, and exit successfully