I forgot to say ; that even  FOP+Jimi failed to make the PDF file.
i'll try to install Jimi in Forrest first.


On Tue, 26 Oct 2004 17:21:23 +0200, foxmask <[EMAIL PROTECTED]> wrote:
> My images are in JPEG.
> 
> With FOP 2.0.25 ; at the end of the parse ; FOP failed to build the PDF file.
> With Forrest , i have an error page when trying to access to the PDF
> file (when clicking on the PDF icon on the html page)
> With Cocoon ; i have the pdf without images.
> I'll see if the faq of forrest could help.
> regards.
> 
> 
> 
> 
> On Tue, 26 Oct 2004 17:11:29 +0200, Bart Molenkamp
> <[EMAIL PROTECTED]> wrote:
> > Is your image SVG? In that case, the resulting XSL:FO should look like:
> >
> > <fo:instream-foreign-object text-align="center">
> >  <svg ...>
> >   ...
> >  </svg>
> > </fo:instream-foreign-object>
> >
> > Otherwise, have a look at how Forrest includes images (also PNG and JPEG
> > etc) in PDF's: http://forrest.apache.org/faq.html#pdf_images I think you
> > could discover by looking at the XSL-FO stylesheet in the common skin.
> > Looks something like
> >
> >       <fo:external-graphic src="{$imgpath}">
> >         <xsl:if test="@height">
> >           <xsl:attribute name="height"><xsl:value-of
> > select="@height"/></xsl:attribute>
> >         </xsl:if>
> >         <xsl:if test="@width">
> >           <xsl:attribute name="width"><xsl:value-of
> > select="@width"/></xsl:attribute>
> >         </xsl:if>
> >       </fo:external-graphic>
> >
> > (I guess that FOP requires Jimi or JAI to actually include the image in
> > the PDF).
> >
> > Bart.
> >
> > > -----Original Message-----
> > > From: foxmask [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, October 26, 2004 4:55 PM
> > > To: Cocoon
> > > Subject: PDF without Images
> > >
> > > Hi,
> > > I have some docbook file which contain images.
> > >
> > > when i access foo.xhtml i can see my images in the xhtml page
> > >
> > >     <map:match  pattern="foo.xhtml" label="content">
> > >         <map:generate src="foo_book.xml"/>
> > >         <map:transform type="xinclude"/>
> > >         <map:transform type="xalan"
> > src="docbook/xsl/xhtml/docbook.xsl"/>
> > >         <map:serialize type="xhtml"/>
> > >     </map:match>
> > >
> > > when i access foo.pdf ; i see no images.
> > >
> > >    <map:match  pattern="foo.pdf" label="content">
> > >         <map:generate src="foo_book.xml"/>
> > >         <map:transform type="xinclude"/>
> > >         <map:transform type="xalan" src="docbook/xsl/fo/docbook.xsl"/>
> > >         <map:serialize type="fo2pdf"/>
> > >    </map:match>
> > >
> > >
> > > tips: i use xsl from Docbook 4.2
> > >
> > > any suggestion ?
> > >
> > > regards.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> Founder Member of Phpfr.Org
> http://phpfr.org
> 


-- 
Founder Member of Phpfr.Org
http://phpfr.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to