~qbalazs/installation-guide/lp1030336

« back to all changes in this revision

Viewing changes to build/stylesheets/db2latex/param-direct.mod.xsl

  • Committer: joeyh
  • Date: 2005-10-07 19:51:38 UTC
  • Revision ID: vcs-imports@canonical.com-20051007195138-c3d57b2617a79a4f
move manual to top-level directory, split out of debian-installer package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0'?>
 
2
<!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
 
3
<!--############################################################################
 
4
|       $Id: param-direct.mod.xsl,v 1.9 2004/08/12 05:17:01 j-devenish Exp $
 
5
+ ############################################################################## -->
 
6
 
 
7
<xsl:stylesheet
 
8
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
9
        xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
 
10
        exclude-result-prefixes="doc" version='1.0'>
 
11
 
 
12
        <doc:reference id="param-direct" xmlns="">
 
13
                <referenceinfo>
 
14
                        <releaseinfo role="meta">
 
15
                                $Id: param-direct.mod.xsl,v 1.9 2004/08/12 05:17:01 j-devenish Exp $
 
16
                        </releaseinfo>
 
17
                        <authorgroup>
 
18
                                &ramon;
 
19
                                &james;
 
20
                        </authorgroup>
 
21
                        <copyright>
 
22
                                <year>2000</year><year>2001</year><year>2002</year><year>2003</year><year>2004</year>
 
23
                                <holder>Ramon Casellas</holder>
 
24
                        </copyright>
 
25
                        <revhistory>
 
26
                                <doc:revision rcasver="1.1">&rev_2003_05;</doc:revision>
 
27
                        </revhistory>
 
28
                </referenceinfo>
 
29
                <title>Parameters: &LaTeX;-direct Strings <filename>param-direct.mod.xsl</filename></title>
 
30
                <partintro>
 
31
                        <para>
 
32
                        
 
33
                        The values of the parameters in this file will be passed
 
34
                        directly to &LaTeX;.
 
35
                        All parameter names begin with <quote>latex.</quote>.
 
36
                        
 
37
                        </para>
 
38
                </partintro>
 
39
        </doc:reference>
 
40
 
 
41
        <doc:param xmlns="">
 
42
                <refpurpose> DB2LaTeX document class </refpurpose>
 
43
                <doc:description>
 
44
                        <para>
 
45
                        This variable is normally empty and the stylesheets will determine
 
46
                        the correct document class according to whether the document is a
 
47
                        book or an article. If you wish to use your own document class,
 
48
                        put its non-empty value in this variable. It will apply for both
 
49
                        books and articles.
 
50
                        </para>
 
51
                </doc:description>
 
52
        </doc:param>
 
53
        <xsl:param name="latex.documentclass"></xsl:param>
 
54
 
 
55
        <doc:param xmlns="">
 
56
                <refpurpose> The <literal>\maketitle</literal> for books and articles. </refpurpose>
 
57
                <doc:description>
 
58
                        <para>Some users may wish to override or eliminate <literal>\maketitle</literal>.</para>
 
59
                        <note><para>Does not apply to <sgmltag class="element">article</sgmltag>s within <sgmltag class="element">book</sgmltag>s.</para></note>
 
60
                        <para>By default, uses LaTeX <literal>\maketitle</literal> with the 'empty' pagestyle
 
61
                        for the first page. The page style of subsequent pages is determined by
 
62
                        <xref linkend="template.generate.latex.pagestyle"/>.</para>
 
63
                </doc:description>
 
64
        </doc:param>
 
65
        <xsl:param name="latex.maketitle">
 
66
                <xsl:text>{\maketitle</xsl:text>
 
67
                <xsl:call-template name="generate.latex.pagestyle"/>
 
68
                <xsl:text>\thispagestyle{empty}}&#10;</xsl:text>
 
69
        </xsl:param>
 
70
 
 
71
        <doc:param xmlns="">
 
72
                <refpurpose> Undocumented </refpurpose>
 
73
                <doc:description>
 
