Hi Offray,

Your timing is very good - and I've been interested in your project as
well.  ;-)  I have written a 14-page primer on group theory, which is
doing double-duty as a test bed for conversion from LaTeX to Sage
worksheets.  Most of the work is done by the tex4ht tool.

Unfortunately, I discovered my tex4ht setup is broken since I now have
a 64-bit machine and a couple of executables are 32-bit.  And I need
to upgrade my tex4ht files as well to solve a nasty bug.

Anyway, I plan to post PDF, SWS, the heavily-documented LaTeX source,
and possibly the Python helper script (which we should be able to
obsolete eventually) just as soon possible.  I obtained today from the
tex4ht author the information I need to restart, so it should be
soon.  I'll announce it here the minute it is ready.

Rob

On Jan 29, 2:17 am, Offray Vladimir Luna Cárdenas
<[email protected]> wrote:
> Hi Rob,
>
> I'm pretty interested in your work. I'm thinking in something like this
> but using TeXmacs + Sage instead of LaTeX + Sage. Could you please share
> your code with us?
>
> Thanks a lot,
>
> Offray
>
> Rob Beezer escribió:
>
> > I've been working on the conversion of LaTeX documents, which include
> > Sage code, into Sage worksheets.  Here's the current state of the
> > experiment.  From the same LaTeX source, I'm producing PDF with bits
> > of Sage code inline and in set-off blocks.  The blocks are formatted
> > with SageTeX's "sageverbatim" environment.
>
> >http://buzzard.ups.edu/sage/sage-group-theory.pdf
>
> > To create a worksheet, I use tex4ht to convert the LaTeX into jsMath.
> > The sageverbatim environment is redefined so that tex4ht wraps the
> > sage code with markers.  Then a small Python script (about 55 lines)
> > makes minor modifications to the jsMath so that it is in the proper
> > format to copy into a worksheet wholesale as text.  The result is that
> > the blocks of code are now "live" when viewed in the Sage notebook so
> > the reader can execute or modify them as they read about Sage and/or
> > mathematics.
>
> >http://buzzard.ups.edu/sage/sage-group-theory-20081217.sws
>
> > At a minimum, this is a nice example of several open tools working
> > together (LaTeX, tex4ht, jsMath, Sage NB).  Hopefully some will see
> > the potential for cleaning this up and expanding the possibilities.  I
> > think it could be a big help in creating more tutorials, guides and
> > books that combine Sage and mathematics in a variety of formats -
> > further promoting Sage, especially in educational settings.
>
> > Comments, suggestions, help, etc welcome.  (Content itself is still a
> > work-in-progress.)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to