This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] getting duplicate images with <mediaobject>
- From: "Robert P. J. Day" <rpjday at mindspring dot com>
- To: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 5 May 2003 17:30:13 -0400 (EDT)
- Subject: [docbook-apps] 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
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org