[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: SVG in DocBook [was: Re: DOCBOOK-APPS: UML support...]
Arnaud Vandyck wrote: > Can anyone point me how to embed SVG in docbook and of to render it? You can inline it, but you probably want to reference it: For [...] <mediaobject> <imageobject> <imagedata fileref="ch01_pic01a.svg" format="SVG" contentwidth="400" contentdepth="300"/> </imageobject> <textobject> <phrase>Bar</phrase> </textobject> </mediaobject> [...] The docbook.sf.net FO XSLTs give you something like [...] <fo:external-graphic src="url(ch01_pic01a.svg)" width="500pt" height="auto" content-width="auto" content-height="auto"/> [...] Then you can use FOP to get PDF. In (X)HTML, the output can look like this: (all is just vague and stripped pseudo code) <div class="mediaobject"> <object data="ch01_pic01a.svg" type="image/svg+xml" width="500" height="300">Bar</object> </div> Tobi -- http://www.pinkjuice.com/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC