This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Header customization
- From: Pool 475-1 FRD TE-N <Pool475-1 dot FRDTE-N at zf dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 26 Aug 2004 10:05:20 +0200
- Subject: [docbook-apps] Header customization
Hi,
I'm trying to customize the header for FO output. If the double.sided param
is set to 1, the center position changes after each page. If double.sided is
set to 0, I want the header to be the same on each page - but this doesn't
work, sometimes the left part of the header is the bigger one ... sometimes
it is the right one. What am I doing wrong?
Regards,
Bjoern
--- snip ---
<xsl:param name="header.column.widths" select="'7 1 2'" />
<xsl:template name="header.content">
<xsl:param name="pageclass" select="''"/>
<xsl:param name="sequence" select="''"/>
<xsl:param name="position" select="''"/>
<xsl:param name="gentext-key" select="''"/>
<fo:block>
<xsl:choose>
<xsl:when test="$position='left'">left</xsl:when>
<xsl:when test="$position='center'">center</xsl:when>
<xsl:when test="$position='right'">right</xsl:when>
</xsl:choose>
</fo:block>
</xsl:template>
--- snap ---