Code

e36472f5ad45d210c0ba8bf242fda9c439f46c84
[git.git] / Documentation / manpage-normal.xsl
1 <!-- manpage-normal.xsl:
2      special settings for manpages rendered from asciidoc+docbook
3      handles anything we want to keep away from docbook-xsl 1.72.0 -->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5                 version="1.0">
7 <xsl:import href="manpage-base.xsl"/>
9 <!-- these are the normal values for the roff control characters -->
10 <xsl:param name="git.docbook.backslash">\</xsl:param>
11 <xsl:param name="git.docbook.dot"       >.</xsl:param>
13 <!-- attempt to work around spurious .sp at the tail of the line
14      that docbook stylesheets seem to add -->
15 <xsl:template match="simpara">
16   <xsl:variable name="content">
17     <xsl:apply-templates/>
18   </xsl:variable>
19   <xsl:value-of select="normalize-space($content)"/>
20   <xsl:if test="not(ancestor::authorblurb) and
21                 not(ancestor::personblurb)">
22     <xsl:text>&#10;&#10;</xsl:text>
23   </xsl:if>
24 </xsl:template>
26 </xsl:stylesheet>