Dear Wilfried,

The tutorial looks great! How did you do the numbered head lines and the 
index? Is the sage worksheet itself published somewhere?

Cheers
Stan

Wilfried_Huss wrote:
>
> On 29 Okt., 12:44, "ma...@mendelu.cz" <ma...@mendelu.cz> wrote:
>   
>> Hello all, the conversion into PDF has been discussed several times
>> here.
>>
>> One option is to print into a PDF file. This is another possibility:
>>
>> I wrote for myself a simple converter from Sage worksheets to PDF via
>> PDF LaTeX
>>     
>
> Great, this is exactly what I need.
>
>   
>> You can see the outputs in the bulletted list 
>> athttp://user.mendelu.cz/marik/sage/
>> , for examplehttp://user.mendelu.cz/marik/sage/dr.pdf
>>
>> The initial version of the script is 
>> athttp://user.mendelu.cz/marik/sage/sage2tex
>> and is neither cleanly written nor clever too much, but still "better
>> than get a wire into your eye" - as we say in Czech :)
>>
>> For whom is this topic worth
>>
>> Feel free to use it or modify as you need.
>>     
>
> I have modified the skript a little bit. It now first builds a list of
> text-, input- and output
> cells, and then converts each sell to latex. This makes things much
> easier. I also
> added syntax highlighting for python, html and latex input cells, and
> if the output is not
> a tex formula it is put into a verbatim environment.
>
> The HTML-LaTeX conversion is still done by a bunch of regular
> expressions, so this
> will need some improvements. But it already works very well.
>
> You can find the new version of the script at:
>    http://www.math.tugraz.at/~huss/sage/sws2tex.py
>
> And here are example outputs:
>    http://www.math.tugraz.at/~huss/sage/sage_tutorium.pdf
>    http://www.math.tugraz.at/~huss/sage/sws2pdf_test.pdf
>
> Would you agree to release your initial script under the GPL or an
> other Sage compatible
> licence? I hope this can be improved to a point where it could be
> included into Sage, for
> this it needs a proper licence.
>
> Cheers,
> Wilfried Huss
> >
>   


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

Reply via email to