i first tried to solve this with the latest CVS FOP build,
which is *definitely* not ready for prime time.

  so, with rc2, i took the following docbook file

-----------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN" 
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
<book>
 <bookinfo>
  <title>DocBook bits</title>

  <authorgroup>
   <author>
    <firstname>Robert</firstname>
    <surname>Day</surname>
    <affiliation>
     <orgname>Eno River Technologies</orgname>
     <address>
      <email>[EMAIL PROTECTED]</email>
     </address>
    </affiliation>
   </author>
  </authorgroup>

  <copyright>
   <year>2000-3</year>
   <holder>Robert P. J. Day</holder>
  </copyright>

 </bookinfo>
<chapter><title>Second chapter</title>
<section><title>Section 1</title>
 <para>
  Paragraph.
 </para>
</section>
<section><title>Section 2</title>
 <para>
  This is a picture:
  <mediaobject>
   <imageobject>
    <imagedata fileref="xclock.jpg"/>
   </imageobject>
   <caption>Your standard xclock.</caption>
  </mediaobject>
 </para>
</section>
</chapter>
</book>

----------------------------------------------------------------------

and ran it thru xsltproc to produce the corresponding .fo file, with a
really trivial stylesheet.  apparently, the mediaobject processes 
correctly, and there is just a single image in the .fo file.

  however, when i process that .fo file with FOP, i get the image
appearing *twice*.  this is definitely not good behavior.

  any hints?

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to