This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Problem with XSL-1.62.4 and mediaobject/imageobject
- From: Bob Stayton <bobs at sco dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 9 Oct 2003 18:33:10 -0700
- Subject: Re: [docbook-apps] Problem with XSL-1.62.4 and mediaobject/imageobject
- References: <20031010003003.GA7786@shadowland.intern.shadowbyte.net>
On Fri, Oct 10, 2003 at 02:30:03AM +0200, Jens Skripczynski wrote:
> Hi,
>
> I've got a docbook book file where I want to include one image
> (in png for html, and eps for print).
>
> The html file is fine.
>
> but in the fo->pdf file I get two images !?
> ---------------------------
> <article>
> <mediaobject>
> <imageobject>
> <imagedata fileref="xml/JUnit-JUnit.eps" format="EPS"/>
> </imageobject>
> <imageobject>
> <imagedata fileref="xml/JUnit-JUnit.png" format="PNG"/>
> </imageobject>
> <textobject>
> <phrase>JUnit TestRunner Swing GUI</phrase>
> </textobject>
> <caption>
> <para>
> </para>
> </caption>
> </mediaobject>
> </article>
> ---------------------------
> The Doku says that dokbook should pick _one_ of the avaible images, but
> somehow it seems to choose all.
I only get one when I process this file
(after adding a title and changing the
filerefs to graphics on my system).
Can you peek in your fo output to see if there is more
than one fo:external-graphic element? If so, then
there is a bug in the stylesheet. Otherwise the
problem is in the FO processor.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.