]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/manpage-normal.xsl
Merge branch 'jt/t5500-unflake'
[thirdparty/git.git] / Documentation / manpage-normal.xsl
CommitLineData
ae8d09b8 1<!-- manpage-normal.xsl:
388f5b52 2 special settings for manpages rendered from asciidoc+docbook -->
ae8d09b8
CJ
3<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 version="1.0">
5
ae8d09b8 6
f7421a14
7<!-- these params silence some output from xmlto -->
8<xsl:param name="man.output.quietly" select="1"/>
9<xsl:param name="refentry.meta.get.quietly" select="1"/>
10
11<!-- convert asciidoc callouts to man page format -->
12<xsl:template match="co">
13 <xsl:value-of select="concat('\fB(',substring-after(@id,'-'),')\fR')"/>
14</xsl:template>
15<xsl:template match="calloutlist">
16 <xsl:text>.sp&#10;</xsl:text>
17 <xsl:apply-templates/>
18 <xsl:text>&#10;</xsl:text>
19</xsl:template>
20<xsl:template match="callout">
21 <xsl:value-of select="concat('\fB',substring-after(@arearefs,'-'),'. \fR')"/>
22 <xsl:apply-templates/>
23 <xsl:text>.br&#10;</xsl:text>
24</xsl:template>
7ef04350 25
776e994a 26</xsl:stylesheet>