[xep-support] including svg graphics in pdf

Cheryl Chase cheryl at isna.org
Mon Aug 29 12:37:16 PDT 2005


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 at 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



More information about the Xep-support mailing list