~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to docs-xml/xslt/db2latex-xsl/xsl/param-direct.mod.xsl

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

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.7 2004/01/31 11:05:05 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.7 2004/01/31 11:05:05 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>\makeindex, \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>\makeindex&#10;</xsl:text>
 
163
                <xsl:text>\makeglossary&#10;</xsl:text>
 
164
                <xsl:text>% --------------------------------------------&#10;</xsl:text>
 
165
        </xsl:param>
 
166
 
 
167
        <doc:template xmlns="">
 
168
                <refpurpose> Format the output of tabular headings. </refpurpose>
 
169
                <doc:description>
 
170
                        <para> Undocumented. </para>
 
171
                </doc:description>
 
172
        </doc:template>
 
173
        <xsl:template name="latex.thead.row.entry">
 
174
                <xsl:apply-templates/>
 
175
        </xsl:template>
 
176
 
 
177
        <doc:template xmlns="">
 
178
                <refpurpose> Format the output of tabular footers. </refpurpose>
 
179
                <doc:description>
 
180
                        <para> Undocumented. </para>
 
181
                </doc:description>
 
182
        </doc:template>
 
183
        <xsl:template name="latex.tfoot.row.entry">
 
184
                <xsl:apply-templates/>
 
185
        </xsl:template>
 
186
 
 
187
        <doc:param xmlns="">
 
188
                <refpurpose> Control the style of article titles </refpurpose>
 
189
                <doc:description>
 
190
                        <para>This is passed directly to &LaTeX;. Typically,
 
191
                        it is either a \command or an empty string.</para>
 
192
                </doc:description>
 
193
        </doc:param>
 
194
        <xsl:param name="latex.article.title.style">\textbf</xsl:param>
 
195
 
 
196
        <doc:param xmlns="">
 
197
                <refpurpose> Control the style of article titles within books </refpurpose>
 
198
                <doc:description>
 
199
                        <para>This is passed directly to &LaTeX;. Typically,
 
200
                        it is either a \command or an empty string.</para>
 
201
                </doc:description>
 
202
        </doc:param>
 
203
        <xsl:param name="latex.book.article.title.style">\Large\textbf</xsl:param>
 
204
 
 
205
        <doc:param xmlns="">
 
206
                <refpurpose> Control the style of authors and dates within a book's articles </refpurpose>
 
207
                <doc:description>
 
208
                        <para>This is passed directly to &LaTeX;. Typically,
 
209
                        it is either a \command or an empty string.</para>
 
210
                </doc:description>
 
211
        </doc:param>
 
212
        <xsl:param name="latex.book.article.header.style">\textsf</xsl:param>
 
213
 
 
214
        <doc:param xmlns="">
 
215
                <refpurpose> Control the style of equation captions  </refpurpose>
 
216
                <doc:description>
 
217
                        <para>Figure captions are typeset in the default typeface (usually 'roman') but if
 
218
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
219
                        that command will precede the caption and it will be typeset accordingly.</para>
 
220
                </doc:description>
 
221
        </doc:param>
 
222
        <xsl:param name="latex.equation.caption.style"></xsl:param>
 
223
 
 
224
        <doc:param xmlns="">
 
225
                <refpurpose> Control the style of example captions  </refpurpose>
 
226
                <doc:description>
 
227
                        <para>Figure captions are typeset in the default typeface (usually 'roman') but if
 
228
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
229
                        that command will precede the caption and it will be typeset accordingly.</para>
 
230
                </doc:description>
 
231
        </doc:param>
 
232
        <xsl:param name="latex.example.caption.style"></xsl:param>
 
233
 
 
234
        <doc:param xmlns="">
 
235
                <refpurpose> Control the style of figure captions  </refpurpose>
 
236
                <doc:description>
 
237
                        <para>Figure captions are typeset in the default typeface (usually 'roman') but if
 
238
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
239
                        that command will precede the caption and it will be typeset accordingly.</para>
 
240
                </doc:description>
 
241
        </doc:param>
 
242
        <xsl:param name="latex.figure.caption.style"></xsl:param>
 
243
 
 
244
        <doc:param xmlns="">
 
245
                <refpurpose> Control the style of figure titles  </refpurpose>
 
246
                <doc:description>
 
247
                        <para>Figure titles are typeset in the default typeface (usually 'roman') but if
 
248
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
249
                        that command will precede the title and it will be typeset accordingly.</para>
 
