Merge branch 'js/color-diff'
[git/debian.git] / Documentation / callouts.xsl
blobad03755d8fadd016ceb9b3118f457b864902e655
1 <!-- callout.xsl: converts asciidoc callouts to man page format -->
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3 <xsl:template match="co">
4 <xsl:value-of select="concat('\fB(',substring-after(@id,'-'),')\fR')"/>
5 </xsl:template>
6 <xsl:template match="calloutlist">
7 <xsl:text>.sp&#10;</xsl:text>
8 <xsl:apply-templates/>
9 <xsl:text>&#10;</xsl:text>
10 </xsl:template>
11 <xsl:template match="callout">
12 <xsl:value-of select="concat('\fB',substring-after(@arearefs,'-'),'. \fR')"/>
13 <xsl:apply-templates/>
14 <xsl:text>.br&#10;</xsl:text>
15 </xsl:template>
16 </xsl:stylesheet>