[xep-support] including svg graphics in pdf

From: Cheryl Chase <cheryl@isna.org>
Date: Mon Aug 29 2005 - 12:37:16 PDT

I'm a new docbook user, using xep to format a book.

I created an image in a flowcharting application (Omnigraffle),
exported it as both pdf and png.

Including the png in both xhtml and pdf worked ok, but when I tried
to include either pdf or svg (using Illustrator to convert pdf to
svg), xep complains "failed to create image file".

What's wrong here?

Thanks,

Cheryl

<figure id="figure_protocol_chart">
   <title>Protocol Summary</title>

   <mediaobject>
     <imageobject role="html">
       <imagedata format="PNG" fileref="protocol.png"/>
     </imageobject>
     <imageobject role="fo">
       <imagedata format="PDF" fileref="protocol.svg"/>
     </imageobject>
</mediaobject>
</figure>

         [error] Failed to create image file:/Users/cheryl/
MathiasConsulting/Clients/ISNA/Publications/Handbooks/DocBook/
protocol.svg of type application/pdf
         [error] com.renderx.graphics.ImageFormatException: Wrong PDF
file header

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon Aug 29 13:03:01 2005

This archive was generated by hypermail 2.1.8 : Mon Aug 29 2005 - 13:03:03 PDT