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] numbered sections/chapters in header


hi,

just a simple question:

how do i add the numbers to the section/chapter title in the header?
the header should look like this:

(odd pages)..............................(even pages)
[LOGO]............Chapter X Blaablaaaa || X.y.z Blaaablubbeldi
Blub........[LOGO]

i get something like this:

(odd pages)..............................(even pages)
[LOGO]......................Blaablaaaa || Blaaablubbeldi
Blub..............[LOGO]



thx :)

Sebastian


---
my header.content template:

<xsl:choose>

<xsl:when test="$sequence = 'blank' or $sequence = 'first' or $pageclass =
'titlepage'">
<!-- nothing -->
</xsl:when>
<xsl:when test="$sequence='odd'">
<xsl:choose>
<xsl:when test="$position='left'">LOGO tbd</xsl:when>
<xsl:when test="$position='right'">
<xsl:apply-templates select="." mode="titleabbrev.markup"/>
</xsl:when>
<xsl:otherwise><!-- nothing --></xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$sequence='even'">
<xsl:choose>
<xsl:when test="$position='left'">
<fo:retrieve-marker retrieve-class-name="section.head.marker"
retrieve-position="first-including-carryover"
retrieve-boundary="page-sequence"/>
</xsl:when>
<xsl:when test="$position='right'">LOGO tbd</xsl:when>
<xsl:otherwise><!-- nothing --></xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise><!-- nothing --></xsl:otherwise>
</xsl:choose>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


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