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.Thu, 15 Nov 2012 19:11:40 +0100sagetex after upgrade to sage 4.7.2https://ask.sagemath.org/question/8445/sagetex-after-upgrade-to-sage-472/Dear sage support group,
Let me start by thanking you for the recent advice which made it possible to use SageTeX with sage 4.7.1. I am so happy that I can use that.
However, after I upgraded to the new version of sage, sage 4.7.2, I can't get SageTeX to work again. I can't figure out what's wrong, and would greatly appreciate any help you might be able to give.
Here is what I did after installing sage 4.7.2 (app-version under Mac OS 10.6.8). The analogous setup worked for sage 4.7.1:
I copied the new version of the sagetex.sty-file coming with sage 4.7.2 to the folder ~/Library/texmf/tex/generic/sagetex/ and updated the call of sage in the sage.engine of TeXShop (the path to the application is correct, because it will start sage in a Terminal session).
With the new setup, according to the log file of TeXShop, sage is called when running the sage.engine of TeXShop, but still none of the output sage should produce for the example.tex-file provided is shown. Instead there are question marks. As might be expected one gets also lots of LaTeX warnings about undefined references.
What could be the problem?
Regards,
Udo Baumgartner Sat, 05 Nov 2011 14:46:35 +0100https://ask.sagemath.org/question/8445/sagetex-after-upgrade-to-sage-472/Answer by phys for <p>Dear sage support group, </p>
<p>Let me start by thanking you for the recent advice which made it possible to use SageTeX with sage 4.7.1. I am so happy that I can use that. </p>
<p>However, after I upgraded to the new version of sage, sage 4.7.2, I can't get SageTeX to work again. I can't figure out what's wrong, and would greatly appreciate any help you might be able to give. </p>
<p>Here is what I did after installing sage 4.7.2 (app-version under Mac OS 10.6.8). The analogous setup worked for sage 4.7.1: <br/>
I copied the new version of the sagetex.sty-file coming with sage 4.7.2 to the folder ~/Library/texmf/tex/generic/sagetex/ and updated the call of sage in the sage.engine of TeXShop (the path to the application is correct, because it will start sage in a Terminal session). </p>
<p>With the new setup, according to the log file of TeXShop, sage is called when running the sage.engine of TeXShop, but still none of the output sage should produce for the example.tex-file provided is shown. Instead there are question marks. As might be expected one gets also lots of LaTeX warnings about undefined references. </p>
<p>What could be the problem?</p>
<p>Regards, </p>
<p>Udo Baumgartner </p>
https://ask.sagemath.org/question/8445/sagetex-after-upgrade-to-sage-472/?answer=12896#post-id-12896The names of the files generated by sagetex are xxx.sagetex.sage and xxx.sagetex.sout but sage.engine in TexShop is looking for xxx.sage and xxx.sout.
Modifying sage.engine in TexShop by changing sagename and soutname
from
{filename/%tex/sage} and {filename/%tex/sout}
to
{filename/%tex/sagetex.sage} and {filename/%tex/sagetex.sout}
works for me.
physSun, 13 Nov 2011 19:22:20 +0100https://ask.sagemath.org/question/8445/sagetex-after-upgrade-to-sage-472/?answer=12896#post-id-12896Comment by oscar231 for <p>The names of the files generated by sagetex are xxx.sagetex.sage and xxx.sagetex.sout but sage.engine in TexShop is looking for xxx.sage and xxx.sout. </p>
<p>Modifying sage.engine in TexShop by changing sagename and soutname
from</p>
<p>{filename/%tex/sage} and {filename/%tex/sout}</p>
<p>to </p>
<p>{filename/%tex/sagetex.sage} and {filename/%tex/sagetex.sout}</p>
<p>works for me.</p>
<p>phys</p>
https://ask.sagemath.org/question/8445/sagetex-after-upgrade-to-sage-472/?comment=18700#post-id-18700I'm using TexShop 3.11. I think that when I got a new computer, with Mountain Lion, is when sagetex stopped working. I tried everything, to no avail. I even learned to run sage from the command line to process the .sage file. This is just what I needed, I'm a happy man again.Thu, 15 Nov 2012 19:11:40 +0100https://ask.sagemath.org/question/8445/sagetex-after-upgrade-to-sage-472/?comment=18700#post-id-18700Comment by kcrisman for <p>The names of the files generated by sagetex are xxx.sagetex.sage and xxx.sagetex.sout but sage.engine in TexShop is looking for xxx.sage and xxx.sout. </p>
<p>Modifying sage.engine in TexShop by changing sagename and soutname
from</p>
<p>{filename/%tex/sage} and {filename/%tex/sout}</p>
<p>to </p>
<p>{filename/%tex/sagetex.sage} and {filename/%tex/sagetex.sout}</p>
<p>works for me.</p>
<p>phys</p>
https://ask.sagemath.org/question/8445/sagetex-after-upgrade-to-sage-472/?comment=20419#post-id-20419In my TeXShop, I had to change `set sagename = "${filename:r}.sage"` to `set sagename = "${filename:r}.sagetex.sage"`. So apparently there is no soutname anymore? Anyway, if someone has a different version of sage.engine this might be helpful.Thu, 26 Jan 2012 11:55:48 +0100https://ask.sagemath.org/question/8445/sagetex-after-upgrade-to-sage-472/?comment=20419#post-id-20419