250
                </doc:description>
 
251
        </doc:param>
 
252
        <xsl:param name="latex.figure.title.style"></xsl:param>
 
253
 
 
254
        <doc:param xmlns="">
 
255
                <refpurpose> Control the style of equation captions  </refpurpose>
 
256
                <doc:description>
 
257
                        <para>The titles of <doc:db basename="formalpara">formalparas</doc:db> are typeset in the bold typeface by default.
 
258
                        This parameter can be set to an alternative &latex; command, such as <function condition="latex">textit</function> (or empty).</para>
 
259
                </doc:description>
 
260
        </doc:param>
 
261
        <xsl:param name="latex.formalpara.title.style">\textbf</xsl:param>
 
262
 
 
263
        <doc:param xmlns="">
 
264
                <refpurpose> Control the style of list titles  </refpurpose>
 
265
                <doc:description>
 
266
                        <para>List titles are typeset in small caps but if
 
267
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
268
                        that command will precede the title and it will be typeset accordingly.</para>
 
269
                </doc:description>
 
270
        </doc:param>
 
271
        <xsl:param name="latex.list.title.style">\sc</xsl:param>
 
272
 
 
273
        <doc:param xmlns="">
 
274
                <refpurpose> Control the style of procedure titles  </refpurpose>
 
275
                <doc:description>
 
276
                        <para>Procedure titles are typeset in small caps but if
 
277
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
278
                        that command will precede the title and it will be typeset accordingly.</para>
 
279
                </doc:description>
 
280
        </doc:param>
 
281
        <xsl:param name="latex.procedure.title.style">\sc</xsl:param>
 
282
 
 
283
        <doc:param xmlns="">
 
284
                <refpurpose> Control the style of segtitles  </refpurpose>
 
285
                <doc:description>
 
286
                        <para>This is passed directly to &LaTeX;. Typically,
 
287
                        it is either a \command or an empty string.</para>
 
288
                </doc:description>
 
289
        </doc:param>
 
290
        <xsl:param name="latex.segtitle.style">\em</xsl:param>
 
291
 
 
292
        <doc:param xmlns="">
 
293
                <refpurpose> Control the style of step titles  </refpurpose>
 
294
                <doc:description>
 
295
                        <para>Step titles are typeset in small caps but if
 
296
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
297
                        that command will precede the title and it will be typeset accordingly.</para>
 
298
                </doc:description>
 
299
        </doc:param>
 
300
        <xsl:param name="latex.step.title.style">\bf</xsl:param>
 
301
 
 
302
        <doc:param xmlns="">
 
303
                <refpurpose> Control the style of table captions  </refpurpose>
 
304
                <doc:description>
 
305
                        <para>Figure captions are typeset in the default typeface (usually 'roman') but if
 
306
                        this option is set to a LaTeX command, such as <literal>\textit</literal>, then
 
307
                        that command will precede the caption and it will be typeset accordingly.</para>
 
308
                </doc:description>
 
309
        </doc:param>
 
310
        <xsl:param name="latex.table.caption.style"></xsl:param>
 
311
 
 
312
        <xsl:param name="latex.fancyhdr.lh">Left Header</xsl:param>
 
313
        <xsl:param name="latex.fancyhdr.ch">Center Header</xsl:param>
 
314
        <xsl:param name="latex.fancyhdr.rh">Right Header</xsl:param>
 
315
        <xsl:param name="latex.fancyhdr.lf">Left Footer</xsl:param>
 
316
        <xsl:param name="latex.fancyhdr.cf">Center Footer</xsl:param>
 
317
        <xsl:param name="latex.fancyhdr.rf">Right Footer</xsl:param>
 
318
 
 
319
        <doc:param xmlns="">
 
320
        <refpurpose> Override DB2LaTeX's choice of LaTeX page numbering style </refpurpose>
 
321
                <doc:description>
 
322
                        <para>By default, DB2LaTeX will choose the 'plain' or 'fancy' page styles,
 
323
                        depending on <xref linkend="param.latex.use.fancyhdr"/>. If non-empty, this
 
324
                        variable overrides the automatic selection. An example would be the literal
 
325
                        string 'empty', to eliminate headers and page numbers.</para>
 
326
                </doc:description>
 
327
        </doc:param>
 
328
        <xsl:param name="latex.pagestyle"/>
 
