doc: implement REUSE with SPDX identifiers
[lttng-ust.git] / doc / man / manpage.xsl
CommitLineData
6bf962a4 1<?xml version='1.0'?>
53f7d0d7
MJ
2
3<!--
4SPDX-FileCopyrightText: 2017 Philippe Proulx <pproulx@efficios.com>
5
6SPDX-License-Identifier: CC-BY-4.0
7-->
8
6bf962a4
PP
9<xsl:stylesheet version="1.0"
10 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
11 <!-- callouts -->
12 <xsl:template match="*[local-name() = 'co']">
13 <xsl:value-of select="concat('\','fB(',substring-after(@id,'-'),')','\','fR')"/>
14 </xsl:template>
15 <xsl:template match="*[local-name() = 'calloutlist']">
16 <xsl:value-of select="."/>
17 <xsl:text>sp&#10;</xsl:text>
18 <xsl:apply-templates/>
19 <xsl:text>&#10;</xsl:text>
20 </xsl:template>
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&#10;</xsl:text>
26 </xsl:template>
27
28 <!-- links -->
29 <xsl:template match="*[local-name() = 'ulink']">
30 <xsl:apply-templates/><xsl:text> &lt;</xsl:text><xsl:value-of select="@url"/><xsl:text>&gt;</xsl:text>
31 </xsl:template>
32 <xsl:template match="*[local-name() = 'link']">
33 <xsl:text>\fI</xsl:text><xsl:apply-templates/><xsl:text>\fR</xsl:text>
34 </xsl:template>
35
36 <!-- literal -->
37 <xsl:template match="*[local-name() = 'literal']">
38 <xsl:text>\fB</xsl:text>
39 <xsl:value-of select="." />
40 <xsl:text>\fR</xsl:text>
41 </xsl:template>
42
43 <!-- disable end notes -->
44 <xsl:param name="man.endnotes.are.numbered">0</xsl:param>
45</xsl:stylesheet>
This page took 0.02875 seconds and 4 git commands to generate.