OK, SVG should (in trunk) now work like other images.  Sphinx will
generate an <object><embed></object> tag construct, like recommended at
<http://wiki.svg.org/SVG_and_HTML>.

cheers,
Georg

Georg Brandl schrieb:
> Andrew Straw schrieb:
>> Hi, a minor nit with the html output:
>> 
>> The html output format prefers .svg over .png images. So do I, but from
>> what I gather[1], no version of MS IE, including v8 (just released) has
>> an .svg renderer built-in. So, I think .png should be preferred over
>> .svg for html.
> 
> I agree.
> 
>> Also, for some reason, when viewing the build output locally in firefox
>> 3 on Ubuntu 8.04, it doesn't pick up the .svg file, even though it does
>> pick up the .png file when I render the page that way... Seems like a
>> firefox glitch, since I verified the paths in the .html are the same
>> modulo the extension and that the files were actually present in the path...
> 
> The problem is (this has been discussed before, but I haven't got around to
> actually implementing something) that SVGs are not included via <img>, but
> via <object>. The image directive currently doesn't know that.
> 
> That will be fixed in time for 0.6.

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