| 1 | <?xml version='1.0'?> |
| 2 | <xsl:stylesheet version="1.0" |
| 3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| 4 | <!-- callouts --> |
| 5 | <xsl:template match="*[local-name() = 'co']"> |
| 6 | <xsl:value-of select="concat('\','fB(',substring-after(@id,'-'),')','\','fR')"/> |
| 7 | </xsl:template> |
| 8 | <xsl:template match="*[local-name() = 'calloutlist']"> |
| 9 | <xsl:value-of select="."/> |
| 10 | <xsl:text>sp </xsl:text> |
| 11 | <xsl:apply-templates/> |
| 12 | <xsl:text> </xsl:text> |
| 13 | </xsl:template> |
| 14 | <xsl:template match="*[local-name() = 'callout']"> |
| 15 | <xsl:value-of select="concat('\','fB',substring-after(@arearefs,'-'),'. ','\','fR')"/> |
| 16 | <xsl:apply-templates/> |
| 17 | <xsl:value-of select="."/> |
| 18 | <xsl:text>br </xsl:text> |
| 19 | </xsl:template> |
| 20 | |
| 21 | <!-- links --> |
| 22 | <xsl:template match="*[local-name() = 'ulink']"> |
| 23 | <xsl:apply-templates/><xsl:text> <</xsl:text><xsl:value-of select="@url"/><xsl:text>></xsl:text> |
| 24 | </xsl:template> |
| 25 | <xsl:template match="*[local-name() = 'link']"> |
| 26 | <xsl:text>\fI</xsl:text><xsl:apply-templates/><xsl:text>\fR</xsl:text> |
| 27 | </xsl:template> |
| 28 | |
| 29 | <!-- literal --> |
| 30 | <xsl:template match="*[local-name() = 'literal']"> |
| 31 | <xsl:text>\fB</xsl:text> |
| 32 | <xsl:value-of select="." /> |
| 33 | <xsl:text>\fR</xsl:text> |
| 34 | </xsl:template> |
| 35 | |
| 36 | <!-- disable end notes --> |
| 37 | <xsl:param name="man.endnotes.are.numbered">0</xsl:param> |
| 38 | </xsl:stylesheet> |