1 <?xml version='1.0'?> <!--*-nxml-*-->
4 This file is part of systemd.
6 Copyright 2013 Zbigniew Jędrzejewski-Szmek
8 systemd is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Lesser General Public License as published by
10 the Free Software Foundation; either version 2.1 of the License, or
11 (at your option) any later version.
13 systemd is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public License
19 along with systemd; If not, see <http://www.gnu.org/licenses/>.
22 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
23 xmlns:exsl="http://exslt.org/common"
24 extension-element-prefixes="exsl"
27 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
29 <xsl:template name="top.comment" />
31 <xsl:template name="TH.title.line">
32 <xsl:param name="title"/>
33 <xsl:param name="section"/>
34 <xsl:param name="extra1"/>
35 <xsl:param name="extra2"/>
36 <xsl:param name="extra3"/>
38 <xsl:call-template name="mark.subheading"/>
39 <xsl:text>.TH "</xsl:text>
40 <xsl:call-template name="string.upper">
41 <xsl:with-param name="string">
42 <xsl:value-of select="normalize-space($title)"/>
45 <xsl:text>" "</xsl:text>
46 <xsl:value-of select="normalize-space($section)"/>
47 <xsl:text>" "" "systemd </xsl:text>
48 <xsl:value-of select="$systemd.version"/>
49 <xsl:text>" "</xsl:text>
50 <xsl:value-of select="normalize-space($extra3)"/>
51 <xsl:text>" </xsl:text>
52 <xsl:call-template name="mark.subheading"/>
55 <xsl:template match="literal">
56 <xsl:if test="$man.hyphenate.computer.inlines = 0">
57 <xsl:call-template name="suppress.hyphenation"/>
59 <xsl:text>"</xsl:text>
60 <xsl:call-template name="inline.monoseq"/>
61 <xsl:text>"</xsl:text>