1 <?xml version='1.0'?> <!--*-nxml-*-->
4 SPDX-License-Identifier: LGPL-2.1+
7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 xmlns:exsl="http://exslt.org/common"
9 extension-element-prefixes="exsl"
12 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
14 <xsl:template name="top.comment" />
16 <xsl:template name="TH.title.line">
17 <xsl:param name="title"/>
18 <xsl:param name="section"/>
19 <xsl:param name="extra1"/>
20 <xsl:param name="extra2"/>
21 <xsl:param name="extra3"/>
23 <xsl:call-template name="mark.subheading"/>
24 <xsl:text>.TH "</xsl:text>
25 <xsl:call-template name="string.upper">
26 <xsl:with-param name="string">
27 <xsl:value-of select="normalize-space($title)"/>
30 <xsl:text>" "</xsl:text>
31 <xsl:value-of select="normalize-space($section)"/>
32 <xsl:text>" "" "systemd </xsl:text>
33 <xsl:value-of select="$systemd.version"/>
34 <xsl:text>" "</xsl:text>
35 <xsl:value-of select="normalize-space($extra3)"/>
36 <xsl:text>" </xsl:text>
37 <xsl:call-template name="mark.subheading"/>
40 <xsl:template match="literal">
41 <xsl:if test="$man.hyphenate.computer.inlines = 0">
42 <xsl:call-template name="suppress.hyphenation"/>
44 <xsl:text>"</xsl:text>
45 <xsl:call-template name="inline.monoseq"/>
46 <xsl:text>"</xsl:text>