Statistics
| Revision:

root / tmp / org.txm.core / res / org / txm / xml / xsl / tei / fo2 / tei-param.xsl @ 187

History | View | Annotate | Download (30.3 kB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<xsl:stylesheet 
3
                xmlns="http://www.w3.org/1999/XSL/Format"
4
                xmlns:tei="http://www.tei-c.org/ns/1.0"
5
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6
                exclude-result-prefixes="tei"
7
                version="2.0">
8
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" scope="stylesheet" type="stylesheet">
9
      <desc>
10
         <p>
11
    TEI stylesheet
12
    customization module for 
13
      fo output.</p>
14
         <p>This software is dual-licensed:
15

    
16
1. Distributed under a Creative Commons Attribution-ShareAlike 3.0
17
Unported License http://creativecommons.org/licenses/by-sa/3.0/ 
18

    
19
2. http://www.opensource.org/licenses/BSD-2-Clause
20
		
21
All rights reserved.
22

    
23
Redistribution and use in source and binary forms, with or without
24
modification, are permitted provided that the following conditions are
25
met:
26

    
27
* Redistributions of source code must retain the above copyright
28
notice, this list of conditions and the following disclaimer.
29

    
30
* Redistributions in binary form must reproduce the above copyright
31
notice, this list of conditions and the following disclaimer in the
32
documentation and/or other materials provided with the distribution.
33

    
34
This software is provided by the copyright holders and contributors
35
"as is" and any express or implied warranties, including, but not
36
limited to, the implied warranties of merchantability and fitness for
37
a particular purpose are disclaimed. In no event shall the copyright
38
holder or contributors be liable for any direct, indirect, incidental,
39
special, exemplary, or consequential damages (including, but not
40
limited to, procurement of substitute goods or services; loss of use,
41
data, or profits; or business interruption) however caused and on any
42
theory of liability, whether in contract, strict liability, or tort
43
(including negligence or otherwise) arising in any way out of the use
44
of this software, even if advised of the possibility of such damage.
45
</p>
46
         <p>Author: See AUTHORS</p>
47
         <p>Id: $Id: tei-param.xsl 9646 2011-11-05 23:39:08Z rahtz $</p>
48
         <p>Copyright: 2011, TEI Consortium</p>
49
      </desc>
50
   </doc>
51
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="figures" type="string">
52
      <desc>
53
How to scale figures if no width and height specified (pass to XSL FO content-width)
54
</desc>
55
   </doc>
56
  <xsl:param name="autoScaleFigures"/>
57
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="figures" type="boolean">
58
      <desc>
59
Put captions on inline figures
60
</desc>
61
   </doc>
62
  <xsl:param name="captionInlineFigures">false</xsl:param>
63
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="figures">
64
      <desc>[fo] Set attributes for display of figures</desc>
65
   </doc>
66
  <xsl:template name="figureCaptionstyle">
67
      <xsl:attribute name="text-align">center</xsl:attribute>
68
      <xsl:attribute name="font-style">italic</xsl:attribute>
69
      <xsl:attribute name="end-indent">
70
         <xsl:value-of select="$exampleMargin"/>
71
      </xsl:attribute>
72
      <xsl:attribute name="start-indent">
73
         <xsl:value-of select="$exampleMargin"/>
74
      </xsl:attribute>
75
  </xsl:template>
76
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="figures" type="boolean">
77
      <desc>
78
Show the contents of &lt;head&gt; in a cross-reference to table or figure
79
</desc>
80
   </doc>
81
  <xsl:param name="showFloatHead">false</xsl:param>
82
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="figures" type="boolean">
83
      <desc>
84
Show a title for figures or tables (eg Table or Figure) in a cross-reference
85
</desc>
86
   </doc>
87
  <xsl:param name="showFloatLabel">false</xsl:param>
88
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="figures" type="boolean">
89
      <desc>
90
Show the page number in a cross-reference to table or figure
91
</desc>
92
   </doc>
93
  <xsl:param name="xrefShowPage">false</xsl:param>
94
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="hook">
95
      <desc>[fo] Hook where extra material can be inserted after the
96
    &lt;body&gt; has been processed</desc>
97
   </doc>
98
  <xsl:template name="afterBodyHook"/>
99
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="hook">
100
      <desc>[fo] Hook where work can be done at the start of each block</desc>
101
   </doc>
102
  <xsl:template name="blockStartHook"/>
103
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="hook">
104
      <desc>[fo] Hook where extra page masters can be defined</desc>
105
   </doc>
106
  <xsl:template name="pageMasterHook"/>
107
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="boolean">
108
      <desc>
109
Put back matter in multiple columns
110
</desc>
111
   </doc>
112
  <xsl:param name="backMulticolumns">false</xsl:param>
113
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
114
      <desc>
115
Margin at bottom of text body
116
</desc>
117
   </doc>
118
  <xsl:param name="bodyMarginBottom">24pt</xsl:param>
119
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
120
      <desc>
121
Margin at top of text body
122
</desc>
123
   </doc>
124
  <xsl:param name="bodyMarginTop">24pt</xsl:param>
125
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="boolean">
126
      <desc>
127
Put body matter in multiple columns
128
</desc>
129
   </doc>
130
  <xsl:param name="bodyMulticolumns">false</xsl:param>
131
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
132
      <desc>
133
Symbol for 4th level itemized list
134
</desc>
135
   </doc>
136
  <xsl:param name="bulletFour">+</xsl:param>
137
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
138
      <desc>
139
Symbol for top-level itemized list
140
</desc>
141
   </doc>
142
  <xsl:param name="bulletOne">•</xsl:param>
143
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
144
      <desc>
145
Symbol for 3rd level itemized list
146
</desc>
147
   </doc>
148
  <xsl:param name="bulletThree">*</xsl:param>
149
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
150
      <desc>
151
Symbol for 2nd level itemized list
152
</desc>
153
   </doc>
154
  <xsl:param name="bulletTwo">–</xsl:param>
155
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="integer">
156
      <desc>
157
Number of columns, when multiple-column work is requested
158
</desc>
159
   </doc>
160
  <xsl:param name="columnCount">1</xsl:param>
161
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
162
      <desc>
163
XSL FO "provisional-distance-between starts"
164
</desc>
165
   </doc>
166
  <xsl:param name="betweenStarts">18pt</xsl:param>
167
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
168
      <desc>
169
XSL FO "provisional-distance-between starts" for gloss lists
170
</desc>
171
   </doc>
172
  <xsl:param name="betweenGlossStarts">42pt</xsl:param>
173
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
174
      <desc>
175
XSL FO "provisional-distance-between starts" for bibliographies
176
</desc>
177
   </doc>
178
  <xsl:param name="betweenBiblStarts">14pt</xsl:param>
179
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="boolean">
180
      <desc>
181
Display section headings in running heads
182
</desc>
183
   </doc>
184
  <xsl:param name="divRunningheads">false</xsl:param>
185
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
186
      <desc>
187
Space below examples
188
</desc>
189
   </doc>
190
  <xsl:param name="exampleAfter">4pt</xsl:param>
191
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
192
      <desc>
193
Space above examples
194
</desc>
195
   </doc>
196
  <xsl:param name="exampleBefore">4pt</xsl:param>
197
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
198
      <desc>
199
Left margin for examples
200
</desc>
201
   </doc>
202
  <xsl:param name="exampleMargin">12pt</xsl:param>
203
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
204
      <desc>
205
Left margin of flow
206
</desc>
207
   </doc>
208
  <xsl:param name="flowMarginLeft"/>
209
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
210
      <desc>
211
Which named page master name to use
212
</desc>
213
   </doc>
214
  <xsl:param name="forcePageMaster"/>
215
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
216
      <desc>
217
How to format page numbers in back matter (use XSLT number format)
218
</desc>
219
   </doc>
220
  <xsl:param name="formatBackpage">1</xsl:param>
221
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
222
      <desc>
223
How to format page numbers in main matter (use XSLT number format)
224
</desc>
225
   </doc>
226
  <xsl:param name="formatBodypage">1</xsl:param>
227
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
228
      <desc>
229
How to format page numbers in front matter (use XSLT number format)
230
</desc>
231
   </doc>
232
  <xsl:param name="formatFrontpage">i</xsl:param>
233
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="boolean">
234
      <desc>
235
Put front matter in multiple columns
236
</desc>
237
   </doc>
238
  <xsl:param name="frontMulticolumns">false</xsl:param>
239
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
240
      <desc>
241
XSL FO "provisional-label-separation"
242
</desc>
243
   </doc>
244
  <xsl:param name="labelSeparation">6pt</xsl:param>
245
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
246
      <desc>
247
Space above lists at top level
248
</desc>
249
   </doc>
250
  <xsl:param name="listAbove-1">6pt</xsl:param>
251
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
252
      <desc>
253
Space above lists at 2nd level
254
</desc>
255
   </doc>
256
  <xsl:param name="listAbove-2">4pt</xsl:param>
257
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
258
      <desc>
259
Space above lists at 3rd level
260
</desc>
261
   </doc>
262
  <xsl:param name="listAbove-3">0pt</xsl:param>
263
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
264
      <desc>
265
Space above lists at 4th level
266
</desc>
267
   </doc>
268
  <xsl:param name="listAbove-4">0pt</xsl:param>
269
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
270
      <desc>
271
Space below lists at top level
272
</desc>
273
   </doc>
274
  <xsl:param name="listBelow-1">6pt</xsl:param>
275
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
276
      <desc>
277
Space below lists at 2nd level
278
</desc>
279
   </doc>
280
  <xsl:param name="listBelow-2">4pt</xsl:param>
281
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
282
      <desc>
283
Space below lists at 3rd level
284
</desc>
285
   </doc>
286
  <xsl:param name="listBelow-3">0pt</xsl:param>
287
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
288
      <desc>
289
Space below lists at 4th level
290
</desc>
291
   </doc>
292
  <xsl:param name="listBelow-4">0pt</xsl:param>
293
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
294
      <desc>
295
Spacing between list items
296
</desc>
297
   </doc>
298
  <xsl:param name="listItemsep">4pt</xsl:param>
299
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
300
      <desc>
301
Left margin for gloss lists
302
</desc>
303
   </doc>
304
  <xsl:param name="listLeftGlossIndent">0.5in</xsl:param>
305
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
306
      <desc>
307
Left margin for nested gloss lists
308
</desc>
309
   </doc>
310
  <xsl:param name="listLeftGlossInnerIndent">0.25in</xsl:param>
311
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
312
      <desc>
313
Indentation for lists
314
</desc>
315
   </doc>
316
  <xsl:param name="listLeftIndent">0pt</xsl:param>
317
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
318
      <desc>
319
Right margin for lists
320
</desc>
321
   </doc>
322
  <xsl:param name="listRightMargin">10pt</xsl:param>
323
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
324
      <desc>
325
Paper height
326
</desc>
327
   </doc>
328
  <xsl:param name="pageHeight">297mm</xsl:param>
329
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
330
      <desc>
331
Margin at bottom of text area
332
</desc>
333
   </doc>
334
  <xsl:param name="pageMarginBottom">100pt</xsl:param>
335
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
336
      <desc>
337
Left margin
338
</desc>
339
   </doc>
340
  <xsl:param name="pageMarginLeft">80pt</xsl:param>
341
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
342
      <desc>
343
Right margin
344
</desc>
345
   </doc>
346
  <xsl:param name="pageMarginRight">150pt</xsl:param>
347
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
348
      <desc>
349
Margin at top of text area
350
</desc>
351
   </doc>
352
  <xsl:param name="pageMarginTop">75pt</xsl:param>
353
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
354
      <desc>
355
Paper width
356
</desc>
357
   </doc>
358
  <xsl:param name="pageWidth">211mm</xsl:param>
359
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
360
      <desc>
361
Maximum space allowed between paragraphs
362
</desc>
363
   </doc>
364
  <xsl:param name="parSkipmax">12pt</xsl:param>
365
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="anyURI">
366
      <desc>
367
External XML file containing specifications for column sizes for
368
tables in document
369
</desc>
370
   </doc>
371
  <xsl:param name="readColSpecFile"/>
372
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
373
      <desc>
374
Region after
375
</desc>
376
   </doc>
377
  <xsl:param name="regionAfterExtent">14pt</xsl:param>
378
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
379
      <desc>
380
Region before
381
</desc>
382
   </doc>
383
  <xsl:param name="regionBeforeExtent">14pt</xsl:param>
384
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="boolean">
385
      <desc>
386
Construct running headers from page number and section headings
387
</desc>
388
   </doc>
389
  <xsl:param name="sectionHeaders">true</xsl:param>
390
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
391
      <desc>
392
Space after bibliography
393
</desc>
394
   </doc>
395
  <xsl:param name="spaceAfterBibl">0pt</xsl:param>
396
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
397
      <desc>
398
Space above and below a table
399
</desc>
400
   </doc>
401
  <xsl:param name="spaceAroundTable">8pt</xsl:param>
402
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
403
      <desc>
404
Space above bibliography
405
</desc>
406
   </doc>
407
  <xsl:param name="spaceBeforeBibl">4pt</xsl:param>
408
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="string">
409
      <desc>
410
Space below caption of figure or table
411
</desc>
412
   </doc>
413
  <xsl:param name="spaceBelowCaption">4pt</xsl:param>
414
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="boolean">
415
      <desc>
416
Make title page
417
</desc>
418
   </doc>
419
  <xsl:param name="titlePage">true</xsl:param>
420
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="layout" type="boolean">
421
      <desc>
422
Make 2-page spreads
423
</desc>
424
   </doc>
425
  <xsl:param name="twoSided">true</xsl:param>
426
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="output" type="string">
427
      <desc>
428
Language (for hyphenation)
429
</desc>
430
   </doc>
431
  <xsl:param name="language">en_US</xsl:param>
432
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="output" type="string">
433
      <desc>
434
         <p>Name of intended XSL FO engine</p>
435
         <p>This is used to tailor the result for different XSL FO processors.
436
By default, no special measures are taken, so
437
there are no bookmarks or other such features. Possible values are
438
<ul xmlns="http://www.w3.org/1999/XSL/Format">
439
               <li>passivetex (the TeX-based PassiveTeX processor</li>
440
               <li>xep   (XEP)</li>
441
               <li>fop (FOP)</li>
442
               <li>antenna  (Antenna House)</li>
443
            </ul>
444
         </p>
445
      </desc>
446
   </doc>
447
  <xsl:param name="foEngine"/>
448
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="boolean">
449
      <desc>
450
Make &lt;lb&gt; active (ie cause a line break)
451
</desc>
452
   </doc>
453
  <xsl:param name="activeLinebreaks">true</xsl:param>
454
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
455
      <desc>
456
Alignment of text (ie justified or ragged)
457
</desc>
458
   </doc>
459
  <xsl:param name="alignment">justify</xsl:param>
460
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
461
      <desc>
462
Font size for display of author name 
463
</desc>
464
   </doc>
465
  <xsl:param name="authorSize">14pt</xsl:param>
466
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
467
      <desc>
468
Font size for bibliography
469
</desc>
470
   </doc>
471
  <xsl:param name="biblSize">16pt</xsl:param>
472
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
473
      <desc>
474
Default font for body
475
</desc>
476
   </doc>
477
  <xsl:param name="bodyFont">Times</xsl:param>
478
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
479
      <desc>
480
Default font size for body (without dimension)
481
</desc>
482
   </doc>
483
  <xsl:param name="bodyMaster">10</xsl:param>
484
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
485
      <desc>
486
Calculation of normal body font size (add dimension)
487
</desc>
488
   </doc>
489
  <xsl:param name="bodySize">
490
      <xsl:value-of select="$bodyMaster"/>
491
      <xsl:text>pt</xsl:text>
492
  </xsl:param>
493
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
494
      <desc>
495
Font size for display of date
496
</desc>
497
   </doc>
498
  <xsl:param name="dateSize">14pt</xsl:param>
499
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
500
      <desc>
501
Font for section headings
502
</desc>
503
   </doc>
504
  <xsl:param name="divFont">Times</xsl:param>
505
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
506
      <desc>[fo] How to display section headings in a cross-reference <param name="head">section title</param>
507
      </desc>
508
   </doc>
509
  <xsl:template name="divXRefHeading">
510
      <xsl:param name="head">
511
         <xsl:apply-templates mode="section" select="tei:head"/>
512
      </xsl:param>
513
      <xsl:text> (</xsl:text>
514
      <xsl:value-of select="normalize-space($head)"/>
515
      <xsl:text>)</xsl:text>
516
  </xsl:template>
517
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
518
      <desc>
519
Colour for display of &lt;eg&gt; blocks.
520
</desc>
521
   </doc>
522
  <xsl:param name="exampleColor">black</xsl:param>
523
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
524
      <desc>
525
Colour for background display of &lt;eg&gt; blocks.
526
</desc>
527
   </doc>
528
  <xsl:param name="exampleBackgroundColor">gray</xsl:param>
529
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
530
      <desc>
531
Calculation of font size for examples (add dimension)
532
</desc>
533
   </doc>
534
  <xsl:param name="exampleSize">
535
      <xsl:value-of select="$bodyMaster * 0.6"/>
536
      <xsl:text>pt</xsl:text>
537
  </xsl:param>
538
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
539
      <desc>
540
Calculation of font size for quotations
541
</desc>
542
   </doc>
543
  <xsl:param name="quoteSize">
544
      <xsl:value-of select="$bodyMaster * 0.9"/>
545
      <xsl:text>pt</xsl:text>
546
  </xsl:param>
547
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
548
      <desc>
549
Font size for footnotes
550
</desc>
551
   </doc>
552
  <xsl:param name="footnoteSize">
553
      <xsl:value-of select="$bodyMaster * 0.8"/>
554
  </xsl:param>
555
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
556
      <desc>
557
Font size for footnote numbers
558
</desc>
559
   </doc>
560
  <xsl:param name="footnotenumSize">
561
    <xsl:value-of select="$bodyMaster * 0.7"/>
562
  </xsl:param>
563
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
564
      <desc>
565
Colour for display of element names
566
</desc>
567
   </doc>
568
  <xsl:param name="giColor">black</xsl:param>
569
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
570
      <desc>
571
Indentation of headings
572
</desc>
573
   </doc>
574
  <xsl:param name="headingOutdent">0em</xsl:param>
575
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="boolean">
576
      <desc>
577
Hyphenate text
578
</desc>
579
   </doc>
580
  <xsl:param name="hyphenate">true</xsl:param>
581
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
582
      <desc>
583
Colour for display of &lt;ident&gt; values
584
    Customization parameter.
585
</desc>
586
   </doc>
587
  <xsl:param name="identColor">black</xsl:param>
588
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
589
      <desc>[fo] Set attributes for display of links</desc>
590
   </doc>
591
  <xsl:template name="linkStyle">
592
      <xsl:attribute name="text-decoration">underline</xsl:attribute>
593
  </xsl:template>
594
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
595
      <desc>
596
Font family for running header and footer
597
</desc>
598
   </doc>
599
  <xsl:param name="runFont">sans-serif</xsl:param>
600
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
601
      <desc>
602
Font size for running header and footer
603
</desc>
604
   </doc>
605
  <xsl:param name="runSize">9pt</xsl:param>
606
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
607
      <desc>
608
Sans-serif font
609
</desc>
610
   </doc>
611
  <xsl:param name="sansFont">Helvetica</xsl:param>
612
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
613
      <desc>[fo] Set attributes for display of heading for chapters (level 0)</desc>
614
   </doc>
615
  <xsl:template name="setupDiv0">
616
      <xsl:attribute name="font-size">18pt</xsl:attribute>
617
      <xsl:attribute name="text-align">left</xsl:attribute>
618
      <xsl:attribute name="font-weight">bold</xsl:attribute>
619
      <xsl:attribute name="space-after">6pt</xsl:attribute>
620
      <xsl:attribute name="space-before.optimum">12pt</xsl:attribute>
621
      <xsl:attribute name="text-indent">
622
         <xsl:value-of select="$headingOutdent"/>
623
      </xsl:attribute>
624
  </xsl:template>
625
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
626
      <desc>[fo] Set attributes for display of heading for 1st level sections</desc>
627
   </doc>
628
  <xsl:template name="setupDiv1">
629
      <xsl:attribute name="font-size">14pt</xsl:attribute>
630
      <xsl:attribute name="text-align">left</xsl:attribute>
631
      <xsl:attribute name="font-weight">bold</xsl:attribute>
632
      <xsl:attribute name="space-after">3pt</xsl:attribute>
633
      <xsl:attribute name="space-before.optimum">9pt</xsl:attribute>
634
      <xsl:attribute name="text-indent">
635
         <xsl:value-of select="$headingOutdent"/>
636
      </xsl:attribute>
637
  </xsl:template>
638
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
639
      <desc>[fo] Set attributes for display of heading for 2nd level sections </desc>
640
   </doc>
641
  <xsl:template name="setupDiv2">
642
      <xsl:attribute name="font-size">12pt</xsl:attribute>
643
      <xsl:attribute name="text-align">left</xsl:attribute>
644
      <xsl:attribute name="font-weight">bold</xsl:attribute>
645
      <xsl:attribute name="font-style">italic</xsl:attribute>
646
      <xsl:attribute name="space-after">2pt</xsl:attribute>
647
      <xsl:attribute name="space-before.optimum">4pt</xsl:attribute>
648
      <xsl:attribute name="text-indent">
649
         <xsl:value-of select="$headingOutdent"/>
650
      </xsl:attribute>
651
  </xsl:template>
652
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
653
      <desc>[fo]Set attributes for display of heading for 3rd level sections </desc>
654
   </doc>
655
  <xsl:template name="setupDiv3">
656
      <xsl:attribute name="font-size">10pt</xsl:attribute>
657
      <xsl:attribute name="text-align">left</xsl:attribute>
658
      <xsl:attribute name="font-style">italic</xsl:attribute>
659
      <xsl:attribute name="space-after">0pt</xsl:attribute>
660
      <xsl:attribute name="space-before.optimum">4pt</xsl:attribute>
661
      <xsl:attribute name="text-indent">
662
         <xsl:value-of select="$headingOutdent"/>
663
      </xsl:attribute>
664
  </xsl:template>
665
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
666
      <desc>[fo] Set attributes for display of heading for 4th level sections </desc>
667
   </doc>
668
  <xsl:template name="setupDiv4">
669
      <xsl:attribute name="font-size">10pt</xsl:attribute>
670
      <xsl:attribute name="text-align">left</xsl:attribute>
671
      <xsl:attribute name="font-style">italic</xsl:attribute>
672
      <xsl:attribute name="space-after">0pt</xsl:attribute>
673
      <xsl:attribute name="space-before.optimum">4pt</xsl:attribute>
674
      <xsl:attribute name="text-indent">
675
         <xsl:value-of select="$headingOutdent"/>
676
      </xsl:attribute>
677
  </xsl:template>
678
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
679
      <desc>[fo] Set attributes for display of heading for 5th level sections </desc>
680
   </doc>
681
  <xsl:template name="setupDiv5">
682
      <xsl:attribute name="font-size">10pt</xsl:attribute>
683
      <xsl:attribute name="text-align">left</xsl:attribute>
684
      <xsl:attribute name="font-style">italic</xsl:attribute>
685
      <xsl:attribute name="space-after">0pt</xsl:attribute>
686
      <xsl:attribute name="space-before.optimum">4pt</xsl:attribute>
687
      <xsl:attribute name="text-indent">
688
         <xsl:value-of select="$headingOutdent"/>
689
      </xsl:attribute>
690
  </xsl:template>
691
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
692
      <desc>[fo] Set attributes for display of heading for 6th level sections </desc>
693
   </doc>
694
  <xsl:template name="setupDiv6">
695
      <xsl:attribute name="font-size">10pt</xsl:attribute>
696
      <xsl:attribute name="text-align">left</xsl:attribute>
697
      <xsl:attribute name="font-style">italic</xsl:attribute>
698
      <xsl:attribute name="space-after">0pt</xsl:attribute>
699
      <xsl:attribute name="space-before.optimum">4pt</xsl:attribute>
700
      <xsl:attribute name="text-indent">
701
         <xsl:value-of select="$headingOutdent"/>
702
      </xsl:attribute>
703
  </xsl:template>
704
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style">
705
      <desc>[fo] How to display the link text of a &lt;ptr&gt;<param name="dest">the URL being linked to</param>
706
      </desc>
707
   </doc>
708
  <xsl:template name="showXrefURL">
709
      <xsl:param name="dest"/>
710
      <xsl:value-of select="$dest"/>
711
  </xsl:template>
712
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
713
      <desc>
714
Calculation of small font size (add dimension)
715
</desc>
716
   </doc>
717
  <xsl:param name="smallSize">
718
      <xsl:value-of select="$bodyMaster * 0.9"/>
719
      <xsl:text>pt</xsl:text>
720
  </xsl:param>
721
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
722
      <desc>
723
Create font size for tables, by reference to $bodyMaster
724
</desc>
725
   </doc>
726
  <xsl:param name="tableSize">
727
      <xsl:value-of select="$bodyMaster * 0.9"/>
728
      <xsl:text>pt</xsl:text>
729
  </xsl:param>
730
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
731
      <desc>
732
Font size for display of title
733
</desc>
734
   </doc>
735
  <xsl:param name="titleSize">16pt</xsl:param>
736
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
737
      <desc>
738
Font size for TOC heading
739
</desc>
740
   </doc>
741
  <xsl:param name="tocSize">16pt</xsl:param>
742
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="style" type="string">
743
      <desc>
744
Font for literal code
745
</desc>
746
   </doc>
747
  <xsl:param name="typewriterFont">Courier</xsl:param>
748
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="tables" type="string">
749
      <desc>
750
Default colour for background of table cells which are labelling rows
751
or columns</desc>
752
   </doc>
753
  <xsl:param name="defaultCellLabelBackground">silver</xsl:param>
754
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="tables" type="boolean">
755
      <desc>
756
Force tables to appear inline
757
</desc>
758
   </doc>
759
  <xsl:param name="inlineTables">false</xsl:param>
760
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="tables" type="boolean">
761
      <desc>
762
Put a caption on tables  
763
</desc>
764
   </doc>
765
  <xsl:param name="makeTableCaption">true</xsl:param>
766
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="tables" type="string">
767
      <desc>
768
Alignment of table captions
769
</desc>
770
   </doc>
771
  <xsl:param name="tableCaptionAlign">center</xsl:param>
772
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="tables">
773
      <desc>[fo] Set attributes for display of table </desc>
774
   </doc>
775
  <xsl:template name="tableCaptionstyle">
776
      <xsl:attribute name="text-align">center</xsl:attribute>
777
      <xsl:attribute name="font-style">italic</xsl:attribute>
778
      <xsl:attribute name="end-indent">
779
         <xsl:value-of select="$exampleMargin"/>
780
      </xsl:attribute>
781
      <xsl:attribute name="start-indent">
782
         <xsl:value-of select="$exampleMargin"/>
783
      </xsl:attribute>
784
      <xsl:attribute name="space-before">
785
         <xsl:value-of select="$spaceAroundTable"/>
786
      </xsl:attribute>
787
      <xsl:attribute name="space-after">
788
         <xsl:value-of select="$spaceBelowCaption"/>
789
      </xsl:attribute>
790
      <xsl:attribute name="keep-with-next">always</xsl:attribute>
791
  </xsl:template>
792
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="tables" type="string">
793
      <desc>
794
Default padding on table cells
795
</desc>
796
   </doc>
797
  <xsl:param name="tableCellPadding">2pt</xsl:param>
798
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="string">
799
      <desc>
800
Indentation for level 0 TOC entries
801
</desc>
802
   </doc>
803
  <xsl:param name="div0Tocindent">0in</xsl:param>
804
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="string">
805
      <desc>
806
Indentation for level 1 TOC entries
807
</desc>
808
   </doc>
809
  <xsl:param name="div1Tocindent">0.25in</xsl:param>
810
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="string">
811
      <desc>
812
Indentation for level 2 TOC entries
813
</desc>
814
   </doc>
815
  <xsl:param name="div2Tocindent">0.5in</xsl:param>
816
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="string">
817
      <desc>
818
Indentation for level 3 TOC entries
819
</desc>
820
   </doc>
821
  <xsl:param name="div3Tocindent">0.75in</xsl:param>
822
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="string">
823
      <desc>
824
Indentation for level 4 TOC entries
825
</desc>
826
   </doc>
827
  <xsl:param name="div4Tocindent">1in</xsl:param>
828
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="string">
829
      <desc>
830
    Indentation for level 5 TOC entries
831
  </desc>
832
   </doc>
833
  <xsl:param name="div5Tocindent">1.25in</xsl:param>
834
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="boolean">
835
      <desc>
836
Make TOC for sections in &lt;back&gt;
837
</desc>
838
   </doc>
839
  <xsl:param name="tocBack">true</xsl:param>
840
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="boolean">
841
      <desc>
842
Make TOC for sections in &lt;front&gt;
843
</desc>
844
   </doc>
845
  <xsl:param name="tocFront">true</xsl:param>
846
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="string">
847
      <desc>
848
Punctuation to insert after a section number in a TOC
849
</desc>
850
   </doc>
851
  <xsl:param name="tocNumberSuffix">. </xsl:param>
852
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="integer">
853
      <desc>
854
Page number on which TOC should start
855
</desc>
856
   </doc>
857
  <xsl:param name="tocStartPage">1</xsl:param>
858
</xsl:stylesheet>