186470930SIngo Molnar<!-- manpage-suppress-sp.xsl:
286470930SIngo Molnar     special settings for manpages rendered from asciidoc+docbook
386470930SIngo Molnar     handles erroneous, inline .sp in manpage output of some
486470930SIngo Molnar     versions of docbook-xsl -->
586470930SIngo Molnar<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
686470930SIngo Molnar		version="1.0">
786470930SIngo Molnar
886470930SIngo Molnar<!-- attempt to work around spurious .sp at the tail of the line
986470930SIngo Molnar     that some versions of docbook stylesheets seem to add -->
1086470930SIngo Molnar<xsl:template match="simpara">
1186470930SIngo Molnar  <xsl:variable name="content">
1286470930SIngo Molnar    <xsl:apply-templates/>
1386470930SIngo Molnar  </xsl:variable>
1486470930SIngo Molnar  <xsl:value-of select="normalize-space($content)"/>
1586470930SIngo Molnar  <xsl:if test="not(ancestor::authorblurb) and
1686470930SIngo Molnar                not(ancestor::personblurb)">
1786470930SIngo Molnar    <xsl:text>&#10;&#10;</xsl:text>
1886470930SIngo Molnar  </xsl:if>
1986470930SIngo Molnar</xsl:template>
2086470930SIngo Molnar
2186470930SIngo Molnar</xsl:stylesheet>
22