This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: usage of SVG 1.0b2 module
- From: Norman Walsh <ndw at nwalsh dot com>
- To: "Maring, Steve" <Steve_Maring at tvratings dot com>
- Cc: "'docbook at lists dot oasis-open dot org'" <docbook at lists dot oasis-open dot org>
- Date: Fri, 21 Jun 2002 21:32:28 +0000
- Subject: DOCBOOK: Re: usage of SVG 1.0b2 module
- References: <DF2B720CF774D21189EE00805FA7FA2204B8CF55@nmrusdunsx3.nielsenmedia.com>
/ "Maring, Steve" <Steve_Maring@tvratings.com> was heard to say:
| I've applied the XSL:FO stylesheet in docbook-xsl-1.51.1
| (http://docbook.sourceforge.net/release/xsl/current/doc/) to generate XSL:FO
| from the testsvg.xml file. However, no SVG shows up in the XSL:FO. Does
| this have something to do with docbook-xsl-1.51.1 not knowing about SVG?
Uh, yeah, I guess I haven't added that to the FO stylesheets yet. My
bad. File a bug report please. (What tool does the right thing with
SVG embedded in FO?)
| Ideally, I'd like to use OpenOffice to generate SVG diagrams and load them
| into docbook like this:
|
| <mediaobject>
| <imageobject>
| <imagedata fileref="testsvg.xml" format="svg"/>
| </imageobject>
| </mediaobject>
That should work.
| I'd rather not ugly up my docbook file with SVG point cloud info by inlining
| the SVG data. As it is, I'm going to have to post process my saved SVGs to
| apply an svg namespace prefix.
If you're doing SVG this way, you don't need the SVG module, you can
use stock DocBook. The SVG module is only necessary if you want to
embed it inline. You also don't need an SVG prefix if you do it this
way.
| Also, is this approach going to break "imageobject" for other usages, like
| loading JPEGs and EPSs?
Nope.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Everything the same; everything
http://www.oasis-open.org/docbook/ | distinct.
Chair, DocBook Technical Committee |