]> asedeno.scripts.mit.edu Git - git.git/blob - Documentation/manpage-normal.xsl
Documentation: use parametrized manpage-base.xsl with manpage-{1.72,normal}.xsl
[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">
6
7 <xsl:import href="manpage-base.xsl"/>
8
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>
12
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>
25
26 </xsl:stylesheet>