4 SPDX-FileCopyrightText: 2017 Philippe Proulx <pproulx@efficios.com>
6 SPDX-License-Identifier: CC-BY-4.0
9 <xsl:stylesheet version="1.0"
10 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
12 <xsl:template match="*[local-name() = 'co']">
13 <xsl:value-of select="concat('\','fB(',substring-after(@id,'-'),')','\','fR')"/>
15 <xsl:template match="*[local-name() = 'calloutlist']">
16 <xsl:value-of select="."/>
17 <xsl:text>sp </xsl:text>
18 <xsl:apply-templates/>
19 <xsl:text> </xsl:text>
21 <xsl:template match="*[local-name() = 'callout']">
22 <xsl:value-of select="concat('\','fB',substring-after(@arearefs,'-'),'. ','\','fR')"/>
23 <xsl:apply-templates/>
24 <xsl:value-of select="."/>
25 <xsl:text>br </xsl:text>
29 <xsl:template match="*[local-name() = 'ulink']">
30 <xsl:apply-templates/><xsl:text> <</xsl:text><xsl:value-of select="@url"/><xsl:text>></xsl:text>
32 <xsl:template match="*[local-name() = 'link']">
33 <xsl:text>\fI</xsl:text><xsl:apply-templates/><xsl:text>\fR</xsl:text>
37 <xsl:template match="*[local-name() = 'literal']">
38 <xsl:text>\fB</xsl:text>
39 <xsl:value-of select="." />
40 <xsl:text>\fR</xsl:text>
43 <!-- disable end notes -->
44 <xsl:param name="man.endnotes.are.numbered">0</xsl:param>