ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 01 May 2012 17:03:31 +0200Make sage not recreate plot files for sagetexhttps://ask.sagemath.org/question/8943/make-sage-not-recreate-plot-files-for-sagetex/When running sage on a .sagetex.sage file, it spends ages on "Initializing plots directory\n Plot 0". Most of the time I haven't changed the plots. How do I tell sage(tex) to use the files generated last time?Tue, 01 May 2012 07:56:33 +0200https://ask.sagemath.org/question/8943/make-sage-not-recreate-plot-files-for-sagetex/Answer by kcrisman for <p>When running sage on a .sagetex.sage file, it spends ages on "Initializing plots directory\n Plot 0". Most of the time I haven't changed the plots. How do I tell sage(tex) to use the files generated last time?</p>
https://ask.sagemath.org/question/8943/make-sage-not-recreate-plot-files-for-sagetex/?answer=13520#post-id-13520I don't know what system you are on, but using TeXShop on Mac, I just do Shift-Command-L (for LaTeX, no Sage) and that does this for me.
This doesn't answer the question if you need to use SageTeX on the file but not to change the plots, of course.Tue, 01 May 2012 12:35:53 +0200https://ask.sagemath.org/question/8943/make-sage-not-recreate-plot-files-for-sagetex/?answer=13520#post-id-13520Answer by Jason Grout for <p>When running sage on a .sagetex.sage file, it spends ages on "Initializing plots directory\n Plot 0". Most of the time I haven't changed the plots. How do I tell sage(tex) to use the files generated last time?</p>
https://ask.sagemath.org/question/8943/make-sage-not-recreate-plot-files-for-sagetex/?answer=13523#post-id-13523You might use sagetexpause and sagetexunpause. See the sagetex manual (http://mirrors.ctan.org/macros/latex/contrib/sagetex/sagetexpackage.pdf), section 3.4.
This may not display your old image, but it at least doesn't try to recreate it, I think.Tue, 01 May 2012 17:03:31 +0200https://ask.sagemath.org/question/8943/make-sage-not-recreate-plot-files-for-sagetex/?answer=13523#post-id-13523