Ask Your Question

Make sage not recreate plot files for sagetex

asked 2012-05-01 07:56:33 +0200

chaesloc2 gravatar image

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?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-05-01 12:35:53 +0200

kcrisman gravatar image

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

edit flag offensive delete link more

answered 2012-05-01 17:03:31 +0200

Jason Grout gravatar image

updated 2012-05-01 17:08:52 +0200

You might use sagetexpause and sagetexunpause. See the sagetex manual (, section 3.4.

This may not display your old image, but it at least doesn't try to recreate it, I think.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-01 07:56:33 +0200

Seen: 274 times

Last updated: May 01 '12