xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert P. J. Day" <rpj...@mindspring.com>
Subject getting a duplicate image in a short file
Date Tue, 06 May 2003 03:27:07 GMT

  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>rpjday@mindspring.com</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: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message