And a followup:
On Jul 15, 2012, at 13:56 , Justin C. Walker wrote:
> This deals with the use of SageTeX on Mac OS X/TeXShop, so if that's not of
> interest, feel free to delete and move on.
>
> I just got finished a long detour into using SageTeX with TeXShop on Mac OS
> X, and have a question and a couple of comments.
>
> It's been mentioned here that SageTeX changed, between the Sage 4.x and Sage
> 5.x, the naming of the intermediate sage files produced during typesetting.
>
> The impact of this for the Mac world is that the TeXShop engine that is
> provided for SageTeX has to change.
>
> So the question is: is this change necessary? Is it the first of many? I
> did a quick check of Trac and didn't see anything pertaining to this change
> (although my facility with the Trac search scheme is not always that
> productive).
>
> That's more than one question, so I should add one more to round up to an
> even three:
> Is it sufficient to do something like this in the TeXShop's sage engine:
> XXX=`sage -version`
> if "first character" is < 5
> then
> use old naming convention
> else
> use new naming convention
> fi
> ?
My comment: in the doc section on TeXShop, it is mentioned that one should add
the line
%!TEX TS-program = sage
at the top of the document. I think the discussion should be changed to
something like
"Once the file `sage.engine' is placed in the `Engines' directory, TeXShop
should be restarted so that it recognizes the new engine. The engine is
invoked in one of two ways. The first is by selecting it in the pulldown menu
to the right of the "Typeset" button. The second is to put the following line
%!TEX TS-program = sage
with the first 12 lines at the beginning of the .tex file in question. Note
that, in this line, there must be exactly one space on either side of the "="."
Should I open a ticket?
Thanks!
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
Like the ski resort full of girls hunting for husbands
and husbands hunting for girls, the situation is not
as symmetrical as it might seem.
- Alan MacKay
--
--
--
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