Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 80487 invoked from network); 7 Nov 2005 22:56:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Nov 2005 22:56:01 -0000 Received: (qmail 32999 invoked by uid 500); 7 Nov 2005 22:56:00 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 32921 invoked by uid 500); 7 Nov 2005 22:55:59 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 32909 invoked by uid 99); 7 Nov 2005 22:55:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2005 14:55:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.77.211.84] (HELO www2.kc.aoindustries.com) (65.77.211.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2005 14:55:53 -0800 Received: from fo2.kc.aoindustries.com (www2.kc.aoindustries.com [65.77.211.84]) by www2.kc.aoindustries.com (8.13.1/8.13.1) with ESMTP id jA7Mtaee027130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 7 Nov 2005 16:55:37 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by fo2.kc.aoindustries.com (8.13.1/8.13.1/Submit) id jA7MtaaV027058 for user@forrest.apache.org; Mon, 7 Nov 2005 16:55:36 -0600 X-Authentication-Warning: fo2.kc.aoindustries.com: indexgeo set sender to crossley@apache.org using -f Date: Tue, 8 Nov 2005 09:55:08 +1100 From: David Crossley To: user@forrest.apache.org Subject: Re: Creating site... Message-ID: <20051107225508.GA6088@igg.indexgeo.com.au> References: <5608fb200511041715l2edc0cc8gc3707e899b68536b@mail.gmail.com> <20051106230150.GB3657@igg.indexgeo.com.au> <5608fb200511070251s5dcb98d9x89c2d25234c731b4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5608fb200511070251s5dcb98d9x89c2d25234c731b4@mail.gmail.com> User-Agent: Mutt/1.4i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Flavio Cordova wrote: > David Crossley wrote: > > Flavio Cordova wrote: > > > I'm having two problems when generating the html files using forrestbot > > (or > > > forrest site): > > > 1) I have create a directory under src/documentation/content/xdocs and > > used > > > them on some images using
> alt= > > > "..."/>. It works pretty fine both using forrest run and forrest site > > but > > > the resulting PDF file doesn't show any image. Is there something I > > should > > > do to fix it ? > > > > I don't know if this is related, but have you tried > > http://forrest.apache.org/docs/faq.html#pdf_images > > This document mentions that some formats (BMP, GIF, JPG, TIFF and EPS) are > natively handled by FOP... Since all my images are jpg files shouldn't it be > already working ? I don't know either, thought it might be worth a try. Anyway, the issue rang a bell for me ... http://issues.apache.org/jira/browse/FOR-635 "images not reproduced in PDFs, if sources are in xdocs/images directory" > > 2) Also under xdocs I've create a directory called samples. In this > > > directory I have three files: result.xml, template.xls and default.css. > > When > > > I use forrest run all these files are available but when I generate the > > > documentation (forrest site) just the xml files is copied to the > > destination > > > directory. The two other files are missing... > > > Thanks for all !!! > > > > Are these files linked to from your other pages? > > See the bottom of > > http://forrest.apache.org/docs_0_70/upgrading_07.html#raw > > Well, I've moved the directory where these images are to the content > directory (and not under xdocs anymore).. Then it almost worked fine.. all > the files were correctly copied but the XML file had his content changed > from: > > > to > href='template.xsl'?> > * "document-v13.dtd">* > Is there a way to tell forrest to consider this file a plain XML file, > avoiding it to change the content ? Forrest's default internal xml serializer adds the doctype. I gather that this is a special file that you don't want Forrest to process. I think that you need to follow the abovementioned upgrade note to add a special match to your project sitemap.xmap to intercept. My guess is that this will need to use map:generate; map:serialize -David