xref: /linux/tools/perf/Documentation/manpage-bold-literal.xsl (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*86470930SIngo Molnar<!-- manpage-bold-literal.xsl:
2*86470930SIngo Molnar     special formatting for manpages rendered from asciidoc+docbook -->
3*86470930SIngo Molnar<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4*86470930SIngo Molnar		version="1.0">
5*86470930SIngo Molnar
6*86470930SIngo Molnar<!-- render literal text as bold (instead of plain or monospace);
7*86470930SIngo Molnar     this makes literal text easier to distinguish in manpages
8*86470930SIngo Molnar     viewed on a tty -->
9*86470930SIngo Molnar<xsl:template match="literal">
10*86470930SIngo Molnar	<xsl:value-of select="$git.docbook.backslash"/>
11*86470930SIngo Molnar	<xsl:text>fB</xsl:text>
12*86470930SIngo Molnar	<xsl:apply-templates/>
13*86470930SIngo Molnar	<xsl:value-of select="$git.docbook.backslash"/>
14*86470930SIngo Molnar	<xsl:text>fR</xsl:text>
15*86470930SIngo Molnar</xsl:template>
16*86470930SIngo Molnar
17*86470930SIngo Molnar</xsl:stylesheet>
18