]> granicus.if.org Git - docbook-dsssl/commitdiff
Colophon is now included in toc.hhc
authorJirka Kosek <jirka@kosek.cz>
Sat, 5 May 2001 18:54:59 +0000 (18:54 +0000)
committerJirka Kosek <jirka@kosek.cz>
Sat, 5 May 2001 18:54:59 +0000 (18:54 +0000)
xsl/htmlhelp/htmlhelp-common.xsl

index 08f2fafe98f9c170ce36046169f68b2d7171f29f..8fc223bb5a1d76ca4740069a87d0b98697a62e77 100644 (file)
@@ -176,9 +176,9 @@ Title=</xsl:text><xsl:value-of select="//title[1]"/>
        <xsl:call-template name="href.target.with.base.dir"/>
     <xsl:text>"&gt;
   &lt;/OBJECT&gt;</xsl:text>
-  <xsl:if test="part|reference|preface|chapter|appendix|article">
+  <xsl:if test="part|reference|preface|chapter|appendix|article|colophon">
     <xsl:text>&lt;UL&gt;</xsl:text>
-      <xsl:apply-templates select="part|reference|preface|chapter|appendix|article"
+      <xsl:apply-templates select="part|reference|preface|chapter|appendix|article|colophon"
                           mode="hhc"/>
     <xsl:text>&lt;/UL&gt;</xsl:text>
   </xsl:if>
@@ -311,7 +311,7 @@ Title=</xsl:text><xsl:value-of select="//title[1]"/>
   </xsl:if>
 </xsl:template>
 
-<xsl:template match="sect5|refentry" mode="hhc">
+<xsl:template match="sect5|refentry|colophon" mode="hhc">
   <xsl:variable name="title">
     <xsl:apply-templates select="." mode="title.markup"/>
   </xsl:variable>