Hello all, trying to export worksheet in a form of html page which is
accesible even if the sage server is down or behind a firewall and
even if the user has no jsmath fonts.

My attempts include

* Print into PDF - poor quality of math and each math output is shown
two times in resulting file

* Print and save the resulting page as complete html - math is
converted into pictures (which is O.K.) but these pictures are shifted
if the user has some nonstandard settings (like bigger font -
depending on how good are her/his eyes a how big is her/his monitor) -
see e.g. http://user.mendelu.cz/marik/sage/ - the links from the list

It would help me (for example) if all occurences of regular
expressions (Emacs style)
<span class="math">\\newcommand{\\Bold}\[1\]{\\mathbf{#1}}\(.*?\)</
span>
<span class="math">\(.*?\)</span>
<div class="math">\(.*?\)</div>


were replaced by something like

<img src="http://wood.mendelu.cz/math/mathtex/mathtex.php?\1";>

Then each formula will be replaced by one picture and it will can be
saved together with the page.

Is it possible to define a kind of custom hooks which perform this
task when printing?
Or is it possible (for example) to force latex to compile all formulas
instead of jsMath?

Thank you
Robert M.

btw: I also think on the possibility to produce LaTeX code from Sage
worksheet. Is some of the Sage developers interested in difference
equations going to visit ICDEA 2009 in Estoril next week?
--~--~---------~--~----~------------~-------~--~----~
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