^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) <!-- manpage-suppress-sp.xsl:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) special settings for manpages rendered from asciidoc+docbook
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) handles erroneous, inline .sp in manpage output of some
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) versions of docbook-xsl -->
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) version="1.0">
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) <!-- attempt to work around spurious .sp at the tail of the line
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) that some versions of docbook stylesheets seem to add -->
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) <xsl:template match="simpara">
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) <xsl:variable name="content">
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) <xsl:apply-templates/>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) </xsl:variable>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) <xsl:value-of select="normalize-space($content)"/>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) <xsl:if test="not(ancestor::authorblurb) and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) not(ancestor::personblurb)">
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) <xsl:text> </xsl:text>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) </xsl:if>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) </xsl:template>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) </xsl:stylesheet>