]> git.stg.codes - stg.git/blob - doc/xslt/manpages/param.xsl
Set output encoding to utf-8.
[stg.git] / doc / xslt / manpages / param.xsl
1 <?xml version="1.0" encoding="ASCII"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
4 <!-- This file is generated from param.xweb -->
5
6 <!-- ********************************************************************
7      $Id: param.xweb 8235 2009-02-09 16:22:14Z xmldoc $
8      ********************************************************************
9
10      This file is part of the XSL DocBook Stylesheet distribution.
11      See ../README or http://docbook.sf.net/release/xsl/current/ for
12      copyright and other information.
13
14      ******************************************************************** -->
15
16 <xsl:param name="man.authors.section.enabled">1</xsl:param>
17 <xsl:param name="man.break.after.slash">0</xsl:param>
18 <xsl:param name="man.base.url.for.relative.links">[set $man.base.url.for.relative.links]/</xsl:param>
19 <xsl:param name="man.charmap.enabled" select="1"/>
20 <xsl:param name="man.charmap.subset.profile">
21 @*[local-name() = 'block'] = 'Miscellaneous Technical' or
22 (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
23  (@*[local-name() = 'class'] = 'symbols' or
24   @*[local-name() = 'class'] = 'letters')
25 ) or
26 @*[local-name() = 'block'] = 'Latin Extended-A'
27 or
28 (@*[local-name() = 'block'] = 'General Punctuation' and
29  (@*[local-name() = 'class'] = 'spaces' or
30   @*[local-name() = 'class'] = 'dashes' or
31   @*[local-name() = 'class'] = 'quotes' or
32   @*[local-name() = 'class'] = 'bullets'
33  )
34 ) or
35 @*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
36 @*[local-name() = 'name'] = 'WORD JOINER' or
37 @*[local-name() = 'name'] = 'SERVICE MARK' or
38 @*[local-name() = 'name'] = 'TRADE MARK SIGN' or
39 @*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
40 </xsl:param>
41 <xsl:param name="man.charmap.subset.profile.english">
42 @*[local-name() = 'block'] = 'Miscellaneous Technical' or
43 (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
44  @*[local-name() = 'class'] = 'symbols')
45 or
46 (@*[local-name() = 'block'] = 'General Punctuation' and
47  (@*[local-name() = 'class'] = 'spaces' or
48   @*[local-name() = 'class'] = 'dashes' or
49   @*[local-name() = 'class'] = 'quotes' or
50   @*[local-name() = 'class'] = 'bullets'
51  )
52 ) or
53 @*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
54 @*[local-name() = 'name'] = 'WORD JOINER' or
55 @*[local-name() = 'name'] = 'SERVICE MARK' or
56 @*[local-name() = 'name'] = 'TRADE MARK SIGN' or
57 @*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
58 </xsl:param>
59 <xsl:param name="man.charmap.uri"/>
60 <xsl:param name="man.charmap.use.subset" select="1"/>
61 <xsl:param name="man.copyright.section.enabled">1</xsl:param>
62 <xsl:param name="man.endnotes.are.numbered">1</xsl:param>
63 <xsl:param name="man.endnotes.list.enabled">1</xsl:param>
64 <xsl:param name="man.endnotes.list.heading"/>
65   <xsl:param name="man.font.funcprototype">BI</xsl:param>
66   <xsl:param name="man.font.funcsynopsisinfo">B</xsl:param>
67 <xsl:param name="man.font.links">B</xsl:param>
68   <xsl:param name="man.font.table.headings">B</xsl:param>
69   <xsl:param name="man.font.table.title">B</xsl:param>
70 <xsl:param name="man.funcsynopsis.style">ansi</xsl:param>
71 <xsl:param name="man.hyphenate.computer.inlines">0</xsl:param>
72 <xsl:param name="man.hyphenate.filenames">0</xsl:param>
73 <xsl:param name="man.hyphenate">0</xsl:param>
74 <xsl:param name="man.hyphenate.urls">0</xsl:param>
75 <xsl:param name="man.indent.blurbs" select="1"/>
76 <xsl:param name="man.indent.lists" select="1"/>
77 <xsl:param name="man.indent.refsect" select="0"/>
78 <xsl:param name="man.indent.verbatims" select="1"/>
79 <xsl:param name="man.indent.width">4</xsl:param>
80 <xsl:param name="man.justify">0</xsl:param>
81 <xsl:param name="man.output.base.dir">man/</xsl:param>
82 <xsl:param name="man.output.encoding">UTF-8</xsl:param>
83 <xsl:param name="man.output.in.separate.dir" select="0"/>
84 <xsl:param name="man.output.lang.in.name.enabled" select="0"/>
85 <xsl:param name="man.output.manifest.enabled" select="0"/>
86 <xsl:param name="man.output.manifest.filename">MAN.MANIFEST</xsl:param>
87 <xsl:param name="man.output.better.ps.enabled">0</xsl:param>
88 <xsl:param name="man.output.quietly" select="0"/>
89 <xsl:param name="man.output.subdirs.enabled" select="1"/>
90 <xsl:param name="man.segtitle.suppress" select="0"/>
91 <xsl:param name="man.string.subst.map">
92
93   <!-- * remove no-break marker at beginning of line (stylesheet artifact) --> 
94   <substitution oldstring="&#9618;&#9600;" newstring="&#9618;"/>
95   <!-- * replace U+2580 no-break marker (stylesheet-added) w/ no-break space -->
96   <substitution oldstring="&#9600;" newstring="\ "/>
97
98   <!-- ==================================================================== -->
99
100   <!-- * squeeze multiple newlines before a roff request  -->
101   <substitution oldstring="&#10;&#10;." newstring="&#10;."/>
102   <!-- * remove any .sp instances that directly precede a .PP  -->
103   <substitution oldstring=".sp&#10;.PP" newstring=".PP"/>
104   <!-- * remove any .sp instances that directly follow a .PP  -->
105   <substitution oldstring=".sp&#10;.sp" newstring=".sp"/>
106   <!-- * squeeze multiple .sp instances into a single .sp-->
107   <substitution oldstring=".PP&#10;.sp" newstring=".PP"/>
108   <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. -->
109   <substitution oldstring=".nf&#10;&#10;" newstring=".nf&#10;"/>
110   <!-- * squeeze multiple newlines after REstoring margin -->
111   <substitution oldstring=".RE&#10;&#10;" newstring=".RE&#10;"/>
112   <!-- * U+2591 is a marker we add before and after every Parameter in -->
113   <!-- * Funcprototype output -->
114   <substitution oldstring="&#9617;" newstring=" "/>
115   <!-- * U+2592 is a marker we add for the newline before output of <sbr>; -->
116   <substitution oldstring="&#9618;" newstring="&#10;"/>
117   <!-- * -->
118   <!-- * Now deal with some other characters that are added by the -->
119   <!-- * stylesheets during processing. -->
120   <!-- * -->
121   <!-- * bullet -->
122   <substitution oldstring="&#8226;" newstring="\(bu"/>
123   <!-- * left double quote -->
124   <substitution oldstring="&#8220;" newstring="\(lq"/>
125   <!-- * right double quote -->
126   <substitution oldstring="&#8221;" newstring="\(rq"/>
127   <!-- * left single quote -->
128   <substitution oldstring="&#8216;" newstring="\(oq"/>
129   <!-- * right single quote -->
130   <substitution oldstring="&#8217;" newstring="\(cq"/>
131   <!-- * copyright sign -->
132   <substitution oldstring="&#169;" newstring="\(co"/>
133   <!-- * registered sign -->
134   <substitution oldstring="&#174;" newstring="\(rg"/>
135   <!-- * ...servicemark... -->
136   <!-- * There is no groff equivalent for it. -->
137   <substitution oldstring="&#8480;" newstring="(SM)"/>
138   <!-- * ...trademark... -->
139   <!-- * We don't do "\(tm" because for console output, -->
140   <!-- * groff just renders that as "tm"; that is: -->
141   <!-- * -->
142   <!-- *   Product&#x2122; -> Producttm -->
143   <!-- * -->
144   <!-- * So we just make it to "(TM)" instead; thus: -->
145   <!-- * -->
146   <!-- *   Product&#x2122; -> Product(TM) -->
147   <substitution oldstring="&#8482;" newstring="(TM)"/>
148
149 </xsl:param>
150 <xsl:param name="man.string.subst.map.local.post"/>
151   <xsl:param name="man.string.subst.map.local.pre"/>
152 <xsl:param name="man.subheading.divider.enabled">0</xsl:param>
153 <xsl:param name="man.subheading.divider">========================================================================</xsl:param>
154 <xsl:param name="man.table.footnotes.divider">----</xsl:param>
155 <xsl:param name="man.th.extra1.suppress">0</xsl:param>
156 <xsl:param name="man.th.extra2.max.length">30</xsl:param>
157 <xsl:param name="man.th.extra2.suppress">0</xsl:param>
158 <xsl:param name="man.th.extra3.max.length">30</xsl:param>
159 <xsl:param name="man.th.extra3.suppress">0</xsl:param>
160 <xsl:param name="man.th.title.max.length">20</xsl:param>
161 <xsl:param name="refentry.date.profile.enabled">0</xsl:param>
162 <xsl:param name="refentry.date.profile">
163   (($info[//date])[last()]/date)[1]|
164   (($info[//pubdate])[last()]/pubdate)[1]
165 </xsl:param>
166 <xsl:param name="refentry.manual.fallback.profile">
167 refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param>
168 <xsl:param name="refentry.manual.profile.enabled">0</xsl:param>
169 <xsl:param name="refentry.manual.profile">
170   (($info[//title])[last()]/title)[1]|
171   ../title/node()
172 </xsl:param>
173 <xsl:param name="refentry.meta.get.quietly" select="0"/>
174 <xsl:param name="refentry.source.fallback.profile">
175 refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param>
176 <xsl:param name="refentry.source.name.profile.enabled">0</xsl:param>
177 <xsl:param name="refentry.source.name.profile">
178   (($info[//productname])[last()]/productname)[1]|
179   (($info[//corpname])[last()]/corpname)[1]|
180   (($info[//corpcredit])[last()]/corpcredit)[1]|
181   (($info[//corpauthor])[last()]/corpauthor)[1]|
182   (($info[//orgname])[last()]/orgname)[1]|
183   (($info[//publishername])[last()]/publishername)[1]
184 </xsl:param>
185 <xsl:param name="refentry.source.name.suppress">0</xsl:param>
186 <xsl:param name="refentry.version.profile.enabled">0</xsl:param>
187 <xsl:param name="refentry.version.profile">
188   (($info[//productnumber])[last()]/productnumber)[1]|
189   (($info[//edition])[last()]/edition)[1]|
190   (($info[//releaseinfo])[last()]/releaseinfo)[1]
191 </xsl:param>
192 <xsl:param name="refentry.version.suppress">0</xsl:param>
193 </xsl:stylesheet>