Page 1 of 1

Problem with admon.graphics

Posted: Tue Jul 21, 2009 4:29 pm
by twrichter
Hello,

I've got a strange problem with graphics (oxygen) and docbook (5).

1) Installation standard, standard directories
2) Customization file in /xsl, images in xsl/images (all standard)
3) In cust.file: <xsl:param name="admon.graphics" select="1"/>
4) According to Docbook XSL fo-File looks after images/note.png, note.png available

==> no grapcis is shown when using <note> (or <tip> or...)

Could someone explain this behavior?

Thanks in advance

Thomas

Re: Problem with admon.graphics

Posted: Tue Jul 21, 2009 5:43 pm
by sorin_ristache
Hello,

When the FO processor is applied on the result of your custom XSLT stylesheet the path images/note.png is resolved relative to the start directory of the application. You have to set the path of images with parameter admon.graphics.path.


Regards,
Sorin

Re: Problem with admon.graphics

Posted: Wed Jul 22, 2009 11:12 am
by twrichter
Hi,

thank you. I have learned that the relative path is to my directory where the resulting files are in, not relativ to the custom stylesheet.
Regards
Thomas