]>
Commit | Line | Data |
---|---|---|
5121a6d9 CJ |
1 | <!-- manpage-bold-literal.xsl: |
2 | special formatting for manpages rendered from asciidoc+docbook --> | |
3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
55aca515 | 4 | xmlns:d="http://docbook.org/ns/docbook" |
5121a6d9 CJ |
5 | version="1.0"> |
6 | ||
7 | <!-- render literal text as bold (instead of plain or monospace); | |
8 | this makes literal text easier to distinguish in manpages | |
9 | viewed on a tty --> | |
55aca515 | 10 | <xsl:template match="literal|d:literal"> |
4344be05 | 11 | <xsl:text>\fB</xsl:text> |
5121a6d9 | 12 | <xsl:apply-templates/> |
4344be05 | 13 | <xsl:text>\fR</xsl:text> |
5121a6d9 CJ |
14 | </xsl:template> |
15 | ||
16 | </xsl:stylesheet> |