OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Re: Graphics does not render converting to PDF

I had the same problem with FOP. My Master's thesis was a Docbook file 
with some EPS figures enclosed. When I rendered the FO file to PDF with 
FOP, the EPS figures didn't show. However, when I rendered the FO file 
to PS with FOP, I could see the EPS figures in Acrobat Reader and 
Apple's Preview.

If I remember correctly, the reason was this: EPS files (which stands 
for Encapsulated Postscript) are just wrapped in the PS code of the 
rendered file. The viewer has to understand Postscript to show the EPS 
figure. A PDF viewer can't do that, but e.g. a Postscript printer can. 
So it's possible you can't see the figures on screen but they are 
printed on paper.

Of course when you render the FO file to Postscript the PS viewer will 
show the EPS figures. If you want a PDF you can convert the Postscript 
file to PDF with ImageMagick.

Koen Vervloesem

Op 8-jul-05 om 19:52 heeft Ferad Zyulkyarov het volgende geschreven:

> Below is DocBook fragment that I want to render as a figure.
> <figure>
>      <title>The UML model to be compared</title>
>      <mediaobject>
>            <imageobject>
>                  <imagedata fileref="figure1.eps" format="EPS"/>
>            </imageobject>
>      </mediaobject>
> </figure>
> The image I enclose (figure1.eps) deos not render neither with Apache
> Cocoon nor with Jade. I just can not see the image from the most
> popular PDF viewer such as Acrobat Reader, and the linux PDF viewers.
> Thanks a lot for your help.
> -- 
> Ferad Zyulkyarov
> Dokuz Eylul University
> Dept. Of Computer Engineering
> 35100 Bornova, Izmir - TURKEY
> tel: +90 (0)555 3721637
> e-mail1: feradz@gmail.com
> e-mail2: feradz@stx.cs.deu.edu.tr
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]