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