Re: DOCBOOK-APPS: Transforming DocBook to PDF with FOP

From
Grederic Eemians
Date
2001-06-03T12:59:57+00:00
ID
Thread
Re: DOCBOOK-APPS: Transforming DocBook to PDF with FOP
>At 09:37 AM 6/3/01, Frederic Demians wrote:
> >I use FOP to transform a DocBook XML file. My source file contains a lot 
> of screen shot.
> >
> >Step 1: I transform XML DocBook file to a FO file with Norman XSL. 
> References to image file look like :
> >
> ><fo:external-graphic height="auto" width="auto" content-height="auto" 
> content-width="auto" src="url(file:img/resultat_image.jpg)"/>
> >
> >Step 2: I use FOP to transform my FO file to a PDF file. And I get an 
> error message for each image file reference:
> >
> >Error while creating area : no protocol : url(file:/img/resultat.jpg)
>
>try url(../img/resultat.jpg) or whatever the relative path is.
>
>HTH DaveP

Thanks. It doesn't work. I turn around this issue since a while now... I 
attached 3 files allowing to reproduce my error. If someone has few time to 
test... There is just to do:

fop dbtw.fo dbtw.pdf

When I try to do this transformation, FOP send me the above error message. 
I can't figure out what "no protocol" mean in this situation since file is 
here (visite_modif_champ.jpg) in the same directory as fo file.

Best,

Fr嶮廨ic Demians

______________________________________
T A M I L
www.tamil.fr
72, rue Folie M廨icourt, 75011 Paris, France
T幨. +33 1 48 07 88 34 -- Fax +33 1 43 49 02 98