OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Image location


my directory setup is usually as follows (somewhat simplified):


mydoc.xml then uses relative paths to specify the image:

<imagedata align="center" scale="50" format="PNG"

Makefile is set up to invoke xsltproc and fop as needed. In order to
transform this document, I cd to ~/mydoc and run make pdf. That's
about it.


Quoting Lars Vogel <lars.vogel@googlemail.com>:

Hi Chris,

thanks for the answer unfortunately this also does not work.

In which directory should the image be?

Best regards, Lars

2011/9/30 Křištof Želechovski <giecrilj@stegny.2a.pl>

Dnia piątek, 30 września 2011 o 12:29:29 Lars Vogel napisał(a):
> Hello,
> I'm trying to create PDF from my Docbook output via the corresponding
> stylesheets but FOP cannot find the image. I read Bobs description and I
> believe the path of the image is correctly setup.
> http://www.sagehill.net/docbookxsl/GraphicsLocations.html
> http://www.sagehill.net/docbookxsl/ModularDoc.html#XIncludeGraphics
> The generated FO source look like the following:
> <fo:block id="d0e101"><fo:external-graphic
> src="url(content/images/DojoFolder10.gif)" width="auto" height="auto"
> content-width="auto" content-height="auto"/></fo:block>

That looks like relative path.

> and files are in the following structure:
> article.fo
> /content/images/DojoFolder10.gif

Did you try setting src="url(/content/images/DojoFolder10.gif)"?


http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter

Markus Hoenicka
AQ score 38

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]