No labels for sect2 in preface.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7553 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Manuel Canales Esparcia 2006-04-20 23:03:45 +00:00
parent c26f26477f
commit b79ee96cdb

View File

@ -78,8 +78,10 @@
<a id="{@id}" name="{@id}"/>
</xsl:if>
<h2 class="{name(.)}">
<xsl:apply-templates select="." mode="label.markup"/>
<xsl:text>. </xsl:text>
<xsl:if test="not(ancestor::preface)">
<xsl:apply-templates select="." mode="label.markup"/>
<xsl:text>. </xsl:text>
</xsl:if>
<xsl:value-of select="title"/>
</h2>
</div>