commit-reach: plug minor memory leak after using is_descendant_of()
[git/raj.git] / Documentation / manpage-bold-literal.xsl
blob94d6c1b54565f88c56c489d604150ed18b8a49b3
1 <!-- manpage-bold-literal.xsl:
2 special formatting for manpages rendered from asciidoc+docbook -->
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:d="http://docbook.org/ns/docbook"
5 version="1.0">
7 <!-- render literal text as bold (instead of plain or monospace);
8 this makes literal text easier to distinguish in manpages
9 viewed on a tty -->
10 <xsl:template match="literal|d:literal">
11 <xsl:value-of select="$git.docbook.backslash"/>
12 <xsl:text>fB</xsl:text>
13 <xsl:apply-templates/>
14 <xsl:value-of select="$git.docbook.backslash"/>
15 <xsl:text>fR</xsl:text>
16 </xsl:template>
18 </xsl:stylesheet>