← Prev in month
← Prev in thread
Next in thread →
Next in month →
Header Content
I am trying to find a way to customize the content that appears in my header. I would like it to show the Chapter along with the first section level including the division numbering. Example: ________________________ 1 1 Chapter 1.2 Section _________________________ Body of the document Something along these lines. I have tried to customize with the following XSL. It will give me the chapter title but no numbering. <xsl:param name="header.rule" select="0"></xsl:param> ... <fo:block> <xsl:when test="$sequence='odd' and $position='left' and ($pageclass='body' or $pageclass='lot')"> <fo:page-number/> </xsl:when> <xsl:when test="$sequence='even' and $position='right' and ($pageclass='body' or $pageclass='lot')"> <fo:page-number/> </xsl:when> <xsl:when test="$position='center'"> </xsl:when> <xsl:when test="$sequence='odd' and $position='right' and ($pageclass='body' or $pageclass='lot')"> <xsl:if test="$pageclass != 'titlepage'"> <xsl:choose> <xsl:when test="ancestor::chapter and ($double.sided != 0)"> <fo:retrieve-marker retrieve-class-name="section.head.marker" retrieve-position="first-including-carryover" retrieve-boundary="page-sequence"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="titleabbrev.markup"/> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:when> <xsl:when test="$sequence='even' and $position='left' and ($pageclass='body' or $pageclass='lot')"> <xsl:if test="$pageclass != 'titlepage'"> <xsl:choose> <xsl:when test="ancestor::chapter and ($double.sided = 0)"> <fo:retrieve-marker retrieve-class-name="section.head.marker" retrieve-position="first-including-carryover" retrieve-boundary="page-sequence"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="titleabbrev.markup"/> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:when> </xsl:choose> </fo:block> </xsl:template> Any help would be greatly appreciated! Thanks! Lillian Sullam
← Prev in month
← Prev in thread
Next in thread →
Next in month →