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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook] including external .swf in a .pdf?


[moving this over to docbook-apps where such topics are discussed]

Hi,
According to the FOP documentation, SWF is not a graphics file format that 
it supports, even in the most recent version.

I was not aware that the PDF spec itself supported SWF graphics.  Neither 
Antenna House nor XEP support it.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Anthony Ettinger" <anthony@chovy.com>
To: <docbook@lists.oasis-open.org>
Sent: Wednesday, April 23, 2008 3:56 PM
Subject: [docbook] including external .swf in a .pdf?


> Here is my bash script (from the free xslt book):
>
>
> #!/bin/bash
> fo='/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/docbook.xsl';
>
> #generate .fo file
> xsltproc --xinclude --xincludestyle --output ~/myfile.fo --stringparam
> use.extensions 1 $fo ~/myfile.xml
>
> #generate .pdf from .fo file
> /usr/bin/fop -fo ~/myfile.fo -pdf ~/myfile.pdf
>
>
> xml:
> <imagedata fileref="/static/flash/charts.swf" format="SWF" />
>
>
> [ERROR] Could not load external SVG: Content is not allowed in prolog.
> [ERROR] Error while creating area : No ImageReader for this type of
> image (file:/static/flash/charts.swf?)
>
> Any idea around this? I'm using fop 20.0 and docbook 4.4 (debian stable)
>
> -- 
> Anthony Ettinger
> 408-656-2473
> http://anthony.ettinger.name
>
> ---------------------------------------------------------------------
> 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]