On 2010-04-13, Václav Šmilauer wrote:
> Hi there,

> I am not sure whether this is Firefox-specific... I am not able to see
> SVG figures in HTML output, with Firefox 3.6.3. It doesn't display
> anything at all, just blank space. Those SVG were created byt
> inkscape. Is it possible that Firefox is _that_ picky about svg files?

Does the same file work with other browsers (opera, konqueror, midori,
...)?

What happens if you give the file a ".xhtml" extension (the trick to make
Firefox display MathML)?


If not, how does the image tag look like? For SVG images, you need an
<object> tag instead of an <img>. This is only implemented in the
development version of Doctutils (Docutils 0.7 [repository]).

> Does that work for everybody else normally? 

I have no problems with these browsers and firefox to see the SVG image
example in the local Docutils test file:

 docutils-svn/docutils/test/functional/expected/standalone_rst_html4css1.html

However, when viewing

http://svn.berlios.de/viewvc/*checkout*/docutils/trunk/docutils/test/functional/expected/standalone_rst_html4css1.html#svg-images

with firefox 3.5.8 or midori, SVG images are shown as text and SWF images
not at all (instead I see the filename as replacement text).

With Opera and Konqueror, both the local file and the link above work
fine.

> In that case I would start
> investigating inkscape/firefox svg compatibility.

Maybe this is due to a security setting or viewvc-delivered headers?

Günter



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