implementing sagetex in latex

 0 For calling SAGE from within LATEX-file there must be following entry in line 1: % !TEX TS-program = sage // (this creates undersome conditions I dont know a syntax error) ... and \usepackage{sagetex} But I get in one tex-file a syntax error in Line 1. Does anyone know a work around or how it really works? Many thanks in advance for your hints. Gerald asked May 01 '11 pechoc 1 ● 1 Kelvin Li 423 ● 9 ● 16

 0 The line starting with % is required only for TeXShop. If you are using TeXShop as your editor, check and make sure that your installation is up to date. SageTeX functionality was included with TeXShop a while ago, but it's good to make sure you are up to date. If you are using LaTeX from the command line or using some other editor, you should make sure that the SageTeX .spkg is installed in your Sage distribution (see the SageTeX documentation section 2 for this). Also, make sure the sagetex.sty file is either in your local directory with the TeX file you are typesetting or else make sure it has been copied to your local TeXMF directory (again, see the documentation for SageTeX). posted May 01 '11 benjaminfjones 2470 ● 3 ● 33 ● 66 http://bfj7.com/

[hide preview]