On Fri, 2009-01-09 at 08:07 -0500, Eric Jonas wrote:
> Gerard, 
> 
> > 
> > For the custom directive part, you are as wise as me - I've never done
> > that. Here is some prior art though:
> > 
> > http://www.bitbucket.org/birkenfeld/sphinx/src/tip/sphinx/ext/todo.py
> > http://svn.scipy.org/svn/numpy/trunk/doc/sphinxext/
> > 
> > I have to go out now, but I can make a start on this in maybe 2/3 hours
> > time - if you make any progress yourself, let me know!
> 
[...]
> At the moment, I think my current plan is to basically create an svg::
> directive, as you suggested, with all the standard trimmings of the
> img:: directive. But then, I'm probably going to end up doing the
> following:
>    1. converting the SVG to PDF for inclusion in LaTeX docs via an
> external application like Batik 
>    2. converting the SVG to a PNG for inclusion in most HTML
>    3. having the PNG in the HTML link to the SVG. 
> 

Ah, sounds tricky enough. Mine is just a hack really:

http://pastebin.com/m1df5f8ac

It works in firefox.

Good luck.

G.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" 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/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to