summaryrefslogtreecommitdiff
path: root/doc/xmlstar-fodoc-style.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/xmlstar-fodoc-style.xsl')
-rw-r--r--doc/xmlstar-fodoc-style.xsl17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/xmlstar-fodoc-style.xsl b/doc/xmlstar-fodoc-style.xsl
new file mode 100644
index 0000000..11eaedb
--- /dev/null
+++ b/doc/xmlstar-fodoc-style.xsl
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/>
+
+ <xsl:param name="fop1.extensions" select="1"/>
+
+ <xsl:attribute-set name="toc.line.properties">
+ <xsl:attribute name="font-weight">
+ <xsl:choose>
+ <xsl:when test="self::chapter">bold</xsl:when>
+ <xsl:otherwise>normal</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+</xsl:stylesheet>