On Jul 16, 2012, at 07:11 , Andrey Novoseltsev wrote:

> On Jul 16, 7:16 am, kcrisman <kcris...@gmail.com> wrote:
>> Yes!  I use SageTeX fairly regularly in precisely this way, and even
>> updating the most recent time was annoying.  Basically, one has to upgrade
>> the SageTeX installation every time it changes in Sage, but this sometimes
>> causes weird messages (which I don't have because I was able to do it,
>> eventually).  The stuff about the engines and the %!TEX business are rather
>> underdocumented.  Since I figure I'm a (relatively) experienced Sage user,
>> this shouldn't cause me that much trouble, but it does, so I can only guess
>> what others might have to do.  Unfortunately, I'm not an experienced enough
>> TeX macro person to know whether you directions are correct and have every
>> detail, though this seems right.
> 
> Personally, I think that the best way to use SageTeX given its
> changing nature is to have sagetex.py and sagetex.sty in the folder of
> your document. This way LaTeXing should work even with different
> versions of Sage without any issues and someone without Sage can at
> least edit non-Sage blocks and compile the document correctly. And
> when you really need to update SageTeX for an existing document - you
> replace these files and deal with consequences.

This is a good way to go if you keep your documents in separate folders.  I 
tend to keep them all together, until the complexity of a given document (# of 
files making up the doc, ...) gets beyond where I can keep track of it all.  
For this case, your way doesn't work.

It would be be better to avoid changes that affect compatibility, but that's 
not always possible.  Is it?  Hmmm...

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
  when you don't get what you want.
--------



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



Reply via email to