← Prev in month ← Prev in thread

getting duplicate images with <mediaobject>

From
Robert P. J. Day <>
Date
2003-05-05T21:25:16+00:00
ID
Pine.LNX.4.44.0305051726050.12012-100000@dell
Thread
getting duplicate images with <mediaobject>
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
← Prev in month ← Prev in thread