74
                        <para> Undocumented. </para>
 
75
                </doc:description>
 
76
        </doc:param>
 
77
        <xsl:param name="latex.article.preamble.pre">
 
78
        </xsl:param>
 
79
 
 
80
        <doc:param xmlns="">
 
81
                <refpurpose> Undocumented </refpurpose>
 
82
                <doc:description>
 
83
                        <para> Undocumented. </para>
 
84
                </doc:description>
 
85
        </doc:param>
 
86
        <xsl:param name="latex.article.preamble.post">
 
87
        </xsl:param>
 
88
 
 
89
        <doc:param xmlns="">
 
90
                <refpurpose> Controls what is output after the LaTeX preamble. </refpurpose>
 
91
                <doc:description>
 
92
                        <para>Default values decrease edge margins and allow a large quantity of figures to be set on each page. </para>
 
93
                </doc:description>
 
94
        </doc:param>
 
95
        <xsl:param name="latex.article.varsets">
 
96
                <xsl:text><![CDATA[
 
97
\usepackage{anysize}
 
98
\marginsize{2cm}{2cm}{2cm}{2cm}
 
99
\renewcommand\floatpagefraction{.9}
 
100
\renewcommand\topfraction{.9}
 
101
\renewcommand\bottomfraction{.9}
 
102
\renewcommand\textfraction{.1}
 
103
]]>
 
104
                </xsl:text>
 
105
        </xsl:param>
 
106
 
 
107
        <doc:param xmlns="">
 
108
                <refpurpose> Undocumented </refpurpose>
 
109
                <doc:description>
 
110
                        <para> Undocumented. </para>
 
111
                </doc:description>
 
112
        </doc:param>
 
113
        <xsl:param name="latex.book.preamble.pre">
 
114
        </xsl:param>
 
115
 
 
116
        <doc:param xmlns="">
 
117
                <refpurpose> Undocumented </refpurpose>
 
118
                <doc:description>
 
119
                        <para> Undocumented. </para>
 
120
                </doc:description>
 
121
        </doc:param>
 
122
        <xsl:param name="latex.book.preamble.post">
 
123
        </xsl:param>
 
124
 
 
125
        <doc:param xmlns="">
 
126
                <refpurpose>
 
127
                        All purpose commands to change text width, height, counters, etc.
 
128
                        Defaults to a two-sided margin layout.
 
129
                </refpurpose>
 
130
                <doc:description>
 
131
                        <para> Undocumented. </para>
 
132
                </doc:description>
 
133
        </doc:param>
 
134
        <xsl:param name="latex.book.varsets">
 
135
                <xsl:text>\usepackage{anysize}&#10;</xsl:text>
 
136
                <xsl:text>\marginsize{3cm}{2cm}{1.25cm}{1.25cm}&#10;</xsl:text>
 
137
        </xsl:param>
 
138
 
 
139
        <doc:param xmlns="">
 
140
                <refpurpose> 
 
141
                        Begin document command
 
142
                </refpurpose>
 
143
                <doc:description>
 
144
                        <para> Undocumented. </para>
 
145
                </doc:description>
 
146
        </doc:param>
 
147
        <xsl:param name="latex.book.begindocument">
 
148
                <xsl:text>\begin{document}&#10;</xsl:text>
 
149
        </xsl:param>
 
150
 
 
151
        <doc:param xmlns="">
 
152
                <refpurpose>
 
