]> granicus.if.org Git - docbook-dsssl/commitdiff
Make header entries bold by default
authorNorman Walsh <ndw@nwalsh.com>
Wed, 17 Jul 2002 17:49:58 +0000 (17:49 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 17 Jul 2002 17:49:58 +0000 (17:49 +0000)
xsl/fo/table.xsl

index 872a28c68fe88ca3d19a99a8e867142e8911a2dd..6bddad5c20014d66cac893053912402724cd7bf2 100644 (file)
@@ -449,6 +449,11 @@ to be incomplete. Don't forget to read the source, too :-)</para>
 -->
 
         <fo:block>
+          <!-- highlight this entry? -->
+          <xsl:if test="ancestor::thead">
+            <xsl:attribute name="font-weight">bold</xsl:attribute>
+          </xsl:if>
+
           <!-- are we missing any indexterms? -->
           <xsl:if test="not(preceding-sibling::entry)
                         and not(parent::row/preceding-sibling::row)">