[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Customized Chapter Tile - Number not appearing
I have the following in my customized layer: <xsl:template name="chapter.title"> <fo:block> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'chapter'"/> </xsl:call-template> </fo:block> <fo:block> <xsl:apply-templates select="." mode="label.markup"/> </fo:block> <fo:block> <xsl:apply-templates select="." mode="title.markup"/> </fo:block> </xsl:template> I expected to see a chapter title rendered as so: ------------------------->8------------------------------- Chapter 1 Chapter Title ------------------------->8------------------------------- However, I actually get: ------------------------->8------------------------------- Chapter Chapter Title ------------------------->8------------------------------- Any idea why label.markup is not showing? The section on my titlepage XSL file which calls the above template is: <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="24.8832pt" font-weight="bold"> <xsl:call-template name="chapter.title"> <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/> </xsl:call-template> </fo:block> </xsl:template> Thanks in advance, -pm http://oceanclub.blogspot.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]