summaryrefslogtreecommitdiff
path: root/doc/xmlstar-fodoc-style.xsl
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
commit4732847654ed74ed893b7ea088805832fd91cc18 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /doc/xmlstar-fodoc-style.xsl
downloadxmlstarlet-accepted/tizen_2.4_mobile.tar.gz
xmlstarlet-accepted/tizen_2.4_mobile.tar.bz2
xmlstarlet-accepted/tizen_2.4_mobile.zip
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>