1 | <?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0">
|
---|
2 |
|
---|
3 | <!-- This file is generated from param.xweb; do not edit this file! -->
|
---|
4 |
|
---|
5 | <!-- ********************************************************************
|
---|
6 | $Id: param.xweb,v 1.15 2005/07/13 03:57:50 xmldoc Exp $
|
---|
7 | ********************************************************************
|
---|
8 |
|
---|
9 | This file is part of the XSL DocBook Stylesheet distribution.
|
---|
10 | See ../README or http://nwalsh.com/docbook/xsl/ for copyright
|
---|
11 | and other information.
|
---|
12 |
|
---|
13 | ******************************************************************** -->
|
---|
14 |
|
---|
15 | <xsl:param name="man.break.after.slash">0</xsl:param>
|
---|
16 | <xsl:param name="man.hyphenate">0</xsl:param>
|
---|
17 | <xsl:param name="man.hyphenate.urls">0</xsl:param>
|
---|
18 | <xsl:param name="man.hyphenate.filenames">0</xsl:param>
|
---|
19 | <xsl:param name="man.hyphenate.computer.inlines">0</xsl:param>
|
---|
20 | <xsl:param name="man.justify">0</xsl:param>
|
---|
21 | <xsl:param name="man.output.quietly" select="0"/>
|
---|
22 | <xsl:param name="man.output.encoding" select="'UTF-8'"/>
|
---|
23 | <xsl:param name="man.string.subst.map">
|
---|
24 | <substitution oldstring="\" newstring="\\"/>
|
---|
25 | <!-- * now, we need to restore single-backslashes in all roff -->
|
---|
26 | <!-- * requests (because the substitution above doubled them) -->
|
---|
27 | <substitution oldstring="\\fB" newstring="\fB"/>
|
---|
28 | <substitution oldstring="\\fI" newstring="\fI"/>
|
---|
29 | <substitution oldstring="\\fR" newstring="\fR"/>
|
---|
30 | <substitution oldstring="\\%" newstring="\%"/>
|
---|
31 | <substitution oldstring="\\&" newstring="\&"/>
|
---|
32 | <substitution oldstring=".\\"" newstring=".\""/>
|
---|
33 | <!-- * although the groff docs do not make it clear, it appears that -->
|
---|
34 | <!-- * the only way to get a non-breaking hyphen in roff is to put a -->
|
---|
35 | <!-- * backslash in front of it; and, unfortunately, groff is not smart -->
|
---|
36 | <!-- * about where it breaks things (for example, it'll break an -->
|
---|
37 | <!-- * argument for a command across a line, if that argument contains -->
|
---|
38 | <!-- * a dash/hyphen); so, we must globally change all hyphens to "\-" -->
|
---|
39 | <substitution oldstring="-" newstring="\-"/>
|
---|
40 | <!-- * now, we need to restore single-hypens in all roff requests -->
|
---|
41 | <!-- * (because the substitution above added backslashes before them) -->
|
---|
42 | <substitution oldstring=".sp \-" newstring=".sp -"/>
|
---|
43 | <substitution oldstring=".it 1 an\-trap" newstring=".it 1 an-trap"/>
|
---|
44 | <substitution oldstring=".nr an\-no\-space\-flag 1" newstring=".nr an-no-space-flag 1"/>
|
---|
45 | <substitution oldstring=".nr an\-break\-flag 1" newstring=".nr an-break-flag 1"/>
|
---|
46 | <!-- * squeeze multiple newlines before a roff request -->
|
---|
47 | <substitution oldstring="

." newstring="
."/>
|
---|
48 | <!-- * remove any .sp occurences that directly follow a .PP -->
|
---|
49 | <substitution oldstring=".PP
.sp" newstring=".PP"/>
|
---|
50 | <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. -->
|
---|
51 | <substitution oldstring=".nf

