Hi, there, I am working on an ebook where I want to use svg for images. I see that SVG support in Kindle has improved recently, and plus my images might future-proof better if I use svg.
I suspect that svg and docbook play well together. But I don't know really what's going on. I see that there's an example of svg inside an imagedata element here: http://docbook.org/tdg51/en/html/_any.svg.html How would the epub3 stylesheets render the example (generally I mean). Does it just pass the svg code as is into the xhtml? Is there any way to do a fallback rendering if the browser or tablet doesn't support svg? Also, if I use the example below as my svg, when you run the epub3 XSLT, which of these files (if any) will appear in package.opf file? Robert Nagle <svg id="ch1-title-image" viewBox="0 0 1000 500" preserveAspectRatio="xMidYMin meet"> <defs> <desc> Chapter 1 </desc> <clipPath id="inset-ch1"> <use xlink:href="images/ChapterBorder.svg#inset-border"/> </clipPath> <defs> <image xlink:href="images/Ch1.jpeg" x="350" y="100" width="300" height="200" clip-path = "url(#inset-ch1)" /> <use xlink:href="images/ChapterBorder.svg" x="0" y="0" width="1000" height="500" /> <text x="500" y="400" text-anchor="middle" font-size="60"> The Lamp in the Window </text> </svg> -- Robert Nagle 6121 Winsome Ln #56C, Houston TX 77057-5581 (H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010 http://www.robertnagle.info
