Elmo Todurov wrote:
Hi. I prefer SVG to PNG for Graphviz output, so I modified the
graphviz filter to take an additional parameter, format. The patch is
here: http://issues.lumiera.org/ticket/171#comment:2
I would be very glad to see the change integrated into asciidoc.
Thanks for the patch Elmo, I have a couple of questions:
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.
Another problem is that SVG is not supported by IE.
The -F option documentation says "Default is 'dot'." shouldn't it read
"Default is 'png'."?
BTW, don't need to patch CONF_DIR in a2x.py and asciidoc.py, that's done by the
Makefile.
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.