source: trunk/Distribution/XSL/fo/param.xsl@ 3

Last change on this file since 3 was 2, checked in by jkacer, 18 years ago

Added all DocBook Framework stuff:

  • DocBook DTD
  • Transformation software FOP 0.20.5 and Saxon 6
  • XSL styles
  • Rexx scripts

Also added some WarpIN-related stuff for creation of WarpIN installation packages.
This state corresponds to version 1.0.0 from November 2005, just slightly modified to carry versioning information (Rexx scripts).

File size: 38.1 KB
Line 
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.96 2005/06/27 05:33:29 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:attribute-set name="abstract.properties">
16 <xsl:attribute name="start-indent">0.0in</xsl:attribute>
17 <xsl:attribute name="end-indent">0.0in</xsl:attribute>
18</xsl:attribute-set>
19<xsl:attribute-set name="abstract.title.properties">
20 <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"/></xsl:attribute>
21 <xsl:attribute name="font-weight">bold</xsl:attribute>
22 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
23 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
24 <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
25 <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
26 <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
27 <xsl:attribute name="hyphenate">false</xsl:attribute>
28 <xsl:attribute name="text-align">center</xsl:attribute>
29</xsl:attribute-set>
30<xsl:param name="admon.graphics.extension" select="'.png'"/>
31<xsl:param name="admon.graphics" select="0"/>
32<xsl:param name="admon.graphics.path">images/</xsl:param>
33<xsl:param name="admon.textlabel" select="1"/>
34<xsl:attribute-set name="admonition.properties"/>
35<xsl:attribute-set name="admonition.title.properties">
36 <xsl:attribute name="font-size">14pt</xsl:attribute>
37 <xsl:attribute name="font-weight">bold</xsl:attribute>
38 <xsl:attribute name="hyphenate">false</xsl:attribute>
39 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
40</xsl:attribute-set>
41<xsl:attribute-set name="graphical.admonition.properties">
42 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
43 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
44 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
45 <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
46 <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
47 <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
48</xsl:attribute-set>
49<xsl:attribute-set name="nongraphical.admonition.properties">
50 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
51 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
52 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
53 <xsl:attribute name="margin-left">0.25in</xsl:attribute>
54 <xsl:attribute name="margin-right">0.25in</xsl:attribute>
55</xsl:attribute-set>
56<xsl:param name="alignment">justify</xsl:param>
57<xsl:param name="appendix.autolabel" select="'A'"/>
58<xsl:param name="arbortext.extensions" select="0"/>
59<xsl:attribute-set name="article.appendix.title.properties" use-attribute-sets="section.title.properties section.title.level1.properties">
60 <xsl:attribute name="margin-left">
61 <xsl:value-of select="$title.margin.left"/>
62 </xsl:attribute>
63</xsl:attribute-set>
64<xsl:param name="author.othername.in.middle" select="1"/>
65<xsl:param name="autotoc.label.separator" select="'. '"/>
66<xsl:param name="axf.extensions" select="0"/>
67<xsl:param name="biblioentry.item.separator">. </xsl:param>
68<xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/>
69<xsl:param name="bibliography.numbered" select="0"/>
70<xsl:attribute-set name="blockquote.properties">
71<xsl:attribute name="margin-left">0.5in</xsl:attribute>
72<xsl:attribute name="margin-right">0.5in</xsl:attribute>
73<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
74<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
75<xsl:attribute name="space-after.maximum">2em</xsl:attribute>
76</xsl:attribute-set>
77<xsl:param name="body.font.family" select="'serif'"/>
78<xsl:param name="body.font.master">10</xsl:param>
79<xsl:param name="body.font.size">
80 <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text>
81</xsl:param>
82<xsl:param name="body.margin.bottom" select="'0.5in'"/>
83<xsl:param name="body.margin.top" select="'0.5in'"/>
84<xsl:param name="body.start.indent">
85 <xsl:choose>
86 <xsl:when test="$fop.extensions != 0">0pt</xsl:when>
87 <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
88 <xsl:otherwise>4pc</xsl:otherwise>
89 </xsl:choose>
90</xsl:param>
91<xsl:param name="body.end.indent" select="'0pt'"/>
92<xsl:param name="bridgehead.in.toc" select="0"/>
93<xsl:param name="callout.defaultcolumn" select="'60'"/>
94<xsl:param name="callout.graphics.extension" select="'.png'"/>
95<xsl:param name="callout.graphics" select="'1'"/>
96<xsl:param name="callout.graphics.number.limit" select="'15'"/>
97<xsl:param name="callout.graphics.path" select="'images/callouts/'"/>
98<xsl:param name="callout.unicode.font" select="'ZapfDingbats'"/>
99<xsl:param name="callout.unicode" select="0"/>
100<xsl:param name="callout.unicode.number.limit" select="'10'"/>
101<xsl:param name="callout.unicode.start.character" select="10102"/>
102<xsl:param name="callouts.extension" select="'1'"/>
103<xsl:param name="chapter.autolabel" select="1"/>
104<xsl:param name="collect.xref.targets" select="'no'"/>
105<xsl:param name="column.count.back" select="1"/>
106<xsl:param name="column.count.body" select="1"/>
107<xsl:param name="column.count.front" select="1"/>
108<xsl:param name="column.count.index" select="2"/>
109<xsl:param name="column.count.lot" select="1"/>
110<xsl:param name="column.count.titlepage" select="1"/>
111<xsl:param name="column.gap.back" select="'12pt'"/>
112<xsl:param name="column.gap.body" select="'12pt'"/>
113<xsl:param name="column.gap.front" select="'12pt'"/>
114<xsl:param name="column.gap.index" select="'12pt'"/>
115<xsl:param name="column.gap.lot" select="'12pt'"/>
116<xsl:param name="column.gap.titlepage" select="'12pt'"/>
117<xsl:attribute-set name="compact.list.item.spacing">
118 <xsl:attribute name="space-before.optimum">0em</xsl:attribute>
119 <xsl:attribute name="space-before.minimum">0em</xsl:attribute>
120 <xsl:attribute name="space-before.maximum">0.2em</xsl:attribute>
121</xsl:attribute-set>
122<xsl:param name="component.label.includes.part.label" select="0"/>
123<xsl:attribute-set name="component.title.properties">
124 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
125 <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
126 <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
127 <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
128 <xsl:attribute name="hyphenate">false</xsl:attribute>
129 <xsl:attribute name="text-align">
130 <xsl:choose>
131 <xsl:when test="((parent::article | parent::articleinfo) and not(ancestor::book) and not(self::bibliography)) or (parent::slides | parent::slidesinfo)">center</xsl:when>
132 <xsl:otherwise>left</xsl:otherwise>
133 </xsl:choose>
134 </xsl:attribute>
135 <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
136</xsl:attribute-set>
137<xsl:param name="current.docid" select="''"/>
138<xsl:param name="default.float.class" select="'before'"/>
139<xsl:param name="default.image.width" select="''"/>
140<xsl:param name="default.table.width" select="''"/>
141<xsl:param name="default.units" select="'pt'"/>
142<xsl:param name="dingbat.font.family" select="'serif'"/>
143<xsl:param name="double.sided" select="0"/>
144<xsl:param name="draft.mode" select="'maybe'"/>
145<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"/>
146
147<xsl:param xmlns:fo="http://www.w3.org/1999/XSL/Format" name="ebnf.assignment">
148 <fo:inline font-family="{$monospace.font.family}">
149 <xsl:text>::=</xsl:text>
150 </fo:inline>
151</xsl:param>
152
153<xsl:param name="ebnf.statement.terminator"/>
154<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"/>
155<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"/>
156<xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"/>
157<xsl:param name="firstterm.only.link" select="0"/>
158<xsl:attribute-set name="footer.content.properties">
159 <xsl:attribute name="font-family">
160 <xsl:value-of select="$body.fontset"/>
161 </xsl:attribute>
162 <xsl:attribute name="margin-left">
163 <xsl:value-of select="$title.margin.left"/>
164 </xsl:attribute>
165</xsl:attribute-set>
166<xsl:param name="footer.rule" select="1"/>
167<xsl:param name="footer.column.widths" select="'1 1 1'"/>
168<xsl:param name="footers.on.blank.pages" select="1"/>
169<xsl:param name="footnote.font.size">
170 <xsl:value-of select="$body.font.master * 0.8"/><xsl:text>pt</xsl:text>
171</xsl:param>
172<xsl:param name="footnote.number.format" select="'1'"/>
173<xsl:param name="footnote.number.symbols" select="''"/>
174<xsl:attribute-set name="footnote.mark.properties">
175 <xsl:attribute name="font-size">75%</xsl:attribute>
176 <xsl:attribute name="font-weight">normal</xsl:attribute>
177 <xsl:attribute name="font-style">normal</xsl:attribute>
178</xsl:attribute-set>
179<xsl:attribute-set name="footnote.properties">
180 <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"/></xsl:attribute>
181 <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"/></xsl:attribute>
182 <xsl:attribute name="font-weight">normal</xsl:attribute>
183 <xsl:attribute name="font-style">normal</xsl:attribute>
184 <xsl:attribute name="text-align"><xsl:value-of select="$alignment"/></xsl:attribute>
185 <xsl:attribute name="start-indent">0pt</xsl:attribute>
186</xsl:attribute-set>
187<xsl:attribute-set name="footnote.sep.leader.properties">
188 <xsl:attribute name="color">black</xsl:attribute>
189 <xsl:attribute name="leader-pattern">rule</xsl:attribute>
190 <xsl:attribute name="leader-length">1in</xsl:attribute>
191</xsl:attribute-set>
192<xsl:param name="fop.extensions" select="0"/>
193<xsl:attribute-set name="formal.object.properties">
194 <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
195 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
196 <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
197 <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
198 <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
199 <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
200 <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
201</xsl:attribute-set>
202<xsl:param name="formal.procedures" select="1"/>
203<xsl:param name="formal.title.placement">
204figure before
205example before
206equation before
207table before
208procedure before
209task before
210</xsl:param>
211<xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
212 <xsl:attribute name="font-weight">bold</xsl:attribute>
213 <xsl:attribute name="font-size">
214 <xsl:value-of select="$body.font.master * 1.2"/>
215 <xsl:text>pt</xsl:text>
216 </xsl:attribute>
217 <xsl:attribute name="hyphenate">false</xsl:attribute>
218 <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
219 <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
220 <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
221</xsl:attribute-set>
222<xsl:param name="funcsynopsis.decoration" select="1"/>
223<xsl:param name="funcsynopsis.style">kr</xsl:param>
224<xsl:param name="function.parens">0</xsl:param>
225<xsl:param name="generate.index" select="1"/>
226<xsl:param name="generate.section.toc.level" select="0"/>
227
228<xsl:param name="generate.toc">
229/appendix toc,title
230article/appendix nop
231/article toc,title
232book toc,title,figure,table,example,equation
233/chapter toc,title
234part toc,title
235/preface toc,title
236qandadiv toc
237qandaset toc
238reference toc,title
239/sect1 toc
240/sect2 toc
241/sect3 toc
242/sect4 toc
243/sect5 toc
244/section toc
245set toc,title
246</xsl:param>
247<xsl:param name="glossary.as.blocks" select="0"/>
248<xsl:param name="glossary.collection" select="''"/>
249<xsl:param name="glossentry.show.acronym" select="'no'"/>
250<xsl:param name="glosslist.as.blocks" select="0"/>
251<xsl:param name="glossterm.auto.link" select="0"/>
252<xsl:param name="glossterm.separation" select="'0.25in'"/>
253<xsl:param name="glossterm.width" select="'2in'"/>
254<xsl:param name="graphic.default.extension"/>
255<xsl:attribute-set name="header.content.properties">
256 <xsl:attribute name="font-family">
257 <xsl:value-of select="$body.fontset"/>
258 </xsl:attribute>
259 <xsl:attribute name="margin-left">
260 <xsl:value-of select="$title.margin.left"/>
261 </xsl:attribute>
262</xsl:attribute-set>
263<xsl:param name="header.rule" select="1"/>
264<xsl:param name="header.column.widths" select="'1 1 1'"/>
265<xsl:param name="headers.on.blank.pages" select="1"/>
266<xsl:param name="hyphenate">true</xsl:param>
267<xsl:param name="hyphenate.verbatim" select="0"/>
268<xsl:param name="hyphenate.verbatim.characters" select="''"/>
269<xsl:param name="ignore.image.scaling" select="0"/>
270<xsl:param name="img.src.path"/>
271<xsl:param name="index.on.role" select="0"/>
272<xsl:param name="index.on.type" select="0"/>
273<xsl:attribute-set name="informalequation.properties" use-attribute-sets="informal.object.properties"/>
274<xsl:attribute-set name="informalexample.properties" use-attribute-sets="informal.object.properties"/>
275<xsl:attribute-set name="informalfigure.properties" use-attribute-sets="informal.object.properties"/>
276<xsl:attribute-set name="informal.object.properties">
277 <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
278 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
279 <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
280 <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
281 <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
282 <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
283</xsl:attribute-set>
284<xsl:attribute-set name="informaltable.properties" use-attribute-sets="informal.object.properties"/>
285<xsl:attribute-set name="index.preferred.page.properties">
286 <xsl:attribute name="font-weight">bold</xsl:attribute>
287</xsl:attribute-set>
288<xsl:attribute-set name="index.div.title.properties">
289 <xsl:attribute name="margin-left">0pt</xsl:attribute>
290 <xsl:attribute name="font-size">14.4pt</xsl:attribute>
291 <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"/></xsl:attribute>
292 <xsl:attribute name="font-weight">bold</xsl:attribute>
293 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
294 <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"/></xsl:attribute>
295 <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master,'pt * 0.8')"/></xsl:attribute>
296 <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt * 1.2')"/></xsl:attribute>
297 <xsl:attribute name="start-indent">0pt</xsl:attribute>
298</xsl:attribute-set>
299<xsl:attribute-set name="index.entry.properties">
300 <xsl:attribute name="start-indent">0pt</xsl:attribute>
301</xsl:attribute-set>
302<xsl:param name="insert.xref.page.number">no</xsl:param>
303<xsl:param name="l10n.gentext.default.language" select="'en'"/>
304<xsl:param name="l10n.gentext.language" select="''"/>
305<xsl:param name="l10n.gentext.use.xref.language" select="0"/>
306<xsl:param name="l10n.lang.value.rfc.compliant" select="1"/>
307<xsl:param name="label.from.part" select="'0'"/>
308<xsl:param name="line-height" select="'normal'"/>
309<xsl:param name="linenumbering.everyNth" select="'5'"/>
310<xsl:param name="linenumbering.extension" select="'1'"/>
311<xsl:param name="linenumbering.separator" select="' '"/>
312<xsl:param name="linenumbering.width" select="'3'"/>
313<xsl:attribute-set name="list.block.spacing">
314 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
315 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
316 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
317 <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
318 <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
319 <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
320</xsl:attribute-set>
321<xsl:attribute-set name="list.item.spacing">
322 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
323 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
324 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
325</xsl:attribute-set>
326<xsl:param name="make.index.markup" select="0"/>
327<xsl:param name="make.single.year.ranges" select="0"/>
328<xsl:param name="make.year.ranges" select="0"/>
329<xsl:attribute-set name="margin.note.properties">
330 <xsl:attribute name="font-size">90%</xsl:attribute>
331 <xsl:attribute name="text-align">start</xsl:attribute>
332</xsl:attribute-set>
333<xsl:attribute-set name="margin.note.title.properties">
334 <xsl:attribute name="font-weight">bold</xsl:attribute>
335 <xsl:attribute name="hyphenate">false</xsl:attribute>
336 <xsl:attribute name="text-align">start</xsl:attribute>
337 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
338</xsl:attribute-set>
339<xsl:param name="margin.note.float.type" select="'none'"/>
340<xsl:param name="margin.note.width" select="'1in'"/>
341<xsl:param name="marker.section.level" select="2"/>
342<xsl:param name="menuchoice.menu.separator"> → </xsl:param>
343<xsl:param name="menuchoice.separator" select="'+'"/>
344<xsl:param name="monospace.font.family" select="'monospace'"/>
345<xsl:attribute-set name="monospace.properties">
346 <xsl:attribute name="font-family">
347 <xsl:value-of select="$monospace.font.family"/>
348 </xsl:attribute>
349</xsl:attribute-set>
350<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties">
351 <xsl:attribute name="text-align">start</xsl:attribute>
352 <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
353</xsl:attribute-set>
354<xsl:param name="nominal.table.width" select="'6in'"/>
355<xsl:attribute-set name="normal.para.spacing">
356 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
357 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
358 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
359</xsl:attribute-set>
360<xsl:param name="olink.doctitle" select="no"/>
361<xsl:param name="olink.base.uri" select="''"/>
362<xsl:param name="olink.debug" select="0"/>
363<xsl:attribute-set name="olink.properties">
364</xsl:attribute-set>
365<xsl:param name="olink.lang.fallback.sequence" select="''"/>
366<xsl:param name="prefer.internal.olink" select="0"/>
367<xsl:param name="insert.olink.page.number">no</xsl:param>
368<xsl:param name="insert.olink.pdf.frag" select="0"/>
369<xsl:param name="page.height">
370 <xsl:choose>
371 <xsl:when test="$page.orientation = 'portrait'">
372 <xsl:value-of select="$page.height.portrait"/>
373 </xsl:when>
374 <xsl:otherwise>
375 <xsl:value-of select="$page.width.portrait"/>
376 </xsl:otherwise>
377 </xsl:choose>
378</xsl:param>
379<xsl:param name="page.height.portrait">
380 <xsl:choose>
381 <xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when>
382 <xsl:when test="$paper.type = 'USletter'">11in</xsl:when>
383 <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when>
384 <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when>
385 <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when>
386 <xsl:when test="$paper.type = 'A0'">1189mm</xsl:when>
387 <xsl:when test="$paper.type = 'A1'">841mm</xsl:when>
388 <xsl:when test="$paper.type = 'A2'">594mm</xsl:when>
389 <xsl:when test="$paper.type = 'A3'">420mm</xsl:when>
390 <xsl:when test="$paper.type = 'A4'">297mm</xsl:when>
391 <xsl:when test="$paper.type = 'A5'">210mm</xsl:when>
392 <xsl:when test="$paper.type = 'A6'">148mm</xsl:when>
393 <xsl:when test="$paper.type = 'A7'">105mm</xsl:when>
394 <xsl:when test="$paper.type = 'A8'">74mm</xsl:when>
395 <xsl:when test="$paper.type = 'A9'">52mm</xsl:when>
396 <xsl:when test="$paper.type = 'A10'">37mm</xsl:when>
397 <xsl:when test="$paper.type = 'B0'">1414mm</xsl:when>
398 <xsl:when test="$paper.type = 'B1'">1000mm</xsl:when>
399 <xsl:when test="$paper.type = 'B2'">707mm</xsl:when>
400 <xsl:when test="$paper.type = 'B3'">500mm</xsl:when>
401 <xsl:when test="$paper.type = 'B4'">353mm</xsl:when>
402 <xsl:when test="$paper.type = 'B5'">250mm</xsl:when>
403 <xsl:when test="$paper.type = 'B6'">176mm</xsl:when>
404 <xsl:when test="$paper.type = 'B7'">125mm</xsl:when>
405 <xsl:when test="$paper.type = 'B8'">88mm</xsl:when>
406 <xsl:when test="$paper.type = 'B9'">62mm</xsl:when>
407 <xsl:when test="$paper.type = 'B10'">44mm</xsl:when>
408 <xsl:when test="$paper.type = 'C0'">1297mm</xsl:when>
409 <xsl:when test="$paper.type = 'C1'">917mm</xsl:when>
410 <xsl:when test="$paper.type = 'C2'">648mm</xsl:when>
411 <xsl:when test="$paper.type = 'C3'">458mm</xsl:when>
412 <xsl:when test="$paper.type = 'C4'">324mm</xsl:when>
413 <xsl:when test="$paper.type = 'C5'">229mm</xsl:when>
414 <xsl:when test="$paper.type = 'C6'">162mm</xsl:when>
415 <xsl:when test="$paper.type = 'C7'">114mm</xsl:when>
416 <xsl:when test="$paper.type = 'C8'">81mm</xsl:when>
417 <xsl:when test="$paper.type = 'C9'">57mm</xsl:when>
418 <xsl:when test="$paper.type = 'C10'">40mm</xsl:when>
419 <xsl:otherwise>11in</xsl:otherwise>
420 </xsl:choose>
421</xsl:param>
422<xsl:param name="page.margin.bottom" select="'0.5in'"/>
423<xsl:param name="page.margin.inner">
424 <xsl:choose>
425 <xsl:when test="$double.sided != 0">1.25in</xsl:when>
426 <xsl:otherwise>1in</xsl:otherwise>
427 </xsl:choose>
428</xsl:param>
429<xsl:param name="page.margin.outer">
430 <xsl:choose>
431 <xsl:when test="$double.sided != 0">0.75in</xsl:when>
432 <xsl:otherwise>1in</xsl:otherwise>
433 </xsl:choose>
434</xsl:param>
435<xsl:param name="page.margin.top" select="'0.5in'"/>
436<xsl:param name="page.orientation" select="'portrait'"/>
437<xsl:param name="page.width">
438 <xsl:choose>
439 <xsl:when test="$page.orientation = 'portrait'">
440 <xsl:value-of select="$page.width.portrait"/>
441 </xsl:when>
442 <xsl:otherwise>
443 <xsl:value-of select="$page.height.portrait"/>
444 </xsl:otherwise>
445 </xsl:choose>
446</xsl:param>
447<xsl:param name="page.width.portrait">
448 <xsl:choose>
449 <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when>
450 <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when>
451 <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when>
452 <xsl:when test="$paper.type = 'A0'">841mm</xsl:when>
453 <xsl:when test="$paper.type = 'A1'">594mm</xsl:when>
454 <xsl:when test="$paper.type = 'A2'">420mm</xsl:when>
455 <xsl:when test="$paper.type = 'A3'">297mm</xsl:when>
456 <xsl:when test="$paper.type = 'A4'">210mm</xsl:when>
457 <xsl:when test="$paper.type = 'A5'">148mm</xsl:when>
458 <xsl:when test="$paper.type = 'A6'">105mm</xsl:when>
459 <xsl:when test="$paper.type = 'A7'">74mm</xsl:when>
460 <xsl:when test="$paper.type = 'A8'">52mm</xsl:when>
461 <xsl:when test="$paper.type = 'A9'">37mm</xsl:when>
462 <xsl:when test="$paper.type = 'A10'">26mm</xsl:when>
463 <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when>
464 <xsl:when test="$paper.type = 'B1'">707mm</xsl:when>
465 <xsl:when test="$paper.type = 'B2'">500mm</xsl:when>
466 <xsl:when test="$paper.type = 'B3'">353mm</xsl:when>
467 <xsl:when test="$paper.type = 'B4'">250mm</xsl:when>
468 <xsl:when test="$paper.type = 'B5'">176mm</xsl:when>
469 <xsl:when test="$paper.type = 'B6'">125mm</xsl:when>
470 <xsl:when test="$paper.type = 'B7'">88mm</xsl:when>
471 <xsl:when test="$paper.type = 'B8'">62mm</xsl:when>
472 <xsl:when test="$paper.type = 'B9'">44mm</xsl:when>
473 <xsl:when test="$paper.type = 'B10'">31mm</xsl:when>
474 <xsl:when test="$paper.type = 'C0'">917mm</xsl:when>
475 <xsl:when test="$paper.type = 'C1'">648mm</xsl:when>
476 <xsl:when test="$paper.type = 'C2'">458mm</xsl:when>
477 <xsl:when test="$paper.type = 'C3'">324mm</xsl:when>
478 <xsl:when test="$paper.type = 'C4'">229mm</xsl:when>
479 <xsl:when test="$paper.type = 'C5'">162mm</xsl:when>
480 <xsl:when test="$paper.type = 'C6'">114mm</xsl:when>
481 <xsl:when test="$paper.type = 'C7'">81mm</xsl:when>
482 <xsl:when test="$paper.type = 'C8'">57mm</xsl:when>
483 <xsl:when test="$paper.type = 'C9'">40mm</xsl:when>
484 <xsl:when test="$paper.type = 'C10'">28mm</xsl:when>
485 <xsl:otherwise>8.5in</xsl:otherwise>
486 </xsl:choose>
487</xsl:param>
488<xsl:param name="paper.type" select="'USletter'"/>
489<xsl:param name="part.autolabel" select="'I'"/>
490<xsl:param name="passivetex.extensions" select="0"/>
491<xsl:param name="preface.autolabel" select="0"/>
492<xsl:param name="preferred.mediaobject.role"/>
493<xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties"/>
494<xsl:param name="process.empty.source.toc" select="0"/>
495<xsl:param name="process.source.toc" select="0"/>
496<xsl:param name="profile.arch" select="''"/>
497<xsl:param name="profile.attribute" select="''"/>
498<xsl:param name="profile.condition" select="''"/>
499<xsl:param name="profile.conformance" select="''"/>
500<xsl:param name="profile.lang" select="''"/>
501<xsl:param name="profile.os" select="''"/>
502<xsl:param name="profile.revision" select="''"/>
503<xsl:param name="profile.revisionflag" select="''"/>
504<xsl:param name="profile.role" select="''"/>
505<xsl:param name="profile.security" select="''"/>
506<xsl:param name="profile.separator" select="';'"/>
507<xsl:param name="profile.userlevel" select="''"/>
508<xsl:param name="profile.value" select="''"/>
509<xsl:param name="profile.vendor" select="''"/>
510<xsl:param name="punct.honorific" select="'.'"/>
511<xsl:param name="qanda.defaultlabel">number</xsl:param>
512<xsl:param name="qanda.inherit.numeration" select="1"/>
513<xsl:param name="qandadiv.autolabel" select="1"/>
514<xsl:attribute-set name="qanda.title.level1.properties">
515 <xsl:attribute name="font-size">
516 <xsl:value-of select="$body.font.master * 2.0736"/>
517 <xsl:text>pt</xsl:text>
518 </xsl:attribute>
519</xsl:attribute-set>
520<xsl:attribute-set name="qanda.title.level2.properties">
521 <xsl:attribute name="font-size">
522 <xsl:value-of select="$body.font.master * 1.728"/>
523 <xsl:text>pt</xsl:text>
524 </xsl:attribute>
525</xsl:attribute-set>
526<xsl:attribute-set name="qanda.title.level3.properties">
527 <xsl:attribute name="font-size">
528 <xsl:value-of select="$body.font.master * 1.44"/>
529 <xsl:text>pt</xsl:text>
530 </xsl:attribute>
531</xsl:attribute-set>
532<xsl:attribute-set name="qanda.title.level4.properties">
533 <xsl:attribute name="font-size">
534 <xsl:value-of select="$body.font.master * 1.2"/>
535 <xsl:text>pt</xsl:text>
536 </xsl:attribute>
537</xsl:attribute-set>
538<xsl:attribute-set name="qanda.title.level5.properties">
539 <xsl:attribute name="font-size">
540 <xsl:value-of select="$body.font.master"/>
541 <xsl:text>pt</xsl:text>
542 </xsl:attribute>
543</xsl:attribute-set>
544<xsl:attribute-set name="qanda.title.level6.properties">
545 <xsl:attribute name="font-size">
546 <xsl:value-of select="$body.font.master"/>
547 <xsl:text>pt</xsl:text>
548 </xsl:attribute>
549</xsl:attribute-set>
550<xsl:attribute-set name="qanda.title.properties">
551 <xsl:attribute name="font-family">
552 <xsl:value-of select="$title.font.family"/>
553 </xsl:attribute>
554 <xsl:attribute name="font-weight">bold</xsl:attribute>
555 <!-- font size is calculated dynamically by qanda.heading template -->
556 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
557 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
558 <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
559 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
560</xsl:attribute-set>
561<xsl:param name="refentry.generate.name" select="1"/>
562<xsl:param name="refentry.generate.title" select="0"/>
563<xsl:param name="refentry.pagebreak" select="1"/>
564<xsl:attribute-set name="refentry.title.properties">
565 <xsl:attribute name="font-family">
566 <xsl:value-of select="$title.font.family"/>
567 </xsl:attribute>
568 <xsl:attribute name="font-size">18pt</xsl:attribute>
569 <xsl:attribute name="font-weight">bold</xsl:attribute>
570 <xsl:attribute name="space-after">1em</xsl:attribute>
571 <xsl:attribute name="hyphenate">false</xsl:attribute>
572 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
573 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
574 <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
575 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
576 <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute>
577 <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
578 <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
579 <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
580</xsl:attribute-set>
581<xsl:param name="refentry.xref.manvolnum" select="1"/>
582<xsl:param name="region.after.extent" select="'0.4in'"/>
583<xsl:param name="region.before.extent" select="'0.4in'"/>
584<xsl:attribute-set name="root.properties">
585 <xsl:attribute name="font-family">
586 <xsl:value-of select="$body.fontset"/>
587 </xsl:attribute>
588 <xsl:attribute name="font-size">
589 <xsl:value-of select="$body.font.size"/>
590 </xsl:attribute>
591 <xsl:attribute name="text-align">
592 <xsl:value-of select="$alignment"/>
593 </xsl:attribute>
594 <xsl:attribute name="line-height">
595 <xsl:value-of select="$line-height"/>
596 </xsl:attribute>
597 <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
598 <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
599</xsl:attribute-set>
600<xsl:param name="rootid" select="''"/>
601<xsl:param name="runinhead.default.title.end.punct" select="'.'"/>
602<xsl:param name="runinhead.title.end.punct" select="'.!?:'"/>
603<xsl:param name="sans.font.family" select="'sans-serif'"/>
604<xsl:param name="section.autolabel" select="0"/>
605<xsl:param name="section.autolabel.max.depth" select="8"/>
606<xsl:param name="section.label.includes.component.label" select="0"/>
607<xsl:attribute-set name="section.title.level1.properties">
608 <xsl:attribute name="font-size">
609 <xsl:value-of select="$body.font.master * 2.0736"/>
610 <xsl:text>pt</xsl:text>
611 </xsl:attribute>
612</xsl:attribute-set>
613<xsl:attribute-set name="section.title.level2.properties">
614 <xsl:attribute name="font-size">
615 <xsl:value-of select="$body.font.master * 1.728"/>
616 <xsl:text>pt</xsl:text>
617 </xsl:attribute>
618</xsl:attribute-set>
619<xsl:attribute-set name="section.title.level3.properties">
620 <xsl:attribute name="font-size">
621 <xsl:value-of select="$body.font.master * 1.44"/>
622 <xsl:text>pt</xsl:text>
623 </xsl:attribute>
624</xsl:attribute-set>
625<xsl:attribute-set name="section.title.level4.properties">
626 <xsl:attribute name="font-size">
627 <xsl:value-of select="$body.font.master * 1.2"/>
628 <xsl:text>pt</xsl:text>
629 </xsl:attribute>
630</xsl:attribute-set>
631<xsl:attribute-set name="section.title.level5.properties">
632 <xsl:attribute name="font-size">
633 <xsl:value-of select="$body.font.master"/>
634 <xsl:text>pt</xsl:text>
635 </xsl:attribute>
636</xsl:attribute-set>
637<xsl:attribute-set name="section.title.level6.properties">
638 <xsl:attribute name="font-size">
639 <xsl:value-of select="$body.font.master"/>
640 <xsl:text>pt</xsl:text>
641 </xsl:attribute>
642</xsl:attribute-set>
643<xsl:attribute-set name="section.title.properties">
644 <xsl:attribute name="font-family">
645 <xsl:value-of select="$title.font.family"/>
646 </xsl:attribute>
647 <xsl:attribute name="font-weight">bold</xsl:attribute>
648 <!-- font size is calculated dynamically by section.heading template -->
649 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
650 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
651 <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
652 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
653 <xsl:attribute name="text-align">left</xsl:attribute>
654 <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
655</xsl:attribute-set>
656<xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties">
657</xsl:attribute-set>
658<xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties">
659</xsl:attribute-set>
660<xsl:attribute-set name="section.level3.properties" use-attribute-sets="section.properties">
661</xsl:attribute-set>
662<xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties">
663</xsl:attribute-set>
664<xsl:attribute-set name="section.level5.properties" use-attribute-sets="section.properties">
665</xsl:attribute-set>
666<xsl:attribute-set name="section.level6.properties" use-attribute-sets="section.properties">
667</xsl:attribute-set>
668<xsl:attribute-set name="section.properties">
669</xsl:attribute-set>
670<xsl:param name="segmentedlist.as.table" select="0"/>
671<xsl:param name="shade.verbatim" select="0"/>
672
673<xsl:attribute-set name="shade.verbatim.style">
674 <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
675</xsl:attribute-set>
676<xsl:param name="show.comments">1</xsl:param>
677<xsl:attribute-set name="sidebar.properties" use-attribute-sets="formal.object.properties">
678 <xsl:attribute name="border-style">solid</xsl:attribute>
679 <xsl:attribute name="border-width">1pt</xsl:attribute>
680 <xsl:attribute name="border-color">black</xsl:attribute>
681 <xsl:attribute name="background-color">#DDDDDD</xsl:attribute>
682 <xsl:attribute name="padding-left">12pt</xsl:attribute>
683 <xsl:attribute name="padding-right">12pt</xsl:attribute>
684 <xsl:attribute name="padding-top">6pt</xsl:attribute>
685 <xsl:attribute name="padding-bottom">6pt</xsl:attribute>
686 <xsl:attribute name="margin-left">0pt</xsl:attribute>
687 <xsl:attribute name="margin-right">0pt</xsl:attribute>
688<!--
689 <xsl:attribute name="margin-top">6pt</xsl:attribute>
690 <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
691-->
692</xsl:attribute-set>
693<xsl:attribute-set name="sidebar.title.properties">
694 <xsl:attribute name="font-weight">bold</xsl:attribute>
695 <xsl:attribute name="hyphenate">false</xsl:attribute>
696 <xsl:attribute name="text-align">start</xsl:attribute>
697 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
698</xsl:attribute-set>
699<xsl:param name="sidebar.float.type" select="'none'"/>
700<xsl:param name="sidebar.float.width" select="'1in'"/>
701<xsl:param name="simplesect.in.toc" select="0"/>
702<xsl:attribute-set name="subscript.properties">
703 <xsl:attribute name="font-size">75%</xsl:attribute>
704</xsl:attribute-set>
705<xsl:attribute-set name="superscript.properties">
706 <xsl:attribute name="font-size">75%</xsl:attribute>
707</xsl:attribute-set>
708<xsl:param name="symbol.font.family" select="'Symbol,ZapfDingbats'"/>
709
710<xsl:param name="table.cell.border.color" select="'black'"/>
711<xsl:param name="table.cell.border.style" select="'solid'"/>
712<xsl:param name="table.cell.border.thickness" select="'0.5pt'"/>
713<xsl:attribute-set name="table.cell.padding">
714 <xsl:attribute name="padding-left">2pt</xsl:attribute>
715 <xsl:attribute name="padding-right">2pt</xsl:attribute>
716 <xsl:attribute name="padding-top">2pt</xsl:attribute>
717 <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
718</xsl:attribute-set>
719<xsl:param name="table.footnote.number.format" select="'a'"/>
720<xsl:param name="table.footnote.number.symbols" select="''"/>
721
722<xsl:param name="table.frame.border.color" select="'black'"/>
723<xsl:param name="table.frame.border.style" select="'solid'"/>
724<xsl:param name="table.frame.border.thickness" select="'0.5pt'"/>
725<xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties"/>
726<xsl:param name="tablecolumns.extension" select="'1'"/>
727<xsl:attribute-set name="table.table.properties">
728 <xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute>
729 <xsl:attribute name="border-collapse">collapse</xsl:attribute>
730</xsl:attribute-set>
731<xsl:param name="target.database.document" select="''"/>
732<xsl:param name="targets.filename" select="'target.db'"/>
733<xsl:param name="textdata.default.encoding" select="''"/>
734<xsl:param name="tex.math.delims" select="'1'"/>
735<xsl:param name="tex.math.in.alt" select="''"/>
736<xsl:param name="textinsert.extension" select="'1'"/>
737<xsl:param name="title.font.family" select="'sans-serif'"/>
738<xsl:param name="title.margin.left">
739 <xsl:choose>
740 <xsl:when test="$fop.extensions != 0">-4pc</xsl:when>
741 <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
742 <xsl:otherwise>0pt</xsl:otherwise>
743 </xsl:choose>
744</xsl:param>
745<xsl:param name="toc.indent.width" select="24"/>
746<xsl:attribute-set name="toc.margin.properties">
747 <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
748 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
749 <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
750 <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
751 <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
752 <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
753</xsl:attribute-set>
754<xsl:param name="toc.max.depth">8</xsl:param>
755<xsl:param name="toc.section.depth">2</xsl:param>
756<xsl:param name="ulink.footnotes" select="0"/>
757<xsl:param name="ulink.hyphenate" select="''"/>
758<xsl:param name="ulink.show" select="1"/>
759<xsl:param name="use.extensions" select="'0'"/>
760<xsl:param name="use.local.olink.style" select="0"/>
761<xsl:param name="use.role.as.xrefstyle" select="1"/>
762<xsl:param name="use.role.for.mediaobject" select="1"/>
763<xsl:param name="use.svg" select="1"/>
764<xsl:param name="variablelist.as.blocks" select="0"/>
765<xsl:param name="variablelist.max.termlength">24</xsl:param>
766<xsl:attribute-set name="verbatim.properties">
767 <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
768 <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
769 <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
770 <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
771 <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
772 <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
773 <xsl:attribute name="hyphenate">false</xsl:attribute>
774</xsl:attribute-set>
775<xsl:param name="xep.extensions" select="0"/>
776<xsl:attribute-set name="xep.index.item.properties">
777 <xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute>
778 <xsl:attribute name="link-back">true</xsl:attribute>
779</xsl:attribute-set>
780<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param>
781<xsl:param name="xref.label-title.separator">: </xsl:param>
782<xsl:attribute-set name="xref.properties">
783</xsl:attribute-set>
784<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param>
785<xsl:param name="xref.with.number.and.title" select="1"/>
786
787</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.