Harald Schilly wrote:
> 
> 
> On Feb 6, 2:06 pm, Samuel DM <sder...@gmail.com> wrote:
>> Yes, it seems they were not generated. I thought running pdflatex on
>> the file with the shell-escape option was enough though.
>> The rendered pdf is full of "??" so my guess is that sage commands
>> don't work when being called by latex.
>> Is there a way to solve that?
> 
> What's the shell escape option? According to ยง3 of the manual, you
> have to "typeset your document, you need to run
> LATEX, then run Sage (on the .sage file, you get a .sout), then run
> LATEX again."


Harald's right.  You're missing a step.  You have to run sage on the 
generated .sage file.

Harald: the shell-escape option lets tex run outside programs (shell 
programs).  Here is an example of what is possible: 
http://www.texample.net/weblog/2008/oct/24/embedding-python-latex/  That 
is similar to sagetex, in that it lets you run python programs and embed 
the output in tex.

That said, Dan, what do you think of using the shell-escape option to 
run Sage directly?

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to