This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: [docbook] Using <embed> for SVG
- From: Jens Stavnstrup <js at ddre dot dk>
- To: Jamie Echlin <jechlin at clearvision-cm dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 8 Jul 2004 11:08:28 +0200 (CEST)
- Subject: [docbook-apps] Re: [docbook] Using <embed> for SVG
- References: <40EC6809.50901@kuilder.net> <20040707210844.GA10972@linux><40EC75DD.60306@kuilder.net> <40ED0B24.50300@clearvision-cm.com>
- Reply-to: Jens Stavnstrup <js at ddre dot dk>
Jamie,
Don't expect any SVG support from Microsoft in the next millenum (which i find
very unfortunately if not really annoying). Instead use Batik
(http://xml.apache.org/batik) to transform all you SVG to e.g. JPG.
That works just fine with for my DocBook document with 100+ SVG pictures.
Regards,
Jens
On Thu, 8 Jul 2004, Jamie Echlin wrote:
> Morning,
>
> First post, be gentle with me. In a nutshell I am trying to include
> external SVG files in my compiled HTML help, although I would be happy
> enough if it was working in plain HTML.
>
> My input file contains:
>
> <mediaobject>
> <imageobject>
> <imagedata fileref="/some.svg" type="SVG"/>
> </imageobject>
> </mediaobject>
>
> my stylesheet has
>
> <xsl:param name="use.svg" select="1"/>
> <xsl:param name="use.embed.for.svg" select="1"/>
>
> although I'm not sure of the purpose of the former and I have tried
> without it. However, my browser is showing broken images, because the
> html after conversion has <img src...> tags and not something like:
>
> <embed src="some.svg"
> name="SVG1"
> type="image/svg-xml"
> width="800"
> height="600"
> pluginspage="http://www.adobe.com/svg/viewer/install/"
> >
>
> which is what I am after.
>
> Also I couldn't find the param "use.embed.for.svg" in the params.xsl for
> htmlhelp - does that mean I can't use it?
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.