2 special formatting for manpages rendered from asciidoc+docbook -->
3 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
6 <!-- convert asciidoc callouts to man page format;
7 git.docbook.backslash and git.docbook.dot params
8 must be supplied by another XSL file or other means -->
9 <xsl:template match=
"co">
10 <xsl:value-of select=
"concat(
11 $git.docbook.backslash,'fB(',
12 substring-after(@id,'-'),')',
13 $git.docbook.backslash,'fR')"/>
15 <xsl:template match=
"calloutlist">
16 <xsl:value-of select=
"$git.docbook.dot"/>
17 <xsl:text>sp
</xsl:text>
18 <xsl:apply-templates/>
19 <xsl:text> </xsl:text>
21 <xsl:template match=
"callout">
22 <xsl:value-of select=
"concat(
23 $git.docbook.backslash,'fB',
24 substring-after(@arearefs,'-'),
25 '. ',$git.docbook.backslash,'fR')"/>
26 <xsl:apply-templates/>
27 <xsl:value-of select=
"$git.docbook.dot"/>
28 <xsl:text>br
</xsl:text>