[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Problem with XSL-1.62.4 and mediaobject/imageobject
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]