aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'man/custom.xsl')
-rw-r--r--man/custom.xsl21
1 files changed, 21 insertions, 0 deletions
diff --git a/man/custom.xsl b/man/custom.xsl
new file mode 100644
index 0000000..bf01b14
--- /dev/null
+++ b/man/custom.xsl
@@ -0,0 +1,21 @@
+<?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/current/manpages/docbook.xsl" />
+
+ <xsl:template match="itemizedlist/listitem">
+ <xsl:text>&#x2022;&#10;</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:if test="following-sibling::listitem">
+ <xsl:text>.sp -1&#10;</xsl:text>
+ <xsl:text>.TP</xsl:text>
+ <xsl:if test="not($list-indent = '')">
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="$list-indent"/>
+ </xsl:if>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+</xsl:stylesheet>