" newstring=".nf
"/>
|
---|
52 | <!-- * an apostrophe at the beginning of a line gets interpreted as a -->
|
---|
53 | <!-- * roff request (groff(7) says it is "the non-breaking control -->
|
---|
54 | <!-- * character"); so we must add backslash before any apostrophe -->
|
---|
55 | <!-- * found at the start of a line -->
|
---|
56 | <substitution oldstring="
'" newstring="
\'"/>
|
---|
57 | <!-- * -->
|
---|
58 | <!-- * non-breaking space -->
|
---|
59 | <!-- * -->
|
---|
60 | <!-- * A no-break space can be written two ways in roff; the difference, -->
|
---|
61 | <!-- * according to the "Page Motions" node in the groff info page, ixsl: -->
|
---|
62 | <!-- * -->
|
---|
63 | <!-- * "\ " = -->
|
---|
64 | <!-- * An unbreakable and unpaddable (i.e. not expanded during filling) -->
|
---|
65 | <!-- * space. -->
|
---|
66 | <!-- * -->
|
---|
67 | <!-- * "\~" = -->
|
---|
68 | <!-- * An unbreakable space that stretches like a normal -->
|
---|
69 | <!-- * inter-word space when a line is adjusted." -->
|
---|
70 | <!-- * -->
|
---|
71 | <!-- * Unfortunately, roff seems to do some weird things with long -->
|
---|
72 | <!-- * lines that only have words separated by "\~" spaces, so it's -->
|
---|
73 | <!-- * safer just to stick with the "\ " space -->
|
---|
74 | <substitution oldstring="Â " newstring="\ "/>
|
---|
75 | <!-- * bullet -->
|
---|
76 | <substitution oldstring="â¢" newstring="\(bu"/>
|
---|
77 | <!-- * left double quote -->
|
---|
78 | <substitution oldstring="â" newstring="\(lq"/>
|
---|
79 | <!-- * right double quote -->
|
---|
80 | <substitution oldstring="â" newstring="\(rq"/>
|
---|
81 | <!-- * left single quote -->
|
---|
82 | <substitution oldstring="â" newstring="\(oq"/>
|
---|
83 | <!-- * right single quote -->
|
---|
84 | <substitution oldstring="â" newstring="\(cq"/>
|
---|
85 | <!-- * copyright sign -->
|
---|
86 | <substitution oldstring="©" newstring="\(co"/>
|
---|
87 | <!-- * registered sign -->
|
---|
88 | <substitution oldstring="®" newstring="\(rg"/>
|
---|
89 | <!-- * servicemark -->
|
---|
90 | <!-- * there is no groff equivalent for it -->
|
---|
91 | <substitution oldstring="â " newstring="(SM)"/>
|
---|
92 | <!-- * trademark -->
|
---|
93 | <!-- * we don't do "\(tm" because for console output -->
|
---|
94 | <!-- * because groff just renders that as "tm"; that is: -->
|
---|
95 | <!-- * -->
|
---|
96 | <!-- * Product™ -> Producttm -->
|
---|
97 | <!-- * -->
|
---|
98 | <!-- * So we just make it to "(TM)" instead; thus: -->
|
---|
99 | <!-- * -->
|
---|
100 | <!-- * Product™ -> Product(TM) -->
|
---|
101 | <substitution oldstring="â¢" newstring="(TM)"/>
|
---|
102 | </xsl:param>
|
---|
103 | <xsl:param name="man.links.are.numbered">1</xsl:param>
|
---|
104 | <xsl:param name="man.links.are.underlined">1</xsl:param>
|
---|
105 | <xsl:param name="man.links.list.enabled">1</xsl:param>
|
---|
106 | <xsl:param name="man.links.list.heading" select="''"/>
|
---|
107 | <xsl:param name="man.charmap.enabled" select="1"/>
|
---|
108 | <xsl:param name="man.charmap.uri" select="''"/>
|
---|
109 | <xsl:param name="man.charmap.use.subset" select="1"/>
|
---|
110 | <xsl:param name="man.charmap.subset.profile">
|
---|
111 | (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
|
---|
112 | @*[local-name() = 'class'] = 'symbols'
|
---|
113 | ) or
|
---|
114 | (@*[local-name() = 'block'] = 'General Punctuation' and
|
---|
115 | (@*[local-name() = 'class'] = 'spaces' or
|
---|
116 | @*[local-name() = 'class'] = 'dashes' or
|
---|
117 | @*[local-name() = 'class'] = 'quotes' or
|
---|
118 | @*[local-name() = 'class'] = 'bullets'
|
---|
119 | )
|
---|
120 | ) or
|
---|
121 | @*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
|
---|
122 | @*[local-name() = 'name'] = 'WORD JOINER' or
|
---|
123 | @*[local-name() = 'name'] = 'SERVICE MARK' or
|
---|
124 | @*[local-name() = 'name'] = 'TRADE MARK SIGN' or
|
---|
125 | @*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
|
---|
126 | </xsl:param>
|
---|
127 | <xsl:param name="man.subheading.divider">========================================================================</xsl:param>
|
---|
128 | <xsl:param name="man.subheading.divider.enabled">0</xsl:param>
|
---|
129 | <xsl:param name="refentry.date.profile.enabled">0</xsl:param>
|
---|
130 | <xsl:param name="refentry.manual.profile.enabled">0</xsl:param>
|
---|
131 | <xsl:param name="refentry.source.name.profile.enabled">0</xsl:param>
|
---|
132 | <xsl:param name="refentry.version.profile.enabled">0</xsl:param>
|
---|
133 | <xsl:param name="refentry.source.name.suppress">0</xsl:param>
|
---|
134 | <xsl:param name="refentry.version.suppress">0</xsl:param>
|
---|
135 | <xsl:param name="refentry.date.profile">
|
---|
136 | ($info/date
|
---|
137 | |$info/pubdate
|
---|
138 | |$parentinfo/date
|
---|
139 | |$parentinfo/pubdate)[1]/node()
|
---|
140 | </xsl:param>
|
---|
141 | <xsl:param name="refentry.manual.fallback.profile">
|
---|
142 | refmeta/refmiscinfo[1]/node()</xsl:param>
|
---|
143 | <xsl:param name="refentry.manual.profile">
|
---|
144 | ($parentinfo/title
|
---|
145 | |../title)[1]/node()
|
---|
146 | </xsl:param>
|
---|
147 | <xsl:param name="refentry.source.fallback.profile">
|
---|
148 | refmeta/refmiscinfo[1]/node()</xsl:param>
|
---|
149 | <xsl:param name="refentry.source.name.profile">
|
---|
150 | ($info/productname
|
---|
151 | |$parentinfo/productname
|
---|
152 | |$info/orgname
|
---|
153 | |$parentinfo/orgname
|
---|
154 | |$info/corpname
|
---|
155 | |$parentinfo/corpname
|
---|
156 | |$info/corpcredit
|
---|
157 | |$parentinfo/corpcredit
|
---|
158 | |$info/corpauthor
|
---|
159 | |$parentinfo/corpauthor
|
---|
160 | |$info/author/orgname
|
---|
161 | |$parentinfo/author/orgname
|
---|
162 | |$info//publishername
|
---|
163 | |$parentinfo//publishername)[1]/node()
|
---|
164 | </xsl:param>
|
---|
165 | <xsl:param name="refentry.version.profile">
|
---|
166 | ($info/productnumber
|
---|
167 | |$parentinfo/productnumber
|
---|
168 | |$info/edition
|
---|
169 | |$parentinfo/edition
|
---|
170 | |$info/releaseinfo
|
---|
171 | |$parentinfo/releaseinfo)[1]/node()
|
---|
172 | </xsl:param>
|
---|
173 | <xsl:param name="man.th.title.max.length">20</xsl:param>
|
---|
174 | <xsl:param name="man.th.extra2.max.length">40</xsl:param>
|
---|
175 | <xsl:param name="man.th.extra3.max.length">30</xsl:param>
|
---|
176 | <xsl:param name="man.th.extra1.suppress">0</xsl:param>
|
---|
177 | <xsl:param name="man.th.extra2.suppress">0</xsl:param>
|
---|
178 | <xsl:param name="man.th.extra3.suppress">0</xsl:param>
|
---|
179 | </xsl:stylesheet>
|
---|
180 |
|
---|