# HG changeset patch
# User Jan Groenewald <jan@aims.ac.za>
# Date 1321452219 7200
# Node ID 4b255d701a221d2feb33c7bc297a2f039e9d9d20
# Parent 3840ae05d2a798904015d2c9d1660879e4e92b83
example.sage > example.sagetex.sage
diff r 3840ae05d2a7 r 4b255d701a22 example.tex
a

b


1  1  % General example LaTeX file for including Sage calculations and plots 
2  2  % Build with: 
3  3  % 
4   % (pdf)latex example.tex; sage example.sage; pdflatex example.tex 
 4  % (pdf)latex example.tex; sage example.sagetex.sage; pdflatex example.tex 
5  5  % 
6  6  % Please read README and the documentation of the SageTeX package for 
7  7  % more information! 
… 
… 

375  375  1/5*x^5  1/4*x^4 + 1/3*x^3 + x + 1 
376  376  \end{sageexample} 
377  377  Note that the ``$f$ called with\ldots'' stuff doesn't get typeset, since 
378   when running Sage on \texttt{example.sage}, that gets printed to the 
 378  when running Sage on \texttt{example.sagetex.sage}, that gets printed to the 
379  379  terminal. 
380  380  
381  381  When typesetting your document, the validity of the outputs is not 