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] Header/Footer graphics


On Friday 14 October 2005 08:38, Bob Stayton wrote:
> I didn't quite follow your description of what you have, but experiment
> with increasing the 'region.before.extent' parameter to see if you can coax
> the content to return.


Sorry. I need to be more explicit

<xsl:param name="page.margin.top">1cm</xsl:param>
	<xsl:param name="page.margin.bottom">1cm</xsl:param>
	<xsl:param name="region.before.extent">3cm</xsl:param>
	<xsl:param name="body.margin.top">3cm</xsl:param>

With:
<xsl:when test="$sequence = 'first' and $position = 'left'">
					<fo:external-graphic src="../images/logos/tutuka_300x116.png"/>
				</xsl:when>
				
				<xsl:when test="$sequence = 'first' and $position = 'right'"> 
					<fo:block space-after="2.5mm">Building 2 Bentley Office Park</fo:block>
					<fo:block space-after="2.5mm">Corner Rivionia and Essells Rds 
Rivionia</fo:block>
					<fo:block space-after="2.5mm">PO Box 1657, Parklands, 2121, South 
Africa</fo:block>
					<fo:block space-after="2.5mm">Tel: +27 (11) 803 3118  Fax: +27 (11) 234 
0153</fo:block>
				</xsl:when>

Comment:
<!-- <fo:external-graphic src="../images/logos/tutuka_300x116.png"/> -->

Then:

The fo:blocks in 'first' and $position = 'right' are displayed.

Increased

<xsl:param name="page.margin.top">1cm</xsl:param>
	<xsl:param name="page.margin.bottom">1cm</xsl:param>
	<xsl:param name="region.before.extent">4cm</xsl:param>
	<xsl:param name="body.margin.top">3cm</xsl:param>

now it works :-)

Thanks Bob. All that remains in the span problem of the other message.
-- 
Sean Wheller
sean@enbaya.co.za
http://www.enbaya.co.za


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