Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 01330ec25d
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (54 sloc) 1.682 kb
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xmlns:xi="http://www.w3.org/2003/XInclude"
version="1.0">
<xsl:import
href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl"/>
<xsl:param name="man.output.quietly">1</xsl:param>
<xsl:param name="man.charmap.enabled">0</xsl:param>
<!--
<xsl:template match="sbr">
<xsl:element name="br"/>
</xsl:template>
-->
<xsl:template match="tag">
<code class='tag'>[<xsl:value-of select="."/>]</code>
</xsl:template>
<xsl:template match="option">
<code class='option'><xsl:value-of select="."/></code>
</xsl:template>
<xsl:template match="varname">
<code class='varname'><xsl:value-of select="."/></code>
</xsl:template>
<xsl:template match="check">
<code class='check'><xsl:value-of select="."/></code>
</xsl:template>
<xsl:template match="widget">
<code class='widget'><xsl:value-of select="."/></code>
</xsl:template>
<xsl:template match="pragma">
<code class='pragma'><xsl:value-of select="."/></code>
</xsl:template>
<xsl:template match="filter">
<code class='filter'><xsl:value-of select="."/></code>
</xsl:template>
<xsl:template match="ulink">
<xsl:variable name="content">
<xsl:apply-templates/>
</xsl:variable>
<xsl:variable name="url" select="@url"/>
<xsl:choose>
<xsl:when test="$url=$content or $content=''">
<xsl:text>\fI</xsl:text>
<xsl:value-of select="$url"/>
<xsl:text>\fR</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$content"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:include href="common.xsl"/>
</xsl:stylesheet>
Jump to Line
Something went wrong with that request. Please try again.