This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] getting duplicate images with <mediaobject>


This is indeed strange. It appears to be a bug in FOP.  

The fo output has only one image and one instance of
"This is a picture:".  When I process the fo with
XEP, it validates and prints as expected.  I can't
tell from the fo what FOP is thinking to produce
the duplication.

Does this happen on longer documents as well?
I know I have produced documents with FOP that don't
duplicate the graphics, so I wonder what is the
trigger here?

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

On Mon, May 05, 2003 at 05:30:13PM -0400, Robert P. J. Day wrote:
> 
>   i'm testing generating PDF with xsltproc and FOP, and for
> a simple <mediaobject>, i'm getting duplicate images being
> inserted into the PDF file.
> 
>   here's my trivial mediaobject:
> 
> <section><title>Section 2</title>
>  <para>
>   This is a picture:
>   <mediaobject>
>    <imageobject>
>     <imagedata fileref="xclock.jpg" align="center"/>
>    </imageobject>
>    <caption>
>     <para>A regular xclock.</para>
>    </caption>
>   </mediaobject>
>  </para>
> </section>
> 
> 
>   what gets generated is
> 
> ------------------------------------------
> This is a picture:
> 
> 
> 							[image of clock]
> 
> 			A regular xclock.
> 
> 							[another clock]
> 
> This is a picture:
> ------------------------------------------
> 
>   i'm just a bit baffled.  and if i remove the <caption>, i get only
> one image, but i still get the duplicate line "This is a picture".
> 
>   suggestions?
> 
> rday
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> 
> 

-- 

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, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]