Thanks Dan. Now I have a harder (I suspect) question... I have quite a long Sage script which does a complicated computation I have been working on with a student of mine (in case anyone is interested it computes explicit models for three modular curves of level 13, all of genus 3!). In my normal way I have a plain .sage file which I can read in, which outputs useful info as it goes, and which also contains a lot of comments about what it is doing. As the script has grown, so too have the comments, to the extent that they vastly outnumber lines of code.
I should probably convert this into a worksheet with the comments as nice text cells. But as an alternative and an experiment I started making it into a sagetex document -- we might even write up this computation at some point after all. However, there are a few lines near the beginning of the script which take a while to run (a minute or two), and I became impatient at having to wait that time every time I had to rerun Sage after adding to the latex file. Wouldn't it be nice if somehow the Sage process which does the computations required for sagetex to be kept running so that when recompiling the latex, only new lines would be computed and not everything from scratch? Or perhaps this is a silly idea and I should just use a worksheet and output the whole thing to pdf when finished. John On 9 March 2013 18:35, Dan Drake <ddr...@pugetsound.edu> wrote: > On Sat, 09 Mar 2013 at 06:06PM +0000, John Cremona wrote: >> I did not think that the Sage source distribution included pdf files, >> but it appears that I was wrong. > > SageTeX includes PDFs of the documentation because we don't want to > assume a working TeX distribution is present. (Although if you don't have > such a thing, you likely won't be using SageTeX...) There's also the > typeset version of the example file, which is nice so users can compare > the source and the output. The PDFs add about 400 KB to the source > tarball which is reasonable, considering we also ship a compiler! > > I do notice that the share/doc/sagetex directory doesn't have the > example.tex file, which it should. I'll try to fix that and change the > documentation. > > Dan > > -- > --- Dan Drake > ----- http://math.pugetsound.edu/~ddrake > ------- -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.