On Wed, 04 Dec 2013 at 03:09PM -0800, philipp.ui...@googlemail.com wrote: > I'm pretty new to Sage, but it seems to be the program i was searching > for a quite long time. Basically I'm interested in using sage's > calculation in TexShop, but something seems to be broken in the > automation if Sagetex in TeXShop. I hope someone could help me fixing > the issues i have with it. For sure, I followed the instrutions given > on the sage website, but for some reason Sagetex isn't working.
The key error message is: /Applications/sage/local/bin/sage-preparse: File 'example.sage' is missing It looks like TeXShop's script assumes that SageTeX produces a file with a ".sage" extension -- but that has long since changed; the generated Sage files have an extension of ".sagetex.sage". I forget exactly where TeXShop stores the scripts that run Sage (I think it defaults to ~/Library/TeXShop/Engines/Inactive/Sage), but you can edit that script -- there should be something in it that runs Sage on "something.sage" (where "something" is perhaps $1 or other shell stuff); you should change that to something.sagetex.sage. Dan -- --- Dan Drake ----- www.math.wisc.edu/~ddrake/ -------
signature.asc
Description: Digital signature