]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/custom-man.xsl
cryptsetup: Add dependency for detached header
[thirdparty/systemd.git] / man / custom-man.xsl
CommitLineData
a0b8045b
ZJS
1<?xml version='1.0'?> <!--*-nxml-*-->
2
3<!--
572eb058 4 SPDX-License-Identifier: LGPL-2.1+
a0b8045b
ZJS
5-->
6
7<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 xmlns:exsl="http://exslt.org/common"
9 extension-element-prefixes="exsl"
10 version="1.0">
11
12<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
13
14<xsl:template name="top.comment" />
15
702f64b9
ZJS
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"/>
22
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)"/>
28 </xsl:with-param>
29 </xsl:call-template>
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>"&#10;</xsl:text>
37 <xsl:call-template name="mark.subheading"/>
38</xsl:template>
39
909f413d
ZJS
40<xsl:template match="literal">
41 <xsl:if test="$man.hyphenate.computer.inlines = 0">
42 <xsl:call-template name="suppress.hyphenation"/>
43 </xsl:if>
44 <xsl:text>"</xsl:text>
45 <xsl:call-template name="inline.monoseq"/>
46 <xsl:text>"</xsl:text>
47</xsl:template>
48
a0b8045b 49</xsl:stylesheet>