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