Re: [docbook-apps] Header/Footer graphics

From
Rean Vheller
Date
2005-10-14T05:53:39+00:00
ID
Thread
Re: [docbook-apps] Header/Footer graphics
On Friday 14 October 2005 06:42, Sean Wheller wrote:
> On Friday 14 October 2005 00:30, Bob Stayton wrote:
> > Did you allocate sufficient space in your header for the graphic?  See:
> >
> > http://www.sagehill.net/docbookxsl/PrintHeaders.html#HeaderHeight
>
> Yes, on right I have 4 lines of text with 2.5mm after the region in 3cm the
> graphic is 1.16 cm height 3 cm width.

Sorry I should have said that I am using FOP 0.20.5

echo $CLASSPATH
/usr/share/saxon-6.5.3/saxon.jar
:/usr/share/xml/docbook/stylesheet/nwalsh/current/extensions/saxon65.jar
:/usr/share/java/fop-0.20.5/build/fop.jar
:/usr/share/java/fop-0.20.5/lib/batik.jar
:/usr/share/java/fop-0.20.5/lib/xalan-2.4.1.jar
:/usr/share/java/fop-0.20.5/lib/xercesImpl-2.2.1.jar
:/usr/share/java/fop-0.20.5/lib/JimiProClasses.jar
:/usr/share/java/fop-0.20.5/lib/avalon-framework-cvs-20020806.jar
:/usr/share/java/fop-0.20.5/lib/jai_core.jar
:/usr/share/java/fop-0.20.5/lib/jai_codec.jar

I tried passing the image path as url() and plain. FOP docs say just use
<fo:external-graphic src="../images/logos/tutuka_300x116.png"/>

When I add the fo:external-graphic the entire header is blank. Comment it out 
and the text comes back in the other columns.
-- 
Sean Wheller

http://www.enbaya.co.za