329
 
 
330
        <doc:param xmlns="">
 
331
        <refpurpose> DB2LaTeX hyperref options</refpurpose>
 
332
        <doc:description>
 
333
                <para>
 
334
                In addition to this variable, you can specify additional options using
 
335
                <literal>latex.hyperref.param.pdftex</literal> or <literal>latex.hyperref.param.dvips</literal>.
 
336
                </para>
 
337
        </doc:description>
 
338
        </doc:param>
 
339
        <xsl:param name="latex.hyperref.param.common">bookmarksnumbered,colorlinks,backref,bookmarks,breaklinks,linktocpage,plainpages=false</xsl:param>
 
340
 
 
341
        <doc:param xmlns="">
 
342
        <refpurpose> DB2LaTeX hyperref options for pdfTeX output</refpurpose>
 
343
        <doc:description>
 
344
                <para>
 
345
                See the hyperref documentation for further information.
 
346
                </para>
 
347
        </doc:description>
 
348
        </doc:param>
 
349
        <xsl:param name="latex.hyperref.param.pdftex">pdfstartview=FitH</xsl:param>
 
350
        <!--
 
351
        what is the unicode option?
 
352
        -->
 
353
 
 
354
        <doc:param xmlns="">
 
355
        <refpurpose> DB2LaTeX hyperref options for dvips output</refpurpose>
 
356
        <doc:description>
 
357
                <para>
 
358
                See the hyperref documentation for further information.
 
359
                </para>
 
360
        </doc:description>
 
361
        </doc:param>
 
362
        <xsl:param name="latex.hyperref.param.dvips"></xsl:param>
 
363
 
 
364
        <doc:param xmlns="">
 
365
                <refpurpose>Options for the <productname>varioref</productname> LaTeX package</refpurpose>
 
366
                <doc:description><para>Support index generation.</para></doc:description>
 
367
        </doc:param>
 
368
        <xsl:param name="latex.varioref.options">
 
369
                <xsl:if test="$latex.language.option!='none'">
 
370
                        <xsl:value-of select="$latex.language.option" />
 
371
                </xsl:if>
 
372
        </xsl:param>
 
373
 
 
374
        <doc:template name="latex.vpageref.options" xmlns="">
 
375
                <refpurpose>Toggle the use of the <productname>varioref</productname> LaTeX package</refpurpose>
 
376
                <doc:description><para>Support index generation.</para></doc:description>
 
377
        </doc:template>
 
378
        <xsl:template name="latex.vpageref.options">on this page</xsl:template>
 
379
 
 
380
        <doc:param xmlns="">
 
381
                <refpurpose>Choose indentation for tabs in verbatim environments</refpurpose>
 
382
                <doc:description><para>When <xref linkend="param.latex.use.fancyvrb"/> is enabled,
 
383
                this variable sets the width of a tab in terms of an equivalent number of spaces.</para></doc:description>
 
384
        </doc:param>
 
385
        <xsl:param name="latex.fancyvrb.tabsize">3</xsl:param>
 
386
 
 
387
        <doc:template name="latex.fancyvrb.options" xmlns="">
 
388
                <refpurpose>Insert <productname>LaTeX</productname> options for <productname>fancyvrb</productname> Verbatim environments</refpurpose>
 
389
                <doc:description>
 
390
                        <para> Undocumented. </para>
 
391
                </doc:description>
 
392
        </doc:template>
 
393
        <xsl:template name="latex.fancyvrb.options"/>
 
394
 
 
395
        <doc:param xmlns="">
 
396
                <refpurpose>Control the use of the <productname>inputenc</productname> LaTeX package</refpurpose>
 
397
                <doc:description>
 
398
                        <para>
 
399
                        If this option is non-empty, the <productname>inputenc</productname> package
 
400
                        will be used with the specified encoding. This should agree with the your driver
 
401
                        file. For example, the default value of <literal>latin1</literal>
 
402
                        is compatible with <filename>docbook.xsl</filename>, which contains
 
403
                        <literal><![CDATA[<xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>]]></literal>
 
404
                        </para>
 
405
                        <para>
 
406
                        If this option is empty, the <productname>inputenc</productname> package
 
407
                        will not be invoked by <productname>DB2LaTeX</productname>.
 
408
                        </para>
 
409
                        <segmentedlist>
 
410
                                <title>Common Combinations</title>
 
