Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
git/Documentation/manpage-suppress-sp.xsl
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
21 lines (19 sloc)
737 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- manpage-suppress-sp.xsl: | |
special settings for manpages rendered from asciidoc+docbook | |
handles erroneous, inline .sp in manpage output of some | |
versions of docbook-xsl --> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
version="1.0"> | |
<!-- attempt to work around spurious .sp at the tail of the line | |
that some versions of docbook stylesheets seem to add --> | |
<xsl:template match="simpara"> | |
<xsl:variable name="content"> | |
<xsl:apply-templates/> | |
</xsl:variable> | |
<xsl:value-of select="normalize-space($content)"/> | |
<xsl:if test="not(ancestor::authorblurb) and | |
not(ancestor::personblurb)"> | |
<xsl:text> </xsl:text> | |
</xsl:if> | |
</xsl:template> | |
</xsl:stylesheet> |