I still use the "old" resources/images location for images
since this works for pdf and me. The "new" image location
below the xdocs folder doesn't work (yet? as of r154829).

Try putting your images into
  src/documentation/resources/images
and see if it works.

Johannes


Dave Brondsema wrote:
[EMAIL PROTECTED] wrote:

It appears that the fo:external-graphic's src attribute is incorrect for all PDFs that are generated from the xdoc-root directory, including wholesite. To recreate the problem, use Fresh-site from Forrest Head (revision 157429) and add a valid image to xdoc's index.xml:

<p><img src="images/testing.gif" alt="Testing GIF"/></p>

The resulting index.fo will have:

<fo:external-graphic src="- - your path - - /src/documentation/resources/images///testing.gif" />

It appears that the variable project.images-dir is being used incorrectly. Furthermore, if you set this variable to project.images-dir=${project.xdocs-dir}/images, the images in the xdoc's root will be rendered correctly, but the images in sub-directories will not.

I hope this makes sense.


First, aggregate pages (like wholesite.html/pdf) do not properly reference images and links unless they are in the same directory.

I think project.images-dir is no longer the recommended way to use
images.  (If true, we need change
http://forrest.apache.org/docs/dev/your-project.html#images and add an
FAQ about this, or an item in an 'upgrading' doc).  Put your images with
any other 'raw' files.  See
http://forrest.apache.org/docs/dev/faq.html#link_raw

Can another developer confirm or deny this?

--
Dave Brondsema : [EMAIL PROTECTED]
http://www.splike.com : programming
http://csx.calvin.edu : student org
http://www.brondsema.net : personal


--
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax +49 (0)7141 377 00-99
Gesch�ftsstelle: User Interface Design GmbH * Lehrer-G�tz-Weg 11 * D-81825 M�nchen
www.uidesign.de


Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
www.user-interface-tuning.de


Besuchen Sie uns auf der Hannover Messe 11.-15. April 2005
Halle 2, Stand C14 auf dem MMI Gemeinschaftsstand
www.uidesign.de/hmi2005

N�chstes TAE-Seminar zu User Interface Design
Ostfildern-Nellingen, 07.-08. April 2005
www.tae.de TAE-Veranstaltung Nr. 31189

Reply via email to