411
                                <segtitle>Output Encoding</segtitle><segtitle><productname>inputenc</productname> Option</segtitle>
 
412
                                <seglistitem><seg>ISO-8859-1</seg><seg>latin1</seg></seglistitem>
 
413
                                <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>
 
414
                        </segmentedlist>
 
415
                        <para>
 
416
                        <productname>inputenc</productname> is a <productname>LaTeX</productname> base package.
 
417
                        </para>
 
418
                </doc:description>
 
419
        </doc:param>
 
420
        <xsl:param name="latex.inputenc">latin1</xsl:param>
 
421
 
 
422
        <doc:param xmlns="">
 
423
                <refpurpose> Options for the <productname>fontenc</productname> package </refpurpose>
 
424
                <doc:description>
 
425
                        <para> Undocumented. </para>
 
426
                </doc:description>
 
427
        </doc:param>
 
428
        <xsl:param name="latex.fontenc"></xsl:param>
 
429
 
 
430
        <doc:param xmlns="">
 
431
                <refpurpose>Select the optional parameter(s) for the <productname>unicode</productname> LaTeX package</refpurpose>
 
432
                <doc:description><para>See the <productname>unicode</productname> documentation for details.</para></doc:description>
 
433
        </doc:param>
 
434
        <xsl:param name="latex.ucs.options"></xsl:param>
 
435
 
 
436
        <doc:param xmlns="">
 
437
                <refpurpose>Select the optional parameter for the <productname>babel</productname> LaTeX package</refpurpose>
 
438
                <doc:description>
 
439
                        <para>See the <productname>babel</productname> documentation for details.</para>
 
440
                        <para>Although DB2LaTeX will try to choose the correct babel options for your
 
441
                        document, you may need to specify the correct choice here. The special value
 
442
                        of 'none' (without the quotes) will cause DB2LaTeX to skip babel configuration.</para>
 
443
                </doc:description>
 
444
        </doc:param>
 
445
        <xsl:param name="latex.babel.language"></xsl:param>
 
446
 
 
447
        <doc:param xmlns="">
 
448
        <refpurpose> Adjust bibliography formatting </refpurpose>
 
449
        <doc:description>
 
450
                <para>The environment bibliography accepts a parameter that indicates
 
451
                the widest label, which is used to correctly format the bibliography
 
452
                output. The value of this parameter is output inside the
 
453
                <literal>\begin{thebibliography[]}</literal> LaTeX command.</para>
 
454
        </doc:description>
 
455
        </doc:param>
 
456
        <xsl:param name="latex.bibwidelabel">
 
457
                <xsl:choose>
 
458
                        <xsl:when test="$latex.biblioentry.style='ieee' or $latex.biblioentry.style='IEEE'">
 
459
                                <xsl:text>123</xsl:text>
 
460
                        </xsl:when>
 
461
                        <xsl:otherwise>
 
462
                                <xsl:text>WIDELABEL</xsl:text>
 
463
                        </xsl:otherwise>
 
464
                </xsl:choose>
 
465
        </xsl:param>
 
466
 
 
467
        <doc:param xmlns="">
 
468
        <refpurpose> DB2LaTeX document class options  </refpurpose>
 
469
        <doc:description>
 
470
                <para>
 
471
                These are the first options to be passed to <literal>\documentclass</literal>
 
472
                (The common options are
 
473
                <!--
 
474
                set to <literal>french,english</literal>
 
475
                -->
 
476
                blank
 
477
                by default.)
 
478
                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).
 
479
                </para>
 
480
        </doc:description>
 
481
        </doc:param>
 
482
        <xsl:param name="latex.documentclass.common"></xsl:param>
 
483
 
 
484
        <doc:param xmlns="">
 
485
        <refpurpose> DB2LaTeX document class options for articles</refpurpose>
 
486
        <doc:description>
 
487
                <para>
 
488
                The article options are set to <literal>a4paper,10pt,twoside,twocolumn</literal> by default.
 
489
                These are the intermediate options to be passed to <literal>\documentclass</literal>,
 
490
                between the common options and the pdftex/dvips options.
 
491
                </para>
 
492
        </doc:description>
 
493
        </doc:param>
 
494
        <xsl:param name="latex.documentclass.article">a4paper,10pt,twoside,twocolumn</xsl:param>
 
495
 
 
496
        <doc:param xmlns="">
 
