Elmo Todurov wrote:
On Feb 24, 9:21 am, Stuart Rackham <[email protected]> wrote:
The -F svg generates SVG files OK, but the graphviz-block template generates an
img tag which cannot display SVG. Using the object tag to embed the SVG file
(e.g. <object data="sample1.svg" type="image/svg+xml" />) is probably the way to
go. I'm not sure how to get around this.

Works with Google Chrome, reportedly should work in Opera. Doesn't
work in Firefox. I don't know what to do.

Another problem is that SVG is not supported by IE.

That's IE's problem, not ours :-)

The -F option documentation says "Default is 'dot'." shouldn't it read
"Default is 'png'."?

Indeed. That's what you get if you copy-paste stuff.


So, what shall we do with the <img> tag issue?

I've added a patch that includes you changes to the trunk handles SVG via a separate template. To dynamically select the template asciidoc was modified to allow attribute references in template names. I marked the SVG block experimental, there's no support for html4 or docbook backends. See:

http://code.google.com/p/asciidoc/source/detail?r=cbf7e91ca3872dffebcbb39e0b48f1a58e1eb066


Cheers, Stuart




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

Reply via email to