2020-01-12 00:36:56 +01:00
|
|
|
<!-- manpage-bold-literal.xsl:
|
|
|
|
special formatting for manpages rendered from asciidoc+docbook -->
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
2020-11-21 19:20:35 +01:00
|
|
|
xmlns:d="http://docbook.org/ns/docbook"
|
2020-01-12 00:36:56 +01:00
|
|
|
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 -->
|
2020-11-21 19:20:35 +01:00
|
|
|
<xsl:template match="literal|d:literal">
|
|
|
|
<xsl:text>\fB</xsl:text>
|
2020-01-12 00:36:56 +01:00
|
|
|
<xsl:apply-templates/>
|
2020-11-21 19:20:35 +01:00
|
|
|
<xsl:text>\fR</xsl:text>
|
2020-01-12 00:36:56 +01:00
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|