Ticket #11583: dot-sagetex-dot-sage.patch

File dot-sagetex-dot-sage.patch, 1.1 KB (added by pipedream, 9 years ago)

Fix instructions in example.tex on new file extension (.sage -> .sagetex.sage)

  • example.tex

    # 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  
    11% General example LaTeX file for including Sage calculations and plots
    22% Build with:
    33%
    4 %   (pdf)latex example.tex; sage example.sage; pdflatex example.tex
     4%   (pdf)latex example.tex; sage example.sagetex.sage; pdflatex example.tex
    55%
    66% Please read README and the documentation of the SageTeX package for
    77% more information!
     
    375375  1/5*x^5 - 1/4*x^4 + 1/3*x^3 + x + 1
    376376\end{sageexample}
    377377Note 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
     378when running Sage on \texttt{example.sagetex.sage}, that gets printed to the
    379379terminal.
    380380
    381381When typesetting your document, the validity of the outputs is not