Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 15234 invoked from network); 25 May 2004 08:18:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 May 2004 08:18:20 -0000 Received: (qmail 15212 invoked by uid 500); 25 May 2004 08:18:20 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 15048 invoked by uid 500); 25 May 2004 08:18:19 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 14912 invoked by uid 98); 25 May 2004 08:18:18 -0000 Received: from oger@mapsys.fr by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(213.56.31.21):. Processed in 0.023751 secs); 25 May 2004 08:18:18 -0000 X-Qmail-Scanner-Mail-From: oger@mapsys.fr via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(213.56.31.21):. Processed in 0.023751 secs) Received: from unknown (HELO relay1.clb.oleane.net) (213.56.31.21) by hermes.apache.org with SMTP; 25 May 2004 08:18:17 -0000 Received: from mapsys.fr ([217.109.166.201]) by relay1.clb.oleane.net with ESMTP id i4P8HLjs007121 for ; Tue, 25 May 2004 10:17:21 +0200 Message-ID: <40B31CEE.5000700@mapsys.fr> Date: Tue, 25 May 2004 10:16:14 +0000 From: Ullric OGER User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.4) Gecko/20030630 X-Accept-Language: fr, en MIME-Version: 1.0 To: forrest-dev@xml.apache.org Subject: generated svg in pdf Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Subject : Generated SVG in PDF Hi, I'm a new forrest user with a little problem with PDF generation. I read the faq about image in pdf but there is nothing about generated image. I need for my project to generate an image from an xml file. So I've written a cocoon pipeline to do that thing : xml file -> xslt transform -> svg file -> svg2jpg -> jpg file And it works fine for html viewing. But no image in PDF. Look at document2fo.xsl to learn that FOP search the jpg in 'resources/images/' which naturally don't contains it. The matter is the jpeg image doesn't exist until forrest has processed it. is there any way to explicitly tells forrest to process the jpg before processing the pdf ? I know that another solution is to include svg in xsl-fo with an but i've already test it and the result isn't good enough (no pattern, no transparency, and unreadable text) while including the jpg looks like as i want. Any idea will help Thanks. U. Oger.