Hi Rob,

Rob Beezer escribió:
> Hi Offray,
>
> Thanks for the reply.  I think we pretty much in agreement on most all
> of this.
>   


Thanks for your quick answer and, help and concern about this inquires. 
That makes very nice to be part in a so newbie friendly community as Sage.

It seems that I had missed some dependencies and your detailed method 
show me that. Now the exporter is working and I can reproduce the same 
results as yours. Now it seems to me that htlatex is a workable approach 
from TeXmacs to Sage translations.

>   
>> this will be some kind of experience that they don't want to repeat.
>>     
>
> Yes, I've seen students resist, but then become proponents, especially
> with Beamer versus Powerpoint.  ;-)
>   

The more as I see Beamer presentations (specially the ones of the Sage 
Days) the more I think that is a selling point of LaTeX. I have found a 
nice package called yml2tex that makes easier to create Beamer, with 
some constrains, like the default template being always the same, but is 
a good start.

> Also, I agree that PlasTeX's statement about splitting the parser and
> the renderer is a very good idea and suggests certain possibilities.
> But it also appears that TeXmacs has taken a similar approach.  It
> seems that their structured "source tree" creates similar
> possibilities and they already have the ability to incorporate Sage
> sessions into that tree.
>
>   
[...]
> 3.  Run python script:  parse-tex4ht A.html A.css A.presage
>
>   
[...]
> The latter process will take a \begin{sageverbatim}\end{sageverbatim}
> environment in the Latex source and eventually convert it to a Sage
> cell in the worksheet.  (There is no such environment - this is just a
> hack to mark off Sage code in the latex source.)  My goal in life is
> to make (3) obsolete and streamline the rest.
>   
[...]

So seems that the problem now is to make htlatex to take a proper config 
file to understand the LaTeX output of TeXmacs and convert it to proper 
sws. I don't know (La)TeX enough to make that happen, but I will be 
making some exploratory tests with tex4ht-sage.cfg. If that don't work I 
will "escape to Python" to see what can I do from there, but that brings 
back to life the point 3, so the point is that htlatex and 
PlasTeX/python are "excluding combinations". Both experiments are 
interesting although.

I will keep you posted.

Offray

--~--~---------~--~----~------------~-------~--~----~
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