0001 <!-- manpage-suppress-sp.xsl:
0002 special settings for manpages rendered from asciidoc+docbook
0003 handles erroneous, inline .sp in manpage output of some
0004 versions of docbook-xsl -->
0005 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
0006 version="1.0">
0007
0008 <!-- attempt to work around spurious .sp at the tail of the line
0009 that some versions of docbook stylesheets seem to add -->
0010 <xsl:template match="simpara">
0011 <xsl:variable name="content">
0012 <xsl:apply-templates/>
0013 </xsl:variable>
0014 <xsl:value-of select="normalize-space($content)"/>
0015 <xsl:if test="not(ancestor::authorblurb) and
0016 not(ancestor::personblurb)">
0017 <xsl:text> </xsl:text>
0018 </xsl:if>
0019 </xsl:template>
0020
0021 </xsl:stylesheet>