1 <!-- manpage-normal.xsl:
2 special settings for manpages rendered from asciidoc+docbook -->
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 <!-- these params silence some output from xmlto -->
8 <xsl:param name="man.output.quietly" select="1"/>
9 <xsl:param name="refentry.meta.get.quietly" select="1"/>
11 <!-- convert asciidoc callouts to man page format -->
12 <xsl:template match="co">
13 <xsl:value-of select="concat('\fB(',substring-after(@id,'-'),')\fR')"/>
15 <xsl:template match="calloutlist">
16 <xsl:text>.sp </xsl:text>
17 <xsl:apply-templates/>
18 <xsl:text> </xsl:text>
20 <xsl:template match="callout">
21 <xsl:value-of select="concat('\fB',substring-after(@arearefs,'-'),'. \fR')"/>
22 <xsl:apply-templates/>
23 <xsl:text>.br </xsl:text>