sage-devel,

The SageTeX files released in 5.0.1 seem to be halfway-through a change in 
naming convention. Here is a typical usage in SageTeX with Sage 4.x.

    pdflatex q.tex
    sage q.sage
    pdflatex q.tex
    pdflatex q.tex
    # plots are in sage-plots-for-q.tex

That running pdflatex on q.tex creates q.sage, et cetera. In Sage 5.0.1 the 
invocation

    pdflatex q.tex

will create q.sagetex.sage instead of q.sage. OK. However, the following 
plot directory is created by the Sage invocation.

    sage-plots-for-q.sagetex.tex

This is misleading because there is no file named q.sagetex.tex. This also 
causes an error because sagetex.sty is still trying to look 
in sage-plots-for-q.tex because it is define by

    sage-plots-for-\jobname.tex

I suggest reverting to previous behavior. I did this in my local install by 
modifying the files in SAGE_HOME/local/share/texmf/tex/generic/sagetex with 
this regular expression.

    s/jobname\.sagetex/jobname/gc

Brady

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to