Hi 0 jan@muizenberg:/var/autofs/misc/home/jan$grep example.sage /usr/local/src/sage-4.7.2/local/share/texmf/tex/generic/sagetex/example.tex % (pdf)latex example.tex; sage example.sage; pdflatex example.tex when running Sage on \texttt{example.sage}, that gets printed to the
In sage 4.7.2 the file extension changed from example.sage to example.sagetex.sage. Attached a trivial patch for the upstream sagetex. Regards, Jan -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
# HG changeset patch # User Jan Groenewald <j...@aims.ac.za> # Date 1321452219 -7200 # Node ID 4b255d701a221d2feb33c7bc297a2f039e9d9d20 # Parent 3840ae05d2a798904015d2c9d1660879e4e92b83 example.sage -> example.sagetex.sage diff -r 3840ae05d2a7 -r 4b255d701a22 example.tex --- a/example.tex Sat Jun 18 09:50:05 2011 +0900 +++ b/example.tex Wed Nov 16 16:03:39 2011 +0200 @@ -1,7 +1,7 @@ % General example LaTeX file for including Sage calculations and plots % Build with: % -% (pdf)latex example.tex; sage example.sage; pdflatex example.tex +% (pdf)latex example.tex; sage example.sagetex.sage; pdflatex example.tex % % Please read README and the documentation of the SageTeX package for % more information! @@ -375,7 +375,7 @@ 1/5*x^5 - 1/4*x^4 + 1/3*x^3 + x + 1 \end{sageexample} Note that the ``$f$ called with\ldots'' stuff doesn't get typeset, since -when running Sage on \texttt{example.sage}, that gets printed to the +when running Sage on \texttt{example.sagetex.sage}, that gets printed to the terminal. When typesetting your document, the validity of the outputs is not