]>
Commit | Line | Data |
---|---|---|
a0b8045b ZJS |
1 | <?xml version='1.0'?> <!--*-nxml-*--> |
2 | ||
3 | <!-- | |
572eb058 ZJS |
4 | SPDX-License-Identifier: LGPL-2.1+ |
5 | ||
96b2fb93 | 6 | Copyright © 2013 Zbigniew Jędrzejewski-Szmek |
a0b8045b ZJS |
7 | --> |
8 | ||
9 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
10 | xmlns:exsl="http://exslt.org/common" | |
11 | extension-element-prefixes="exsl" | |
12 | version="1.0"> | |
13 | ||
14 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/> | |
15 | ||
16 | <xsl:template name="top.comment" /> | |
17 | ||
702f64b9 ZJS |
18 | <xsl:template name="TH.title.line"> |
19 | <xsl:param name="title"/> | |
20 | <xsl:param name="section"/> | |
21 | <xsl:param name="extra1"/> | |
22 | <xsl:param name="extra2"/> | |
23 | <xsl:param name="extra3"/> | |
24 | ||
25 | <xsl:call-template name="mark.subheading"/> | |
26 | <xsl:text>.TH "</xsl:text> | |
27 | <xsl:call-template name="string.upper"> | |
28 | <xsl:with-param name="string"> | |
29 | <xsl:value-of select="normalize-space($title)"/> | |
30 | </xsl:with-param> | |
31 | </xsl:call-template> | |
32 | <xsl:text>" "</xsl:text> | |
33 | <xsl:value-of select="normalize-space($section)"/> | |
34 | <xsl:text>" "" "systemd </xsl:text> | |
35 | <xsl:value-of select="$systemd.version"/> | |
36 | <xsl:text>" "</xsl:text> | |
37 | <xsl:value-of select="normalize-space($extra3)"/> | |
38 | <xsl:text>" </xsl:text> | |
39 | <xsl:call-template name="mark.subheading"/> | |
40 | </xsl:template> | |
41 | ||
909f413d ZJS |
42 | <xsl:template match="literal"> |
43 | <xsl:if test="$man.hyphenate.computer.inlines = 0"> | |
44 | <xsl:call-template name="suppress.hyphenation"/> | |
45 | </xsl:if> | |
46 | <xsl:text>"</xsl:text> | |
47 | <xsl:call-template name="inline.monoseq"/> | |
48 | <xsl:text>"</xsl:text> | |
49 | </xsl:template> | |
50 | ||
a0b8045b | 51 | </xsl:stylesheet> |