153
                        LaTeX code that is output after the author (e.g. 
 
154
                        <literal>\makeglossary</literal>
 
155
                </refpurpose>
 
156
                <doc:description>
 
157
                        <para> Undocumented. </para>
 
158
                </doc:description>
 
159
        </doc:param>
 
160
        <xsl:param name="latex.book.afterauthor">
 
161
                <xsl:text>% --------------------------------------------&#10;</xsl:text>
 
162
                <xsl:text>\makeglossary&#10;</xsl:text>
 
163
                <xsl:text>% --------------------------------------------&#10;</xsl:text>
 
164
        </xsl:param>
 
165
 
 
166
        <doc:template xmlns="">
 
167
                <refpurpose> Format the output of tabular headings. </refpurpose>
 
168
                <doc:description>
 
169
                        <para> Undocumented. </para>
 
170
                </doc:description>
 
171
        </doc:template>
 
172
 
 
173
        <xsl:template name="latex.thead.row.entry">
 
174
                <xsl:apply-templates/>
 
175
        </xsl:template>
 
176
 
 
177
 
 
178
        <doc:template xmlns="">
 
179
                <refpurpose> Format the output of tabular row entries. </refpurpose>
 
180
                <doc:description>
 
181
                        <para> Undocumented. </para>
 
182
                </doc:description>
 
183
        </doc:template>
 
184
 
 
185
        <xsl:template name="latex.tbody.row.entry">
 
186
                <xsl:apply-templates/>
 
187
        </xsl:template>
 
188
 
 
189
 
 
190
 
 
191
        <doc:template xmlns="">
 
192
                <refpurpose> Format the output of tabular footers. </refpurpose>
 
193
                <doc:description>
 
194
                        <para> Undocumented. </para>
 
195
                </doc:description>
 
196
        </doc:template>
 
197
        
 
198
        <xsl:template name="latex.tfoot.row.entry">
 
199
                <xsl:apply-templates/>
 
200
        </xsl:template>
 
201
 
 
202
        <doc:param xmlns="">
 
203
                <refpurpose> Control the style of inline monospaced text </refpurpose>
 
204
                <doc:description>
 
205
                        <para>This is passed directly to &LaTeX;. Typically,
 
206
                        it is <literal>\frenchspacing\texttt</literal>.</para>
 
207
                </doc:description>
 
208
        </doc:param>
 
209
        <xsl:param name="latex.inline.monoseq.style">\frenchspacing\texttt</xsl:param>
 
210
 
 
211
        <doc:param xmlns="">
 
212
                <refpurpose> Control the style of article titles </refpurpose>
 
213
                <doc:description>
 
214
                        <para>This is passed directly to &LaTeX;. Typically,
 
215
                        it is either a \command or an empty string.</para>
 
216
                </doc:description>
 
217
        </doc:param>
 
218
        <xsl:param name="latex.article.title.style">\textbf</xsl:param>
 
219
 
 
220
        <doc:param xmlns="">
 
221
                <refpurpose> Control the style of article titles within books </refpurpose>
 
222
                <doc:description>
 
223
                        <para>This is passed directly to &LaTeX;. Typically,
 
224
                        it is either a \command or an empty string.</para>
 
225
                </doc:description>
 
226
        </doc:param>
 
227
        <xsl:param name="latex.book.article.title.style">\Large\textbf</xsl:param>
 
228
 
 
229
        <doc:param xmlns="">
 
230
                <refpurpose> Control the style of authors and dates within a book's articles </refpurpose>
 
231
                <doc:description>
 
232
                        <para>This is passed directly to &LaTeX;. Typically,
 
233
                        it is either a \command or an empty string.</para>
 
234
                </doc:description>
 
235
        </doc:param>
 
236
        <xsl:param name="latex.book.article.header.style">\textsf</xsl:param>
 
237
 
 
238
        <doc:param xmlns="">
 
239
                <refpurpose> Control the style of equation captions  </refpurpose>
 
240
                <doc:description>
 
241
                        <para>Figure captions are typeset in the default typeface (usually 'roman') but if
 
242
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
243
                        that command will precede the caption and it will be typeset accordingly.</para>
 
244
                </doc:description>
 
245
        </doc:param>
 
246
        <xsl:param name="latex.equation.caption.style"></xsl:param>
 
247
 
 
248
        <doc:param xmlns="">
 
249
                <refpurpose> Control the style of example captions  </refpurpose>
 
250
                <doc:description>
 
251
                        <para>Figure captions are typeset in the default typeface (usually 'roman') but if
 
252
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
253
                        that command will precede the caption and it will be typeset accordingly.</para>
 
254
                </doc:description>
 
255
        </doc:param>
 
256
        <xsl:param name="latex.example.caption.style"></xsl:param>
 
257
 
 
258
        <doc:param xmlns="">
 
259
                <refpurpose> Control the style of figure captions  </refpurpose>
 
260
                <doc:description>
 
261
                        <para>Figure captions are typeset in the default typeface (usually 'roman') but if
 
262
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
263
                        that command will precede the caption and it will be typeset accordingly.</para>
 
264
                </doc:description>
 
265
        </doc:param>
 
266
        <xsl:param name="latex.figure.caption.style"></xsl:param>
 
267
 
 
268
        <doc:param xmlns="">
 
269
                <refpurpose> Control the style of figure titles  </refpurpose>
 
270
                <doc:description>
 
271
                        <para>Figure titles are typeset in the default typeface (usually 'roman') but if
 
272
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
273
                        that command will precede the title and it will be typeset accordingly.</para>
 
274
                </doc:description>
 
275
        </doc:param>
 
276
        <xsl:param name="latex.figure.title.style"></xsl:param>
 
277
 
 
278
        <doc:param xmlns="">
 
279
                <refpurpose> Control the style of equation captions  </refpurpose>
 
280
                <doc:description>
 
281
                        <para>The titles of <doc:db basename="formalpara">formalparas</doc:db> are typeset in the bold typeface by default.
 
282
                        This parameter can be set to an alternative &latex; command, such as <function condition="latex">textit</function> (or empty).</para>
 
283
                </doc:description>
 
284
        </doc:param>
 
285
        <xsl:param name="latex.formalpara.title.style">\textbf</xsl:param>
 
286
 
 
287
        <doc:param xmlns="">
 
288
                <refpurpose> Control the style of list titles  </refpurpose>
 
289
                <doc:description>
 
290
                        <para>List titles are typeset in small caps but if
 
291
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
292
                        that command will precede the title and it will be typeset accordingly.</para>
 
293
                </doc:description>
 
294
        </doc:param>
 
295
        <xsl:param name="latex.list.title.style">\sc</xsl:param>
 
296
 
 
297
        <doc:param xmlns="">
 
298
                <refpurpose> Control the style of admonition titles  </refpurpose>
 
299
                <doc:description>
 
300
                        <para>Admonition titles are typeset in small bold caps but if
 
301
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
302
                        that command will precede the title and it will be typeset accordingly.</para>
 
303
                </doc:description>
 
304
        </doc:param>
 
305
        <xsl:param name="latex.admonition.title.style">\bfseries \sc\large</xsl:param>
 
306
 
 
307
        <doc:param xmlns="">
 
308
                <refpurpose> Control the style of procedure titles  </refpurpose>
 
309
                <doc:description>
 
310
                        <para>Procedure titles are typeset in small caps but if
 
311
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
312
                        that command will precede the title and it will be typeset accordingly.</para>
 
313
                </doc:description>
 
314
        </doc:param>
 
315
        <xsl:param name="latex.procedure.title.style">\sc</xsl:param>
 
316
 
 
317
        <doc:param xmlns="">
 
318
                <refpurpose> Control the style of segtitles  </refpurpose>
 
319
                <doc:description>
 
320
                        <para>This is passed directly to &LaTeX;. Typically,
 
321
                        it is either a \command or an empty string.</para>
 
322
                </doc:description>
 
323
        </doc:param>
 
324
        <xsl:param name="latex.segtitle.style">\em</xsl:param>
 
325
 
 
326
        <doc:param xmlns="">
 
327
                <refpurpose> Control the style of step titles  </refpurpose>
 
328
                <doc:description>
 
329
                        <para>Step titles are typeset in small caps but if
 
330
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
331
                        that command will precede the title and it will be typeset accordingly.</para>
 
332
                </doc:description>
 
333
        </doc:param>
 
334
        <xsl:param name="latex.step.title.style">\bf</xsl:param>
 
335
 
 
336
        <doc:param xmlns="">
 
337
                <refpurpose> Control the style of table captions  </refpurpose>
 
338
                <doc:description>
 
339
                        <para>Figure captions are typeset in the default typeface (usually 'roman') but if
 
340
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
341
                        that command will precede the caption and it will be typeset accordingly.</para>
 
342
                </doc:description>
 
343
        </doc:param>
 
344
        <xsl:param name="latex.table.caption.style"></xsl:param>
 
345
 
 
346
        <xsl:param name="latex.fancyhdr.lh">Left Header</xsl:param>
 
347
        <xsl:param name="latex.fancyhdr.ch">Center Header</xsl:param>
 
348
        <xsl:param name="latex.fancyhdr.rh">Right Header</xsl:param>
 
349
        <xsl:param name="latex.fancyhdr.lf">Left Footer</xsl:param>
 
350
        <xsl:param name="latex.fancyhdr.cf">Center Footer</xsl:param>
 
351
        <xsl:param name="latex.fancyhdr.rf">Right Footer</xsl:param>
 
352
 
 
353
        <doc:param xmlns="">
 
354
        <refpurpose> Override DB2LaTeX's choice of LaTeX page numbering style </refpurpose>
 
355
                <doc:description>
 
356
                        <para>By default, DB2LaTeX will choose the 'plain' or 'fancy' page styles,
 
357
                        depending on <xref linkend="param.latex.use.fancyhdr"/>. If non-empty, this
 
358
                        variable overrides the automatic selection. An example would be the literal
 
359
                        string 'empty', to eliminate headers and page numbers.</para>
 
360
                </doc:description>
 
361
        </doc:param>
 
362
        <xsl:param name="latex.pagestyle"/>
 
363
 
 
364
        <doc:param xmlns="">
 
365
        <refpurpose> DB2LaTeX hyperref options</refpurpose>
 
366
        <doc:description>
 
367
                <para>
 
368
                In addition to this variable, you can specify additional options using
 
369
                <literal>latex.hyperref.param.pdftex</literal> or <literal>latex.hyperref.param.dvips</literal>.
 
370
                </para>
 
371
        </doc:description>
 
372
        </doc:param>
 
373
        <xsl:param name="latex.hyperref.param.common">bookmarksnumbered,colorlinks,backref,bookmarks,breaklinks,linktocpage,plainpages=false</xsl:param>
 
374
 
 
375
        <doc:param xmlns="">
 
376
        <refpurpose> DB2LaTeX hyperref options for pdfTeX output</refpurpose>
 
377
        <doc:description>
 
378
                <para>
 
379
                See the hyperref documentation for further information.
 
380
                </para>
 
381
        </doc:description>
 
382
        </doc:param>
 
383
        <xsl:param name="latex.hyperref.param.pdftex">pdfstartview=FitH</xsl:param>
 
384
        <!--
 
385
        what is the unicode option?
 
386
        -->
 
387
 
 
388
        <doc:param xmlns="">
 
389
        <refpurpose> DB2LaTeX hyperref options for dvips output</refpurpose>
 
390
        <doc:description>
 
391
                <para>
 
392
                See the hyperref documentation for further information.
 
393
                </para>
 
394
        </doc:description>
 
395
        </doc:param>
 
396
        <xsl:param name="latex.hyperref.param.dvips"></xsl:param>
 
397
 
 
398
        <doc:param xmlns="">
 
399
                <refpurpose>Options for the <productname>varioref</productname> LaTeX package</refpurpose>
 
400
                <doc:description><para>Support index generation.</para></doc:description>
 
401
        </doc:param>
 
402
        <xsl:param name="latex.varioref.options">
 
403
                <xsl:if test="$latex.language.option!='none'">
 
404
                        <xsl:value-of select="$latex.language.option" />
 
405
                </xsl:if>
 
406
        </xsl:param>
 
407
 
 
408
        <doc:template name="latex.vpageref.options" xmlns="">
 
409
                <refpurpose>Toggle the use of the <productname>varioref</productname> LaTeX package</refpurpose>
 
410
                <doc:description><para>Support index generation.</para></doc:description>
 
411
        </doc:template>
 
412
        <xsl:template name="latex.vpageref.options">on this page</xsl:template>
 
413
 
 
414
        <doc:param xmlns="">
 
415
                <refpurpose>Choose indentation for tabs in verbatim environments</refpurpose>
 
416
                <doc:description><para>When <xref linkend="param.latex.use.fancyvrb"/> is enabled,
 
417
                this variable sets the width of a tab in terms of an equivalent number of spaces.</para></doc:description>
 
418
        </doc:param>
 
419
        <xsl:param name="latex.fancyvrb.tabsize">3</xsl:param>
 
420
 
 
421
        <doc:template name="latex.fancyvrb.options" xmlns="">
 
422
                <refpurpose>Insert <productname>LaTeX</productname> options for <productname>fancyvrb</productname> Verbatim environments</refpurpose>
 
423
                <doc:description>
 
424
                        <para> Undocumented. </para>
 
425
                </doc:description>
 
426
        </doc:template>
 
427
        <xsl:template name="latex.fancyvrb.options"/>
 
428
 
 
429
        <doc:param xmlns="">
 
430
                <refpurpose>Control the use of the <productname>inputenc</productname> LaTeX package</refpurpose>
 
431
                <doc:description>
 
432
                        <para>
 
433
                        If this option is non-empty, the <productname>inputenc</productname> package
 
434
                        will be used with the specified encoding. This should agree with the your driver
 
435
                        file. For example, the default value of <literal>latin1</literal>
 
436
                        is compatible with <filename>docbook.xsl</filename>, which contains
 
437
                        <literal><![CDATA[<xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>]]></literal>
 
438
                        </para>
 
439
                        <para>
 
440
                        If this option is empty, the <productname>inputenc</productname> package
 
441
                        will not be invoked by <productname>DB2LaTeX</productname>.
 
442
                        </para>
 
443
                        <segmentedlist>
 
444
                                <title>Common Combinations</title>
 
445
                                <segtitle>Output Encoding</segtitle><segtitle><productname>inputenc</productname> Option</segtitle>
 
446
                                <seglistitem><seg>ISO-8859-1</seg><seg>latin1</seg></seglistitem>
 
447
                                <seglistitem><seg>UTF-8</seg><seg>utf8<footnote><simpara>When used in conjunction with a package such as <ulink url="http://www.ctan.org/tools/cataloguesearch?action=/search/&amp;catstring=unicode"><productname>unicode</productname></ulink>.</simpara></footnote></seg></seglistitem>
 
448
                        </segmentedlist>
 
449
                        <para>
 
450
                        <productname>inputenc</productname> is a <productname>LaTeX</productname> base package.
 
451
                        </para>
 
452
                </doc:description>
 
453
        </doc:param>
 
454
        <xsl:param name="latex.inputenc">latin1</xsl:param>
 
455
 
 
456
        <doc:param xmlns="">
 
457
                <refpurpose> Options for the <productname>fontenc</productname> package </refpurpose>
 
458
                <doc:description>
 
459
                        <para> Undocumented. </para>
 
460
                </doc:description>
 
461
        </doc:param>
 
462
        <xsl:param name="latex.fontenc"></xsl:param>
 
463
 
 
464
        <doc:param xmlns="">
 
465
                <refpurpose>Select the optional parameter(s) for the <productname>unicode</productname> LaTeX package</refpurpose>
 
466
                <doc:description><para>See the <productname>unicode</productname> documentation for details.</para></doc:description>
 
467
        </doc:param>
 
468
        <xsl:param name="latex.ucs.options"></xsl:param>
 
469
 
 
470
        <doc:param xmlns="">
 
471
                <refpurpose>Select the optional parameter for the <productname>babel</productname> LaTeX package</refpurpose>
 
472
                <doc:description>
 
473
                        <para>See the <productname>babel</productname> documentation for details.</para>
 
474
                        <para>Although DB2LaTeX will try to choose the correct babel options for your
 
475
                        document, you may need to specify the correct choice here. The special value
 
476
                        of 'none' (without the quotes) will cause DB2LaTeX to skip babel configuration.</para>
 
477
                </doc:description>
 
478
        </doc:param>
 
479
        <xsl:param name="latex.babel.language"></xsl:param>
 
480
 
 
481
        <doc:param xmlns="">
 
482
        <refpurpose> Adjust bibliography formatting </refpurpose>
 
483
        <doc:description>
 
484
                <para>The environment bibliography accepts a parameter that indicates
 
485
                the widest label, which is used to correctly format the bibliography
 
486
                output. The value of this parameter is output inside the
 
487
                <literal>\begin{thebibliography[]}</literal> LaTeX command.</para>
 
488
        </doc:description>
 
489
        </doc:param>
 
490
        <xsl:param name="latex.bibwidelabel">
 
491
                <xsl:choose>
 
492
                        <xsl:when test="$latex.biblioentry.style='ieee' or $latex.biblioentry.style='IEEE'">
 
493
                                <xsl:text>123</xsl:text>
 
494
                        </xsl:when>
 
495
                        <xsl:otherwise>
 
496
                                <xsl:text>WIDELABEL</xsl:text>
 
497
                        </xsl:otherwise>
 
498
                </xsl:choose>
 
499
        </xsl:param>
 
500
 
 
501
        <doc:param xmlns="">
 
502
        <refpurpose> DB2LaTeX document class options  </refpurpose>
 
503
        <doc:description>
 
504
                <para>
 
505
                These are the first options to be passed to <literal>\documentclass</literal>
 
506
                (The common options are
 
507
                <!--
 
508
                set to <literal>french,english</literal>
 
509
                -->
 
510
                blank
 
511
                by default.)
 
512
                They will be augmented or superseded by article/book options (see $latex.documentclass.article and $latex.documentclass.book) and pdftex/dvips options (see $latex.documentclass.pdftex and $latex.documentclass.dvips).
 
513
                </para>
 
514
        </doc:description>
 
515
        </doc:param>
 
516
        <xsl:param name="latex.documentclass.common"></xsl:param>
 
517
 
 
518
        <doc:param xmlns="">
 
519
        <refpurpose> DB2LaTeX document class options for articles</refpurpose>
 
520
        <doc:description>
 
521
                <para>
 
522
                The article options are set to <literal>a4paper,10pt,twoside,twocolumn</literal> by default.
 
523
                These are the intermediate options to be passed to <literal>\documentclass</literal>,
 
524
                between the common options and the pdftex/dvips options.
 
525
                </para>
 
526
        </doc:description>
 
527
        </doc:param>
 
528
        <xsl:param name="latex.documentclass.article">a4paper,10pt,twoside,twocolumn</xsl:param>
 
529
 
 
530
        <doc:param xmlns="">
 
531
        <refpurpose> DB2LaTeX document class options for books</refpurpose>
 
532
        <doc:description>
 
533
                <para>
 
534
                The book options are set to <literal>a4paper,10pt,twoside,openright</literal> by default.
 
535
                These are the intermediate options to be passed to <literal>\documentclass</literal>,
 
536
                between the common options and the pdftex/dvips options.
 
537
                </para>
 
538
        </doc:description>
 
539
        </doc:param>
 
540
        <xsl:param name="latex.documentclass.book">a4paper,10pt,twoside,openright</xsl:param>
 
541
 
 
542
        <doc:param xmlns="">
 
543
        <refpurpose> DB2LaTeX document class options for pdfTeX output</refpurpose>
 
544
        <doc:description>
 
545
                <para>
 
546
                The pdfTeX options are empty by default.
 
547
                These are the last options to be passed to <literal>\documentclass</literal>
 
548
                and override the common/article/book options.
 
549
                </para>
 
550
        </doc:description>
 
551
        </doc:param>
 
552
        <xsl:param name="latex.documentclass.pdftex"></xsl:param>
 
553
 
 
554
        <doc:param xmlns="">
 
555
        <refpurpose> DB2LaTeX document class options for dvips output</refpurpose>
 
556
        <doc:description>
 
557
                <para>
 
558
                The dvips options are empty by default.
 
559
                These are the last options to be passed to <literal>\documentclass</literal>
 
560
                and override the common/article/book options.
 
561
                </para>
 
562
        </doc:description>
 
563
        </doc:param>
 
564
        <xsl:param name="latex.documentclass.dvips"></xsl:param>
 
565
 
 
566
        <doc:param xmlns="">
 
567
        <refpurpose> DB2LaTeX graphics admonitions size</refpurpose>
 
568
        <doc:description>
 
569
                <para>
 
570
                        Is passed as an optional parameter for <literal>\includegraphics</literal> and
 
571
                        can take on any such legal values (or be empty).
 
572
                </para>
 
573
        </doc:description>
 
574
        </doc:param>
 
575
        <xsl:param name="latex.admonition.imagesize">width=1cm</xsl:param>
 
576
 
 
577
        <doc:param xmlns="">
 
578
        <refpurpose> DB2LaTeX allows using an (externally generated) cover page  </refpurpose>
 
579
        <doc:description>
 
580
                <para>
 
581
                You may supply a LaTeX file that will supersede DB2LaTeX's default
 
582
                cover page or title. If the value of this variable is non-empty, the
 
583
                generated LaTeX code includes \input{filename}. Otherwise, it uses the
 
584
                \maketitle command.
 
585
                </para>
 
586
                <warning><para>
 
587
                        Bear in mind that using an external cover page breaks the
 
588
                        "encapsulation" of DocBook. Further revisions of these stylesheets
 
589
                        will add chunking support, and the automation of the cover file
 
590
                        generation.
 
591
                </para></warning>
 
592
        </doc:description>
 
593
        </doc:param>
 
594
        <xsl:param name="latex.titlepage.file">title</xsl:param>
 
595
    <doc:param xmlns="">
 
596
        <refpurpose> Document Font(s)  </refpurpose>
 
597
        <doc:description>
 
598
                        <para>
 
599
                                Document fonts can be chosen by providing &LaTeX; package names.
 
600
                                Common values include <literal>default</literal>, <literal>times</literal>, <literal>palatcm</literal>, <literal>charter</literal>, <literal>helvet</literal>, <literal>palatino</literal>, <literal>avant</literal>, <literal>newcent</literal> and <literal>bookman</literal>.
 
601
                                Particular combinations may also work. For example, <literal>mathptm,charter,courier</literal>.
 
602
                        </para>
 
603
                        <!--
 
604
                        If you want to change explicitly to a certain font, use the command \fontfamily{XYZ}\selectfont whereby XYZ can be set to: pag for Adobe AvantGarde, pbk for Adobe Bookman, pcr for Adobe Courier, phv for Adobe Helvetica, pnc for Adobe NewCenturySchoolbook, ppl for Adobe Palatino, ptm for Adobe Times Roman, pzc for Adobe ZapfChancery
 
605
                        -->
 
606
        </doc:description>
 
607
    </doc:param>
 
608
    <xsl:param name="latex.document.font">palatino</xsl:param>
 
609
 
 
610
        <doc:param xmlns="">
 
611
        <refpurpose> Override DB2LaTeX's preamble with a custom preamble. </refpurpose>
 
612
        <doc:description>
 
613
                <para>
 
614
                When this variable is set, the entire DB2LaTeX premable will be superseded.
 
615
                <emphasis>You should not normally need or want to use this.</emphasis>
 
616
                It may cause LaTeX typesetting problems. This is a last resort or
 
617
                <quote>expert</quote> feature.
 
618
                </para>
 
619
        </doc:description>
 
620
        </doc:param>
 
621
        <xsl:param name="latex.override"></xsl:param>
 
622
 
 
623
</xsl:stylesheet>