implementing sagetex in latex

i like this post (click again to cancel)
0
i dont like this post (click again to cancel)

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 gravatar image pechoc
1 1

updated May 12 '11

Kelvin Li gravatar image Kelvin Li
423 9 16
i like this answer (click again to cancel)
0
i dont like this answer (click again to cancel)

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).

link

posted May 01 '11

benjaminfjones gravatar image benjaminfjones
2470 3 33 66
http://bfj7.com/

updated May 01 '11

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Tags:

Stats:

Asked: May 01 '11

Seen: 170 times

Last updated: May 01 '11

powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.