https://github.com/torvalds/linux
Raw File
Tip revision: 7d194c2100ad2a6dded545887d02754948ca5241 authored by Linus Torvalds on 20 October 2019, 19:56:22 UTC
Linux 5.4-rc4
Tip revision: 7d194c2
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