2
@c This file is part of the ``Texinfo to HTML Converter'' manual
3
@c which is part of the ``texi2html'' distribution.
6
@c Copyright (C) 1999, 2000 Free Software Foundation, Inc.
8
@c This program is free software; you can redistribute it
9
@c and/or modify it under the terms of the GNU General Public
10
@c License as published by the Free Software Foundation;
11
@c either version 2 of the License, or (at your option) any
14
@c This program is distributed in the hope that it will be
15
@c useful, but WITHOUT ANY WARRANTY; without even the implied
16
@c warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
17
@c PURPOSE. See the GNU General Public License for more
20
@c You should have received a copy of the GNU General
21
@c Public License along with this program; if not, write to
22
@c the Free Software Foundation, Inc., 59 Temple Place, Suite
23
@c 330, Boston, MA 02111-1307 USA
27
@c $Id: options.texi,v 1.1 2000/08/14 18:10:23 texi2htm Exp $
30
@c Karl Heinz Marbaise <khmarbaise@gmx.de>
33
@c Here you can find the description on the
34
@c command line options.
36
@c ========================================================
37
@chapter Command Line Options
40
* OptionDebug:: Debugging.
41
* OptionDocType:: DocType (HTML)
42
* OptionCheck:: Checking files.
43
* OptionExpand:: Expanding info, tex areas etc.
44
* OptionGlossary:: Glossary.
45
* OptionInvisible:: Invisible.
47
* OptionInclude:: Include directories.
48
* OptionTopFile:: Top File.
49
* OptionTocFile:: Table of content File.
50
* OptionFrames:: Frames.
51
* OptionMenu:: Menu's.
52
* OptionNumber:: Number sections.
53
* OptionSplit:: Splitting.
54
* OptionSectionNavigation:: Navigation.
55
* OptionSubDir:: Subdirectory.
56
* OptionShortExt:: Short extension.
57
* OptionPrefix:: Prefix.
58
* OptionOutput:: Output.
59
* OptionShortRef:: Short Ref.
60
* OptionIndexSummary:: Index Summary.
61
* OptionVerbose:: Verbose.
62
* OptionLanguage:: Language.
63
* OptionL2H:: La@TeX{}2HTML.
67
@c --------------------------------------------------------
68
@node OptionDebug, OptionDocType, Options, Options
83
debugging: 0 --- no debugging; other values; see beginning
87
@var{$DEBUG_INDEX} = 2;
89
@var{$DEBUG_GLOSS} = 8;
90
@var{$DEBUG_DEF} = 16;
91
@var{$DEBUG_HTML} = 32;
92
@var{$DEBUG_USER} = 64;
93
@var{$DEBUG_L2H} = 128;
95
@c --------------------------------------------------------
96
@node OptionDocType, OptionCheck, OptionDebug, Options
98
@cindex HTML, Doc Type
104
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
107
@c --------------------------------------------------------
108
@node OptionCheck, OptionExpand, OptionDocType, Options
110
@cindex Texinfo, checking
114
if set, only check files and give the list of all things
115
that look like untranslated Texinfo commands
117
@c --------------------------------------------------------
118
@node OptionExpand, OptionGlossary, OptionCheck, Options
123
if set to @strong{tex} (or, @strong{info}) expand
124
@code{@@iftex} and @code{@@tex} (or, @code{@@ifinfo})
125
sections else, neither expand @code{@@iftex}, @code{@@tex},
126
nor @code{@@ifinfo} sections
128
@c $T2H_EXPAND = "info";
130
@c --------------------------------------------------------
131
@node OptionGlossary, OptionInvisible, OptionExpand, Options
133
@cindex HTML, Glossary
134
@cindex Texinfo, Glossary
136
@vindex T2H_USE_GLOSSARY
138
if set, uses section named @strong{Footnotes} for glossary
140
@c --------------------------------------------------------
141
@node OptionInvisible, OptionIso, OptionGlossary, Options
143
@cindex Mark, invisible
144
@cindex invisible, Mark
146
@vindex T2H_INVISIBLE_MARK
148
@var{$T2H_INVISIBLE_MARK} is the text used to create
149
invisible destination anchors for index links (you can for
150
instance use the @file{invisible.xbm} file shipped with
151
this program). This is a workaround for a known bug of many
152
@acronym{WWW} browsers, including Netscape. For me, it
153
works fine without it --- on the contrary: if there, it
154
inserts space between headers and start of text (obachman
158
$T2H_INVISIBLE_MARK = "";
159
# $T2H_INVISIBLE_MARK = ' ';
162
@c --------------------------------------------------------
163
@node OptionIso, OptionInclude, OptionInvisible, Options
171
if set, ISO8859 characters are used for special symbols
172
(like Copyright @code{@copyright{}}, etc)
176
@c --------------------------------------------------------
177
@node OptionInclude, OptionTopFile, OptionIso, Options
178
@section Include Direcotry
179
@vindex Include directories
181
@vindex T2H_INCLUDE_DIRS
184
list directories where @code{@@include} files are searched for
185
(besides the directory of the doc file) additional
186
@option{-I} args are add to this list.
188
@@T2H_INCLUDE_DIRS = (".");
190
@c --------------------------------------------------------
191
@node OptionTopFile, OptionTocFile, OptionInclude, Options
193
@cindex Top Level file
194
@cindex HTML, index.html
198
uses file of this name for top-level file
199
extension is manipulated appropriately, if necessary.
200
If empty, @file{<basename of document>.html} is used
201
Typically, you would set this to @file{index.html}.
205
@c --------------------------------------------------------
206
@node OptionTocFile, OptionFrames, OptionTopFile, Options
207
@section Table Of content File
208
@cindex Table of content file
212
uses file of this name for table of contents file extension
213
is manipulated appropriately, if necessary. If empty,
214
@file{<basename of document>_toc.html} is used
218
@c --------------------------------------------------------
219
@node OptionFrames, OptionMenu, OptionTocFile, Options
222
@vindex HTML 4.0, frames
226
if set, output two additional files which use HTML 4.0
231
@c --------------------------------------------------------
232
@node OptionMenu, OptionNumber, OptionFrames, Options
235
@cindex Texinfo, menu
238
@vindex T2H_SHOW_MENU
239
@option{-menu} or @option{-nomenu} if set, show the Texinfo
244
@c --------------------------------------------------------
245
@node OptionNumber, OptionSplit, OptionMenu, Options
246
@section Number sections
247
@cindex Section numbering
250
@vindex T2H_NUMBER_SECTIONS
251
@option{-number} @option{-nonumber}
252
if set, number sections and show section names and numbers
253
in references and menus
255
@c Just think about it?
256
@c @defvar $T2H_NUMBER_SECTIONS
260
@c --------------------------------------------------------
261
@node OptionSplit, OptionSectionNavigation, OptionNumber, Options
267
@option{-split section|chapter|none}
268
if set to @strong{section} (resp. @strong{chapter}) create one
269
@acronym{HTML} file per (sub)section (resp. chapter) and
270
separate pages for Top, ToC, Overview, Index, Glossary,
271
About. otherwise, create monolithic @acronym{HTML} file which
272
contains whole document
274
#$T2H_SPLIT = 'section';
277
@c --------------------------------------------------------
278
@node OptionSectionNavigation, OptionSubDir, OptionSplit, Options
279
@section Section navigation
280
@cindex HTML, Navigation
281
@opindex section_navigation
282
@opindex no-section_navigation
283
@vindex T2H_SECTION_NAVIGATION
284
@option{-section_navigation}|
285
@option{-no-section_navigation}
287
if set, then navigation panels are printed at the beginning
288
of each section and, possibly at the end (depending on
289
whether or not there were more than
290
@var{$T2H_WORDS_IN_PAGE} words on page). This is most useful
291
if you do not want to have section navigation on
292
@option{-split chapter}
294
@c @vindex T2H_SECTION_NAVIGATION
295
@c @defvar $T2H_SECTION_NAVIGATION
299
@c --------------------------------------------------------
300
@node OptionSubDir, OptionShortExt, OptionSectionNavigation, Options
301
@section Subdirectory
305
if set put result files in this directory if not set result
306
files are put into current directory
308
@c #$T2H_SUBDIR = 'html';
309
@var{$T2H_SUBDIR} = undef;
311
@c --------------------------------------------------------
312
@node OptionShortExt, OptionPrefix, OptionSubDir, Options
313
@section Short extension
314
@cindex HTML, .htm extension
315
@cindex HTML, .html extension
316
@cindex extension, .html
317
@cindex extension, .htm
318
@vindex T2H_SHORTEXTN
321
If this is set all @acronym{HTML} file will have extension
322
@file{.htm} instead of @file{.html}. This is helpful when
323
shipping the document to PC systems.
324
@var{$T2H_SHORTEXTN} = 0;
326
@c --------------------------------------------------------
327
@node OptionPrefix, OptionOutput, OptionShortExt, Options
333
Set the output file prefix, prepended to all @file{.html},
334
@file{.gif} and @file{.pl} files.
335
By default, this is the basename of the document
337
@var{$T2H_PREFIX} = "";
339
@c --------------------------------------------------------
340
@node OptionOutput, OptionShortRef, OptionPrefix, Options
341
@section Output filename
342
@cindex Output filename
343
@cindex Filename, output
348
@option{-o filename}|@option{-out_file}
349
If set, generate monolithic document output @acronym{HTML}
350
into @file{filename}.
352
@c --------------------------------------------------------
353
@node OptionShortRef, OptionIndexSummary, OptionOutput, Options
354
@section Short Cross References
355
@cindex References, short
356
@cindex sections without numbers
357
@vindex T2H_SHORT_REF
360
if set cross-references are given without section numbers
362
@c --------------------------------------------------------
363
@node OptionIndexSummary, OptionVerbose, OptionShortRef, Options
364
@section Index Summary
365
@cindex Index, Summary
366
@cindex Summary Index
368
@vindex T2H_IDX_SUMMARY
371
If value is set, then for each @code{@@prinindex $what}
372
@file{$docu_name_$what.idx} is created which contains lines of the
373
form @strong{$key\t$ref} sorted alphabetically (case
376
@c --------------------------------------------------------
377
@node OptionVerbose, OptionLanguage, OptionIndexSummary, Options
378
@section Verbose output
379
@cindex Output, verbose
380
@cindex Verbose output
381
@cindex Debugging, verbose output
385
if set, chatter about what we are doing.
387
@c --------------------------------------------------------
388
@node OptionLanguage, OptionL2H, OptionVerbose, Options
389
@section Language Support
390
@cindex Language Support
391
@cindex Support different languages
397
@code{$T2H_WORDS->@{$T2H_LANG@}->@{...@}} as title. To add
398
a new languages, supply list of titles (see
399
@var{$T2H_WORDS}), and use ISO 639 language codes (see e.g.
400
perl module @file{Locale-Codes-1.02.tar.gz} for
403
If you don't give a @option{-lang} then we got it from the
404
Texinfo source file (@@documentlanguage
405
@c Put a table with the language codes here!
406
@c Or better put a reference into the Texinfo
407
@c Manual, which has a table of ISO 639-Codes.
409
@c Currently the @xref etc. does not work with
410
@c external documents, cause we don't know
411
@c reference (anchor) value or there is no way
413
@c The following reference does only work correctly
415
@pxref{documentlanguage,,,Texinfo}). If there is no
416
@code{@@documentlanguage} we use the default @code{en} for
419
@c put some information about Month names etc. here
421
@c Suplemental should be naming scheme for variables in
422
@c different languages (MONTH_NAMES_DE etc.)
423
@c --------------------------------------------------------
424
@node OptionL2H, , OptionLanguage, Options
425
@section La@TeX{}2HTML for @code{@@math} and @code{@@tex}
426
@cindex La@TeX{}2HTML
427
@cindex Conversion of @@math and @@tex
433
if set, uses @command{latex2html} for generation of math
437
* OptionL2HL2H:: Where to find La@TeX{}2HTML.
438
* OptionL2HSkip:: Skip calling La@TeX{}2HTML.
439
* OptionL2Htmp:: Temporary files for La@TeX{}2HTML.
442
@c --------------------------------------------------------
443
@node OptionL2HL2H, OptionL2HSkip, OptionL2H, OptionL2H
444
@subsection Where to find @command{latex2html}
445
@cindex location, La@TeX{}2HTML
446
@cindex La@TeX{}2HTML, location
450
name/location of @command{latex2html} progam.
452
@c --------------------------------------------------------
453
@node OptionL2HSkip, OptionL2Htmp, OptionL2HL2H, OptionL2H
454
@subsection Skip calling La@TeX{}2HTML
455
@cindex La@TeX{}2HTML, skip calling
459
if set, skips actual call to @command{atex2html} tries to
460
reuse previously generated content, instead.
462
@c --------------------------------------------------------
463
@node OptionL2Htmp, , OptionL2HSkip, OptionL2H
464
@subsection Temporary files for La@TeX{}2HTML
465
@cindex Temporary, La@TeX{}2HTML
466
@cindex La@TeX{}2HTML, Temporary files
470
if set, l2h uses this directory for temporarary files. The
471
path leading to this directory may not contain a dot (i.e.,
472
a "."), otherwise, l2h will fail