On Jan 20, 6:23 am, kcrisman <[email protected]> wrote:
> PS Yes, Rob, that means I was able to get tex2sws to work on Mac,
> actually quite easily. Unfortunately, since Dan D. is constantly
> updating SageTeX, I'm pretty sure that the one I have in my TeX distro
> can't handle your more exotic examples (\begin{sageexample}?), and I
> can never get the new SageTeX class file to find the right place to
> live :(
Very good!
Given my bleeding-edge dependency on SageTeX, I now put the whole,
latest, most-current SageTeX package into my personal texmf tree,
ignoring the version distributed with Sage. But now I need to get
the sagetex.py piece of Sage to match up.
Note there are about six copies of sagetex.py floating around. Some
(most?) are a proof-of-concept idea to convert a worksheet to
(la)tex. I would guess they are obsolete given the sws2tex project?
Maybe they could be excised?
Anyway, here is a hint of how to get the current sagetex.py into the
right place in Sage, hopefully the pieces are basically self-
explanatory. I think Dan is going to add a short explanation of this
to some portion of the SageTeX docs.
~/texmf/tex/latex/sagetex-20101119-r112$ $SAGE_ROOT/sage -python
setup.py install
Any problems converting \begin{sageexample}\end{sageexample} to a
worksheet are on my end, not Dan's. I'm making this work with a quick-
and-dirty hack that I just have not cleaned-up yet and is therefore
not public, but which I will send to you off-list right now.
Now you can see where I am: latest version of SageTeX w/ Sage hacked
to match, hacked version of conversion software, heavily-patched Sage
to include in-progress linear algebra patches, heavily-patched version
of textbook with new Sage content. It is a small wonder anything
useful at all comes out of all this. ;-)
Rob
--
You received this message because you are subscribed to the Google Groups
"sage-edu" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-edu?hl=en.