SageTeX is a package enabling Sage mathematics software to be used from within LaTeX documents in a wide variety of ways, similar to Sweave in R.

learn more… | top users | synonyms

0
votes
0answers
50 views

How to make a package using sagetex and sage-commands

I am trying to make my own package building on sagetex. It starts with \RequirePackage{sagetex} and I want it to execute some 'sagesilent' code as for instance \newcommand{\loadsagefunction}{ ...
0
votes
0answers
248 views

Using MiKTeX and Sagetex

I have Sage 5.5 installed on a Windows Vista desktop through Oracle's Virtual Box. I use Fedora for the Linux base. My problem is getting SagTeX and MiKTeX to work together. I'm not very familiar with ...
2
votes
1answer
137 views

Is it possible to integrate sage in kile?

I'm using sagetex to output the result of computations directly on LaTeX. I'm using Kile as my editor. The usual procedure for compilation is: compile LaTeX on Kile. goto terminal and load the Sage ...
5
votes
1answer
278 views

Using SageTeX within Windows

Sage 5.5 was just released. It is a Linux native, is there a way to use it within windows with minimal constraints?
2
votes
2answers
92 views

Runaway argument error when creating a macro for code that works outside a macro

I'm certain my problem is due to my almost complete lack of understanding of LaTeX's expansion rules... I wrote some code, which uses the SageTeX package to keep track of a list of answers to ...
4
votes
1answer
107 views

Making AUCTeX aware of SageTeX

When you compile a file with AUCTeX, it will prompt you to re-run LaTeX and BibTeX as necessary. Is there a way to get it to also run sage when using SageTeX?
2
votes
1answer
155 views

Layout of Sagetex in Tex (using Kile)

If you have something like: \begin{sagesilent} G=Graphics() H=Graphics() var('x') G+=plot(cos(x),(x,0,pi)) H+= text("$\cos(x)$", (1, 1), fontsize=16, color='black') \end{sagesilent} \[ ...
1
vote
1answer
225 views

Using quotes inside sageplot environment in SageTeX

Here's the question: how do I get the following to work in SageTeX? The quotes always lead to an error. \sageplot{plot(cos(x),(x,0,pi),label='$\cos(x)$')} Double quotes, escaping them, ... nothing ...