https://github.com/torvalds/linux
Raw File
Tip revision: b2776bf7149bddd1f4161f14f79520f17fc1d71d authored by Linus Torvalds on 07 December 2014, 22:21:05 UTC
Linux 3.18
Tip revision: b2776bf
manpage-bold-literal.xsl
<!-- manpage-bold-literal.xsl:
     special formatting for manpages rendered from asciidoc+docbook -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		version="1.0">

<!-- render literal text as bold (instead of plain or monospace);
     this makes literal text easier to distinguish in manpages
     viewed on a tty -->
<xsl:template match="literal">
	<xsl:value-of select="$git.docbook.backslash"/>
	<xsl:text>fB</xsl:text>
	<xsl:apply-templates/>
	<xsl:value-of select="$git.docbook.backslash"/>
	<xsl:text>fR</xsl:text>
</xsl:template>

</xsl:stylesheet>
back to top