This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 ---


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]