497
        <refpurpose> DB2LaTeX document class options for books</refpurpose>
 
498
        <doc:description>
 
499
                <para>
 
500
                The book options are set to <literal>a4paper,10pt,twoside,openright</literal> by default.
 
501
                These are the intermediate options to be passed to <literal>\documentclass</literal>,
 
502
                between the common options and the pdftex/dvips options.
 
503
                </para>
 
504
        </doc:description>
 
505
        </doc:param>
 
506
        <xsl:param name="latex.documentclass.book">a4paper,10pt,twoside,openright</xsl:param>
 
507
 
 
508
        <doc:param xmlns="">
 
509
        <refpurpose> DB2LaTeX document class options for pdfTeX output</refpurpose>
 
510
        <doc:description>
 
511
                <para>
 
512
                The pdfTeX options are empty by default.
 
513
                These are the last options to be passed to <literal>\documentclass</literal>
 
514
                and override the common/article/book options.
 
515
                </para>
 
516
        </doc:description>
 
517
        </doc:param>
 
518
        <xsl:param name="latex.documentclass.pdftex"></xsl:param>
 
519
 
 
520
        <doc:param xmlns="">
 
521
        <refpurpose> DB2LaTeX document class options for dvips output</refpurpose>
 
522
        <doc:description>
 
523
                <para>
 
524
                The dvips options are empty by default.
 
525
                These are the last options to be passed to <literal>\documentclass</literal>
 
526
                and override the common/article/book options.
 
527
                </para>
 
528
        </doc:description>
 
529
        </doc:param>
 
530
        <xsl:param name="latex.documentclass.dvips"></xsl:param>
 
531
 
 
532
        <doc:param xmlns="">
 
533
        <refpurpose> DB2LaTeX graphics admonitions size</refpurpose>
 
534
        <doc:description>
 
535
                <para>
 
536
                        Is passed as an optional parameter for <literal>\includegraphics</literal> and
 
537
                        can take on any such legal values (or be empty).
 
538
                </para>
 
539
        </doc:description>
 
540
        </doc:param>
 
541
        <xsl:param name="latex.admonition.imagesize">width=1cm</xsl:param>
 
542
 
 
543
        <doc:param xmlns="">
 
544
        <refpurpose> DB2LaTeX allows using an (externally generated) cover page  </refpurpose>
 
545
        <doc:description>
 
546
                <para>
 
547
                You may supply a LaTeX file that will supersede DB2LaTeX's default
 
548
                cover page or title. If the value of this variable is non-empty, the
 
549
                generated LaTeX code includes \input{filename}. Otherwise, it uses the
 
550
                \maketitle command.
 
551
                </para>
 
552
                <warning><para>
 
553
                        Bear in mind that using an external cover page breaks the
 
554
                        "encapsulation" of DocBook. Further revisions of these stylesheets
 
555
                        will add chunking support, and the automation of the cover file
 
556
                        generation.
 
557
                </para></warning>
 
558
        </doc:description>
 
559
        </doc:param>
 
560
        <xsl:param name="latex.titlepage.file">title</xsl:param>
 
561
    <doc:param xmlns="">
 
562
        <refpurpose> Document Font(s)  </refpurpose>
 
563
        <doc:description>
 
564
                        <para>
 
565
                                Document fonts can be chosen by providing &LaTeX; package names.
 
566
                                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>.
 
567
                                Particular combinations may also work. For example, <literal>mathptm,charter,courier</literal>.
 
568
                        </para>
 
569
                        <!--
 
570
                        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
 
571
                        -->
 
572
        </doc:description>
 
573
    </doc:param>
 
574
    <xsl:param name="latex.document.font">palatino</xsl:param>
 
575
 
 
576
        <doc:param xmlns="">
 
577
        <refpurpose> Override DB2LaTeX's preamble with a custom preamble. </refpurpose>
 
578
        <doc:description>
 
579
                <para>
 
580
                When this variable is set, the entire DB2LaTeX premable will be superseded.
 
581
                <emphasis>You should not normally need or want to use this.</emphasis>
 
582
                It may cause LaTeX typesetting problems. This is a last resort or
 
583
                <quote>expert</quote> feature.
 
584
                </para>
 
585
        </doc:description>
 
586
        </doc:param>
 
587
        <xsl:param name="latex.override"></xsl:param>
 
588
 
 
589
</xsl:stylesheet>