source: OGRE/trunk/ogrenew/Docs/src/ogretexi2html.init @ 692

Revision 692, 36.9 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

RevLine 
[692]1# -*-perl-*-
2######################################################################
3# File: texi2html.init
4#
5# Sets default values for command-line arguments and for various customizable
6# procedures
7#
8# A copy of this file is pasted into the beginning of texi2html by
9# 'make texi2html'
10#
11# Copy this file and make changes to it, if you like.
12# Afterwards, either, load it with command-line option -init_file <your_init_file>
13#
14# $Id: ogretexi2html.init,v 1.2 2003/09/14 23:48:52 sinbad Exp $
15
16######################################################################
17# stuff which can also be set by command-line options
18#
19#
20# Note: values set here, overwrite values set by the command-line
21# options before -init_file and might still be overwritten by
22# command-line arguments following the -init_file option
23#
24
25# T2H_OPTIONS is a hash whose keys are the (long) names of valid
26# command-line options and whose values are a hash with the following keys:
27# type    ==> one of !|=i|:i|=s|:s (see GetOpt::Long for more info)
28# linkage ==> ref to scalar, array, or subroutine (see GetOpt::Long for more info)
29# verbose ==> short description of option (displayed by -h)
30# noHelp  ==> if 1 -> for "not so important options": only print description on -h 1
31#                2 -> for obsolete options: only print description on -h 2
32
33$T2H_DEBUG = 0;
34$T2H_OPTIONS -> {debug} =
35{
36 type => '=i',
37 linkage => \$main::T2H_DEBUG,
38 verbose => 'output HTML with debuging information',
39};
40
41$T2H_DOCTYPE = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">';
42$T2H_OPTIONS -> {doctype} =
43{
44 type => '=s',
45 linkage => \$main::T2H_DOCTYPE,
46 verbose => 'document type which is output in header of HTML files',
47 noHelp => 1
48};
49
50$T2H_CHECK = 0;
51$T2H_OPTIONS -> {check} =
52{
53 type => '!',
54 linkage => \$main::T2H_CHECK,
55 verbose => 'if set, only check files and output all things that may be Texinfo commands',
56 noHelp => 1
57};
58
59# -expand
60# if set to "tex" (or, "info") expand @iftex and @tex (or, @ifinfo) sections
61# else, neither expand @iftex, @tex, nor @ifinfo sections
62$T2H_EXPAND = "info";
63$T2H_OPTIONS -> {expand} =
64{
65 type => '=s',
66 linkage => \$T2H_EXPAND,
67 verbose => 'Expand info|tex|none section of texinfo source',
68};
69
70# - glossary
71#if set, uses section named `Footnotes' for glossary
72$T2H_USE_GLOSSARY = 0;
73T2H_OPTIONS -> {glossary} =
74{
75 type => '!',
76 linkage => \$T2H_USE_GLOSSARY,
77 verbose => "if set, uses section named `Footnotes' for glossary",
78 noHelp  => 1,
79};
80
81
82# -invisible
83# $T2H_INVISIBLE_MARK is the text used to create invisible destination
84# anchors for index links (you can for instance use the invisible.xbm
85# file shipped with this program). This is a workaround for a known
86# bug of many WWW browsers, including netscape.
87# For me, it works fine without it -- on the contrary: if there, it
88# inserts space between headers and start of text (obachman 3/99)
89$T2H_INVISIBLE_MARK = '';
90# $T2H_INVISIBLE_MARK = '&#160;';
91$T2H_OPTIONS -> {invisible} =
92{
93 type => '=s',
94 linkage => \$T2H_INVISIBLE_MARK,
95 verbose => 'use text in invisble anchot',
96 noHelp  => 1,
97};
98
99# -iso
100# if set, ISO8879 characters are used for special symbols (like copyright, etc)
101$T2H_USE_ISO = 0;
102$T2H_OPTIONS -> {iso} =
103{
104 type => 'iso',
105 linkage => \$T2H_USE_ISO,
106 verbose => 'if set, ISO8879 characters are used for special symbols (like copyright, etc)',
107 noHelp => 1,
108};
109
110# -I
111# list directories where @include files are searched for (besides the
112# directory of the doc file) additional '-I' args add to this list
113@T2H_INCLUDE_DIRS = (".");
114$T2H_OPTIONS -> {I} =
115{
116 type => '=s',
117 linkage => \@T2H_INCLUDE_DIRS,
118 verbose => 'append $s to the @include search path',
119};
120
121# -top_file
122# uses file of this name for top-level file
123# extension is manipulated appropriately, if necessary.
124# If empty, <basename of document>.html is used
125# Typically, you would set this to "index.html".
126$T2H_TOP_FILE = 'index.html';
127$T2H_OPTIONS -> {top_file} =
128{
129 type => '=s',
130 linkage => \$T2H_TOP_FILE,
131 verbose => 'use $s as top file, instead of <docname>.html',
132};
133
134
135# -toc_file
136# uses file of this name for table of contents file
137# extension is manipulated appropriately, if necessary.
138# If empty, <basename of document>_toc.html is used
139$T2H_TOC_FILE = '';
140$T2H_OPTIONS -> {toc_file} =
141{
142 type => '=s',
143 linkage => \$T2H_TOC_FILE,
144 verbose => 'use $s as ToC file, instead of <docname>_toc.html',
145};
146
147# -frames
148# if set, output two additional files which use HTML 4.0 "frames".
149$T2H_FRAMES = 0;
150$T2H_OPTIONS -> {frames} =
151{
152 type => '!',
153 linkage => \$T2H_FRAMES,
154 verbose => 'output files which use HTML 4.0 frames (experimental)',
155 noHelp => 1,
156};
157
158
159# -menu | -nomenu
160# if set, show the Texinfo menus
161$T2H_SHOW_MENU = 1;
162$T2H_OPTIONS -> {menu} =
163{
164 type => '!',
165 linkage => \$T2H_SHOW_MENU,
166 verbose => 'ouput Texinfo menus',
167};
168
169# -number | -nonumber
170# if set, number sections and show section names and numbers in references
171# and menus
172$T2H_NUMBER_SECTIONS = 1;
173$T2H_OPTIONS -> {number} =
174{
175 type => '!',
176 linkage => \$T2H_NUMBER_SECTIONS,
177 verbose => 'use numbered sections'
178};
179
180# if set, and T2H_NUMBER_SECTIONS is set, then use node names in menu
181# entries, instead of section names
182$T2H_NODE_NAME_IN_MENU = 0;
183
184# if set and menu entry equals menu descr, then do not print menu descr.
185# Likewise, if node name equals entry name, do not print entry name.
186$T2H_AVOID_MENU_REDUNDANCY = 1;
187
188# -split section|chapter|none
189# if set to 'section' (resp. 'chapter') create one html file per (sub)section
190# (resp. chapter) and separate pages for Top, ToC, Overview, Index,
191# Glossary, About.
192# otherwise, create monolithic html file which contains whole document
193$T2H_SPLIT = 'section';
194$T2H_SPLIT = '';
195$T2H_OPTIONS -> {split} =
196{
197 type => '=s',
198 linkage => \$T2H_SPLIT,
199 verbose => 'split document on section|chapter else no splitting',
200};
201
202# -section_navigation|-no-section_navigation
203# if set, then navigation panels are printed at the beginning of each section
204# and, possibly at the end (depending on whether or not there were more than
205# $T2H_WORDS_IN_PAGE  words on page
206# This is most useful if you do not want to have section navigation
207# on -split chapter
208$T2H_SECTION_NAVIGATION = 1;
209$T2H_OPTIONS -> {sec_nav} =
210{
211 type => '!',
212 linkage => \$T2H_SECTION_NAVIGATION,
213 verbose => 'output navigation panels for each section',
214};
215
216# -subdir
217# if set put result files in this directory
218# if not set result files are put into current directory
219#$T2H_SUBDIR = 'html';
220$T2H_SUBDIR = '';
221$T2H_OPTIONS -> {subdir} =
222{
223 type => '=s',
224 linkage => \$T2H_SUBDIR,
225 verbose => 'put HTML files in directory $s, instead of $cwd',
226};
227
228# -short_extn
229# If this is set all HTML file will have extension ".htm" instead of
230# ".html". This is helpful when shipping the document to PC systems.
231$T2H_SHORTEXTN = 0;
232$T2H_OPTIONS -> {short_ext} =
233{
234 type => '!',
235 linkage => \$T2H_SHORTEXTN,
236 verbose => 'use "htm" extension for output HTML files',
237};
238
239
240# -prefix
241# Set the output file prefix, prepended to all .html, .gif and .pl files.
242# By default, this is the basename of the document
243$T2H_PREFIX = '';
244$T2H_OPTIONS -> {prefix} =
245{
246 type => '=s',
247 linkage => \$T2H_PREFIX,
248 verbose => 'use as prefix for output files, instead of <docname>',
249};
250
251# -o filename
252# If set, generate monolithic document output html into $filename
253$T2H_OUT = '';
254$T2H_OPTIONS -> {out_file} =
255{
256 type => '=s',
257 linkage => sub {$main::T2H_OUT = @_[1]; $T2H_SPLIT = '';},
258 verbose => 'if set, all HTML output goes into file $s',
259};
260
261# -short_ref
262#if set cross-references are given without section numbers
263$T2H_SHORT_REF = '';
264$T2H_OPTIONS -> {short_ref} =
265{
266 type => '!',
267 linkage => \$T2H_SHORT_REF,
268 verbose => 'if set, references are without section numbers',
269};
270
271# -idx_sum
272# if value is set, then for each @prinindex $what
273# $docu_name_$what.idx is created which contains lines of the form
274# $key\t$ref sorted alphabetically (case matters)
275$T2H_IDX_SUMMARY = 0;
276$T2H_OPTIONS -> {idx_sum} =
277{
278 type => '!',
279 linkage => \$T2H_IDX_SUMMARY,
280 verbose => 'if set, also output index summary',
281 noHelp  => 1,
282};
283
284# -verbose
285# if set, chatter about what we are doing
286$T2H_VERBOSE = '';
287$T2H_OPTIONS -> {Verbose} =
288{
289 type => '!',
290 linkage => \$T2H_VERBOSE,
291 verbose => 'print progress info to stdout',
292};
293
294# -lang
295# For page titles use $T2H_WORDS->{$T2H_LANG}->{...} as title.
296# To add a new language, supply list of titles (see $T2H_WORDS below).
297# and use ISO 639 language codes (see e.g. perl module Locale-Codes-1.02
298# for  definitions)
299# Default's to 'en' if not set or no @documentlanguage is specified
300$T2H_LANG = '';
301$T2H_OPTIONS -> {lang} =
302{
303 type => '=s',
304 linkage => sub {SetDocumentLanguage($_[1])},
305 verbose => 'use $s as document language (ISO 639 encoding)',
306};
307
308# -l2h
309# if set, uses latex2html for generation of math content
310$T2H_L2H = '';
311$T2H_OPTIONS -> {l2h} =
312{
313 type => '!',
314 linkage => \$T2H_L2H,
315 verbose => 'if set, uses latex2html for @math and @tex',
316};
317
318######################
319# The following options are only relevant if $T2H_L2H is set
320#
321# -l2h_l2h
322# name/location of latex2html progam
323$T2H_L2H_L2H = "latex2html";
324$T2H_OPTIONS -> {l2h_l2h} =
325{
326 type => '=s',
327 linkage => \$T2H_L2H_L2H,
328 verbose => 'program to use for latex2html translation',
329 noHelp => 1,
330};
331
332# -l2h_skip
333# if set, skips actual call to latex2html tries to reuse previously generated
334# content, instead
335$T2H_L2H_SKIP = '';
336$T2H_OPTIONS -> {l2h_skip} =
337{
338 type => '!',
339 linkage => \$T2H_L2H_SKIP,
340 verbose => 'if set, tries to reuse previously latex2html output',
341 noHelp => 1,
342};
343
344# -l2h_tmp
345# if set, l2h uses this directory for temporarary files. The path
346# leading to this directory may not contain a dot (i.e., a "."),
347# otherwise, l2h will fail
348$T2H_L2H_TMP = '';
349$T2H_OPTIONS -> {l2h_tmp} =
350{
351 type => '=s',
352 linkage => \$T2H_L2H_TMP,
353 verbose => 'if set, uses $s as temporary latex2html directory',
354 noHelp => 1,
355};
356
357# if set, cleans intermediate files (they all have the prefix $doc_l2h_)
358# of l2h
359$T2H_L2H_CLEAN = 1;
360$T2H_OPTIONS -> {l2h_clean} =
361{
362 type => '!',
363 linkage => \$T2H_L2H_CLEAN,
364 verbose => 'if set, do not keep intermediate latex2html files for later reuse',
365 noHelp => 1,
366};
367
368$T2H_OPTIONS -> {D} =
369{
370 type => '=s',
371 linkage => sub {$main::value{@_[1]} = 1;},
372 verbose => 'equivalent to Texinfo "@set $s 1"',
373 noHelp => 1,
374};
375
376$T2H_OPTIONS -> {init_file} =
377{
378 type => '=s',
379 linkage => \&LoadInitFile,
380 verbose => 'load init file $s'
381};
382
383
384##############################################################################
385#
386# The following can only be set in the init file
387#
388##############################################################################
389
390# if set, center @image by default
391# otherwise, do not center by default
392$T2H_CENTER_IMAGE = 1;
393
394# used as identation for block enclosing command @example, etc
395# If not empty, must be enclosed in <td></td>
396$T2H_EXAMPLE_INDENT_CELL = '<td>&nbsp;</td>';
397# same as above, only for @small
398$T2H_SMALL_EXAMPLE_INDENT_CELL = '<td>&nbsp;</td>';
399# font size for @small
400$T2H_SMALL_FONT_SIZE = '-1';
401
402# if non-empty, and no @..heading appeared in Top node, then
403# use this as header for top node/section, otherwise use value of
404# @settitle or @shorttitle (in that order)
405$T2H_TOP_HEADING = '';
406
407# if set, use this chapter for 'Index' button, else
408# use first chapter whose name matches 'index' (case insensitive)
409$T2H_INDEX_CHAPTER = '';
410
411# if set and $T2H_SPLIT is set, then split index pages at the next letter
412# after they have more than that many entries
413$T2H_SPLIT_INDEX = 100;
414
415# if set (e.g., to index.html) replace hrefs to this file
416# (i.e., to index.html) by ./
417$T2H_HREF_DIR_INSTEAD_FILE = '';
418
419########################################################################
420# Language dependencies:
421# To add a new language extend T2H_WORDS hash and create $T2H_<...>_WORDS hash
422# To redefine one word, simply do:
423# $T2H_WORDS->{<language>}->{<word>} = 'whatever' in your personal init file.
424#
425$T2H_WORDS_EN =
426{
427 # titles  of pages
428 'ToC_Title' => 'Table of Contents',
429 'Overview_Title' => 'Short Table of Contents',
430 'Index_Title' => 'Index',
431 'About_Title' => 'About this document',
432 'Footnotes_Title' => 'Footnotes',
433 'See' => 'See',
434 'see' => 'see',
435 'section' => 'section',
436# If necessary, we could extend this as follows:
437#  # text for buttons
438  'Top_Button' => 'Top',
439  'ToC_Button' => 'Contents',
440  'Overview_Button' => 'Overview',
441  'Index_button' => 'Index',
442  'Back_Button' => 'Back',
443  'FastBack_Button' => 'FastBack',
444  'Prev_Button' => 'Prev',
445  'Up_Button' => 'Up',
446  'Next_Button' => 'Next',
447  'Forward_Button' =>'Forward',
448  'FastWorward_Button' => 'FastForward',
449  'First_Button' => 'First',
450  'Last_Button' => 'Last',
451  'About_Button' => 'About'
452};
453
454$T2H_WORD_DE =
455{
456 'ToC_Title' => 'Inhaltsverzeichniss',
457 'Overview_Title' => 'Kurzes Inhaltsverzeichniss',
458 'Index_Title' => 'Index',
459 'About_Title' => '&Uuml;ber dieses Dokument',
460 'Footnotes_Title' => 'Fu&szlig;noten',
461 'See' => 'Siehe',
462 'see' => 'siehe',
463 'section' => 'Abschnitt',
464};
465
466$T2H_WORD_NL =
467{
468 'ToC_Title' => 'Inhoudsopgave',
469 'Overview_Title' => 'Korte inhoudsopgave',
470 'Index_Title' => 'Index', #Not sure ;-)
471 'About_Title' => 'No translation available!', #No translation available!
472 'Footnotes_Title' => 'No translation available!', #No translation available!
473 'See' => 'Zie',
474 'see' => 'zie',
475 'section' => 'sectie',
476};
477
478$T2H_WORD_ES =
479{
480 'ToC_Title' => '&iacute;ndice General',
481 'Overview_Title' => 'Resumen del Contenido',
482 'Index_Title' => 'Index', #Not sure ;-)
483 'About_Title' => 'No translation available!', #No translation available!
484 'Footnotes_Title' => 'Fu&szlig;noten',
485 'See' => 'V&eacute;ase',
486 'see' => 'v&eacute;ase',
487 'section' => 'secci&oacute;n',
488};
489
490$T2H_WORD_NO =
491{
492 'ToC_Title' => 'Innholdsfortegnelse',
493 'Overview_Title' => 'Kort innholdsfortegnelse',
494 'Index_Title' => 'Indeks', #Not sure ;-)
495 'About_Title' => 'No translation available!', #No translation available!
496 'Footnotes_Title' => 'No translation available!',
497 'See' => 'Se',
498 'see' => 'se',
499 'section' => 'avsnitt',
500};
501
502$T2H_WORD_PT =
503{
504 'ToC_Title' => 'Sum&aacute;rio',
505 'Overview_Title' => 'Breve Sum&aacute;rio',
506 'Index_Title' => '&Iacute;ndice', #Not sure ;-)
507 'About_Title' => 'No translation available!', #No translation available!
508 'Footnotes_Title' => 'No translation available!',
509 'See' => 'Veja',
510 'see' => 'veja',
511 'section' => 'Se&ccedil;&atilde;o',
512};
513
514$T2H_WORDS =
515{
516 'en' => $T2H_WORDS_EN,
517 'de' => $T2H_WORDS_DE,
518 'nl' => $T2H_WORDS_NL,
519 'es' => $T2H_WORDS_ES,
520 'no' => $T2H_WORDS_NO,
521 'pt' => $T2H_WORDS_PT
522};
523
524@MONTH_NAMES_EN =
525(
526 'January', 'February', 'March', 'April', 'May',
527 'June', 'July', 'August', 'September', 'October',
528 'November', 'December'
529);
530
531@MONTH_NAMES_DE =
532(
533 'Januar', 'Februar', 'M&auml;rz', 'April', 'Mai',
534 'Juni', 'Juli', 'August', 'September', 'Oktober',
535 'November', 'Dezember'
536);
537
538@MONTH_NAMES_NL =
539(
540 'Januari', 'Februari', 'Maart', 'April', 'Mei',
541 'Juni', 'Juli', 'Augustus', 'September', 'Oktober',
542 'November', 'December'
543);
544
545@MONTH_NAMES_ES =
546(
547 'enero', 'febrero', 'marzo', 'abril', 'mayo',
548 'junio', 'julio', 'agosto', 'septiembre', 'octubre',
549 'noviembre', 'diciembre'
550);
551
552@MONTH_NAMES_NO =
553(
554
555 'januar', 'februar', 'mars', 'april', 'mai',
556 'juni', 'juli', 'august', 'september', 'oktober',
557 'november', 'desember'
558);
559
560@MONTH_NAMES_PT =
561(
562 'Janeiro', 'Fevereiro', 'Mar&ccedil;o', 'Abril', 'Maio',
563 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro',
564 'Novembro', 'Dezembro'
565);
566
567
568$MONTH_NAMES =
569{
570    'en' => \@MONTH_NAMES_EN,
571    'de' => \@MONTH_NAMES_DE,
572    'es' => \@MONTH_NAMES_ES,
573    'nl' => \@MONTH_NAMES_NL,
574    'no' => \@MONTH_NAMES_NO,
575    'pt' => \@MONTH_NAMES_PT
576};
577########################################################################
578# Control of Page layout:
579# You can make changes of the Page layout at two levels:
580# 1.) For small changes, it is often enough to change the value of
581#     some global string/hash/array variables
582# 2.) For larger changes, reimplement one of the T2H_DEFAULT_<fnc>* routines,
583#     give them another name, and assign them to the respective
584#     $T2H_<fnc> variable.
585
586# As a general interface, the hashes T2H_HREF, T2H_NAME, T2H_NODE hold
587# href, html-name, node-name of
588# This     -- current section (resp. html page)
589# Top      -- top page ($T2H_TOP_FILE)
590# Contents -- Table of contents
591# Overview -- Short table of contents
592# Index    -- Index page
593# About    -- page which explain "navigation buttons"
594# First    -- first node
595# Last     -- last node
596#
597# Whether or not the following hash values are set, depends on the context
598# (all values are w.r.t. 'This' section)
599# Next        -- next node of texinfo
600# Prev        -- previous node of texinfo
601# Up          -- up node of texinfo
602# Forward     -- next node in reading order
603# Back        -- previous node in reading order
604# FastForward -- if leave node, up and next, else next node
605# FastBackward-- if leave node, up and prev, else prev node
606#
607# Furthermore, the following global variabels are set:
608# $T2H_THISDOC{title}     -- title as set by @setttile
609# $T2H_THISDOC{fulltitle} -- full title as set by @title...
610# $T2H_THISDOC{subtitle}  -- subtitle as set by @subtitle
611# $T2H_THISDOC{author}    -- author as set by @author
612#
613# and pointer to arrays of lines which need to be printed by t2h_print_lines
614# $T2H_OVERVIEW      -- lines of short table of contents
615# $T2H_TOC           -- lines of table of contents
616# $T2H_TOP           -- lines of Top texinfo node
617# $T2H_THIS_SECTION  -- lines of 'This' section
618
619#
620# There are the following subs which control the layout:
621#
622$T2H_print_section            = \&T2H_DEFAULT_print_section;
623$T2H_print_Top_header         = \&T2H_DEFAULT_print_Top_header;       
624$T2H_print_Top_footer         = \&T2H_DEFAULT_print_Top_footer;       
625$T2H_print_Top                = \&T2H_DEFAULT_print_Top;             
626$T2H_print_Toc                = \&T2H_DEFAULT_print_Toc;             
627$T2H_print_Overview           = \&T2H_DEFAULT_print_Overview;         
628$T2H_print_Footnotes          = \&T2H_DEFAULT_print_Footnotes;       
629$T2H_print_About              = \&T2H_DEFAULT_print_About;           
630$T2H_print_misc_header        = \&T2H_DEFAULT_print_misc_header;     
631$T2H_print_misc_footer        = \&T2H_DEFAULT_print_misc_footer;     
632$T2H_print_misc               = \&T2H_DEFAULT_print_misc;
633$T2H_print_chapter_header     = \&T2H_DEFAULT_print_chapter_header;     
634$T2H_print_chapter_footer     = \&T2H_DEFAULT_print_chapter_footer;     
635$T2H_print_page_head          = \&T2H_DEFAULT_print_page_head;       
636$T2H_print_page_foot          = \&T2H_DEFAULT_print_page_foot;       
637$T2H_print_head_navigation    = \&T2H_DEFAULT_print_head_navigation; 
638$T2H_print_foot_navigation    = \&T2H_DEFAULT_print_foot_navigation; 
639$T2H_button_icon_img          = \&T2H_DEFAULT_button_icon_img;       
640$T2H_print_navigation         = \&T2H_DEFAULT_print_navigation;       
641$T2H_about_body               = \&T2H_DEFAULT_about_body;           
642$T2H_print_frame              = \&T2H_DEFAULT_print_frame;
643$T2H_print_toc_frame          = \&T2H_DEFAULT_print_toc_frame;
644
645########################################################################
646# Layout for html for every sections
647#
648sub T2H_DEFAULT_print_section
649{
650  my $fh = shift;
651  local $T2H_BUTTONS = \@T2H_SECTION_BUTTONS;
652  &$T2H_print_head_navigation($fh) if $T2H_SECTION_NAVIGATION;
653  my $nw = t2h_print_lines($fh);
654  if ($T2H_SPLIT eq 'section' && $T2H_SECTION_NAVIGATION)
655  {
656    &$T2H_print_foot_navigation($fh, $nw);
657  }
658  else
659  {
660    print $fh '<HR SIZE="6">' . "\n";
661  }
662}
663
664###################################################################
665# Layout of top-page I recommend that you use @ifnothtml, @ifhtml,
666# @html within the Top texinfo node to specify content of top-level
667# page.
668#
669# If you enclose everything in @ifnothtml, then title, subtitle,
670# author and overview is printed
671# T2H_HREF of Next, Prev, Up, Forward, Back are not defined
672# if $T2H_SPLIT then Top page is in its own html file
673sub T2H_DEFAULT_print_Top_header
674{
675  &$T2H_print_page_head(@_) if $T2H_SPLIT;
676  t2h_print_label(@_); # this needs to be called, otherwise no label set
677  &$T2H_print_head_navigation(@_);
678}
679sub T2H_DEFAULT_print_Top_footer
680{
681  &$T2H_print_foot_navigation(@_);
682  &$T2H_print_page_foot(@_) if $T2H_SPLIT;
683}
684sub T2H_DEFAULT_print_Top
685{
686  my $fh = shift;
687
688  # for redefining navigation buttons use:
689  # local $T2H_BUTTONS = [...];
690  # as it is, 'Top', 'Contents', 'Index', 'About' are printed
691  local $T2H_BUTTONS = \@T2H_MISC_BUTTONS;
692  &$T2H_print_Top_header($fh);
693  if ($T2H_THIS_SECTION)
694  {
695    # if top-level node has content, then print it with extra header
696    print $fh "<H1>$T2H_NAME{Top}</H1>"
697      unless ($T2H_HAS_TOP_HEADING);
698    t2h_print_lines($fh, $T2H_THIS_SECTION)
699  }
700  else
701  {
702    # top-level node is fully enclosed in @ifnothtml
703    # print fulltitle, subtitle, author, Overview
704    print $fh
705      "<CENTER>\n<H1>" .
706      join("</H1>\n<H1>", split(/\n/,  $T2H_THISDOC{fulltitle})) .
707      "</H1>\n";
708    print $fh "<H2>$T2H_THISDOC{subtitle}</H2>\n" if $T2H_THISDOC{subtitle};
709    print $fh "$T2H_THISDOC{author}\n" if $T2H_THISDOC{author};
710    print $fh <<EOT;
711</CENTER>
712<HR>
713<P></P> 
714<H2> Overview: </H2>
715<BLOCKQUOTE> 
716EOT
717    t2h_print_lines($fh, $T2H_OVERVIEW);
718    print $fh "</BLOCKQUOTE>\n";
719  }
720  &$T2H_print_Top_footer($fh);
721}
722
723###################################################################
724# Layout of Toc, Overview, and Footnotes pages
725# By default, we use "normal" layout
726# T2H_HREF of Next, Prev, Up, Forward, Back, etc are not defined
727# use: local $T2H_BUTTONS = [...] to redefine navigation buttons
728sub T2H_DEFAULT_print_Toc
729{
730  return &$T2H_print_misc(@_);
731}
732sub T2H_DEFAULT_print_Overview
733{
734  return &$T2H_print_misc(@_);
735}
736sub T2H_DEFAULT_print_Footnotes
737{
738  return &$T2H_print_misc(@_);
739}
740sub T2H_DEFAULT_print_About
741{
742  return &$T2H_print_misc(@_);
743}
744
745sub T2H_DEFAULT_print_misc_header
746{
747  &$T2H_print_page_head(@_) if $T2H_SPLIT;
748  # this needs to be called, otherwise, no labels are set
749  t2h_print_label(@_);
750  &$T2H_print_head_navigation(@_);
751}
752sub T2H_DEFAULT_print_misc_footer
753{
754  &$T2H_print_foot_navigation(@_);
755  &$T2H_print_page_foot(@_) if $T2H_SPLIT;
756}
757sub T2H_DEFAULT_print_misc
758{
759  my $fh = shift;
760  local $T2H_BUTTONS = \@T2H_MISC_BUTTONS;
761  &$T2H_print_misc_header($fh);
762  print $fh "<H1>$T2H_NAME{This}</H1>\n";
763  t2h_print_lines($fh);
764  &$T2H_print_misc_footer($fh);
765}
766
767###################################################################
768# chapter_header and chapter_footer are only called if
769# T2H_SPLIT eq 'chapter'
770# chapter_header: after print_page_header, before print_section
771# chapter_footer: after print_section of last section, before print_page_footer
772#
773# If you want to get rid of navigation stuff after each section,
774# redefine print_section such that it does not call print_navigation,
775# and put print_navigation into print_chapter_header
776@T2H_CHAPTER_BUTTONS =
777  (
778   'FastBack', 'FastForward', ' ',
779   ' ', ' ', ' ', ' ',
780   'Top', 'Contents', 'Index', 'About',
781  );
782
783sub T2H_DEFAULT_print_chapter_header
784{
785  # nothing to do there, by default
786  if (! $T2H_SECTION_NAVIGATION)
787  {
788    my $fh = shift;
789    local $T2H_BUTTONS = \@T2H_CHAPTER_BUTTONS;
790    &$T2H_print_navigation($fh);
791    print $fh "\n<HR SIZE=2>\n";
792  }
793}
794
795sub T2H_DEFAULT_print_chapter_footer
796{
797  local $T2H_BUTTONS = \@T2H_CHAPTER_BUTTONS;
798  &$T2H_print_navigation(@_);
799}
800###################################################################
801$T2H_TODAY = &pretty_date;              # like "20 September 1993"
802
803sub pretty_date {
804    local($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst);
805
806    ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
807    $year += ($year < 70) ? 2000 : 1900;
808    # obachman: Let's do it as the Americans do
809    return($MONTH_NAMES->{$T2H_LANG}[$mon] . ", " . $mday . " " . $year);
810}
811
812
813###################################################################
814# Layout of standard header and footer
815#
816
817# Set the default body text, inserted between <BODY ... >
818###$T2H_BODYTEXT = 'LANG="EN" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"';
819$T2H_BODYTEXT = 'LANG="' . $T2H_LANG . '" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"';
820# text inserted after <BODY ...>
821$T2H_AFTER_BODY_OPEN = '';
822#text inserted before </BODY>
823$T2H_PRE_BODY_CLOSE = '';
824# this is used in footer
825$T2H_ADDRESS = "by <I>$T2H_USER</I> " if $T2H_USER;
826$T2H_ADDRESS .= "on <I>$T2H_TODAY</I>";
827# this is added inside <HEAD></HEAD> after <TITLE> and some META NAME stuff
828# can be used for <style> <script>, <meta> tags
829$T2H_EXTRA_HEAD = '<LINK TYPE="text/css" rel="stylesheet" href="../style.css"> ';
830
831sub T2H_DEFAULT_print_page_head
832{
833  my $fh = shift;
834  my $longtitle = "$T2H_THISDOC{title}: $T2H_NAME{This}";
835  print $fh <<EOT;
836<HTML>
837$T2H_DOCTYPE
838<!-- Created on $T2H_TODAY by $THISPROG -->
839<!--
840$T2H_AUTHORS
841-->
842<HEAD>
843<TITLE>$longtitle</TITLE>
844
845<META NAME="description" CONTENT="$longtitle">
846<META NAME="keywords" CONTENT="$longtitle">
847<META NAME="resource-type" CONTENT="document">
848<META NAME="distribution" CONTENT="global">
849<META NAME="Generator" CONTENT="$THISPROG">
850$T2H_EXTRA_HEAD
851</HEAD>
852
853<BODY $T2H_BODYTEXT>
854$T2H_AFTER_BODY_OPEN
855EOT
856}
857
858sub T2H_DEFAULT_print_page_foot
859{
860  my $fh = shift;
861  print $fh <<EOT;
862<BR> 
863<FONT SIZE="-1">
864This document was generated
865$T2H_ADDRESS
866using <A HREF="$T2H_HOMEPAGE"><I>texi2html</I></A>
867$T2H_PRE_BODY_CLOSE
868</BODY>
869</HTML>
870EOT
871}
872
873###################################################################
874# Layout of navigation panel
875
876# if this is set, then a vertical navigation panel is used
877$T2H_VERTICAL_HEAD_NAVIGATION = 0;
878sub T2H_DEFAULT_print_head_navigation
879{
880  my $fh = shift;
881  if ($T2H_VERTICAL_HEAD_NAVIGATION)
882  {
883    print $fh <<EOT;
884<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
885<TR VALIGN="TOP">
886<TD ALIGN="LEFT">
887EOT
888  }
889  &$T2H_print_navigation($fh, $T2H_VERTICAL_HEAD_NAVIGATION);
890  if ($T2H_VERTICAL_HEAD_NAVIGATION)
891  {
892    print $fh <<EOT;
893</TD>
894<TD ALIGN="LEFT">
895EOT
896  }
897  elsif ($T2H_SPLIT eq 'section')
898  {
899    print $fh "<HR SIZE=1>\n";
900  }
901}
902
903# Specifies the minimum page length required before a navigation panel
904# is placed at the bottom of a page (the default is that of latex2html)
905# T2H_THIS_WORDS_IN_PAGE holds number of words of current page
906$T2H_WORDS_IN_PAGE = 300;
907sub T2H_DEFAULT_print_foot_navigation
908{
909  my $fh = shift;
910  my $nwords = shift;
911  if ($T2H_VERTICAL_HEAD_NAVIGATION)
912  {
913    print $fh <<EOT;
914</TD>
915</TR>
916</TABLE>
917EOT
918  }
919  print $fh "<HR SIZE=1>\n";
920  &$T2H_print_navigation($fh) if ($nwords >= $T2H_WORDS_IN_PAGE)
921}
922
923######################################################################
924# navigation panel
925#
926# specify in this array which "buttons" should appear in which order
927# in the navigation panel for sections; use ' ' for empty buttons (space)
928@T2H_SECTION_BUTTONS =
929  (
930   'Back', 'Up', 'Forward', ' ', ' ', ' ', 
931   ' ', ' ', ' ', ' ',
932   'Top', 'Contents', 'Index', 'About',
933  );
934
935# buttons for misc stuff
936@T2H_MISC_BUTTONS = ('Top', 'Contents', 'Index', 'About');
937
938# insert here name of icon images for buttons
939# Icons are used, if $T2H_ICONS and resp. value are set
940%T2H_ACTIVE_ICONS =
941  (
942   'Top',      '',
943   'Contents', '',
944   'Overview', '',
945   'Index',    '',
946   'Back',     '',
947   'FastBack', '',
948   'Prev',     '',
949   'Up',       '',
950   'Next',     '',
951   'Forward',  '',
952   'FastForward', '',
953   'About' ,    '',
954   'First',    '',
955   'Last',     '',
956   ' ',        ''
957  );
958
959# insert here name of icon images for these, if button is inactive
960%T2H_PASSIVE_ICONS =
961  (
962   'Top',      '',
963   'Contents', '',
964   'Overview', '',
965   'Index',    '',
966   'Back',     '',
967   'FastBack', '',
968   'Prev',     '',
969   'Up',       '',
970   'Next',     '',
971   'Forward',  '',
972   'FastForward', '',
973   'About',     '',
974   'First',    '',
975   'Last',     '',
976  );
977
978# how to create IMG tag
979sub T2H_DEFAULT_button_icon_img
980{
981  my $button = shift;
982  my $icon = shift;
983  my $name = shift;
984  return qq{<IMG SRC="$icon" BORDER="0" ALT="$button: $name" ALIGN="MIDDLE">};
985}
986
987# Names of text as alternative for icons
988%T2H_NAVIGATION_TEXT =
989  (
990   'Top',      'Top',
991   'Contents', 'Contents',
992   'Overview', 'Overview',
993   'Index',    'Index',
994   ' ',        ' &nbsp; ',
995   'Back',     ' &lt; ',
996   'FastBack', ' &lt;&lt; ',
997   'Prev',     'Prev',
998   'Up',       ' Up ',
999   'Next',     'Next',
1000   'Forward',  ' &gt; ',
1001   'FastForward',  ' &gt;&gt; ',
1002   'About',     ' ? ',
1003   'First',    ' |&lt; ',
1004   'Last',     ' &gt;| '
1005  );
1006
1007sub T2H_DEFAULT_print_navigation
1008{
1009  my $fh = shift;
1010  my $vertical = shift;
1011  my $spacing = 1;
1012  print $fh "<TABLE CELLPADDING=$spacing CELLSPACING=$spacing BORDER=0>\n";
1013
1014  print $fh "<TR>" unless $vertical;
1015  for $button (@$T2H_BUTTONS)
1016  {
1017    print $fh qq{<TR VALIGN="TOP" ALIGN="LEFT">\n} if $vertical;
1018    print $fh qq{<TD VALIGN="MIDDLE" ALIGN="LEFT">};
1019
1020    if (ref($button) eq 'CODE')
1021    {
1022      &$button($fh, $vertical);
1023    }
1024    elsif ($button eq ' ')
1025    { # handle space button
1026      print $fh
1027        $T2H_ICONS && $T2H_ACTIVE_ICONS{' '} ?
1028         &$T2H_button_icon_img($button, $T2H_ACTIVE_ICONS{' '}) :
1029         $T2H_NAVIGATION_TEXT{' '};
1030      next;
1031    }
1032    elsif ($T2H_HREF{$button})
1033    { # button is active
1034      print $fh   
1035         $T2H_ICONS && $T2H_ACTIVE_ICONS{$button} ? # use icon ?
1036           t2h_anchor('', $T2H_HREF{$button},  # yes
1037                    &$T2H_button_icon_img($button,
1038                                        $T2H_ACTIVE_ICONS{$button},
1039                                        $T2H_NAME{$button}))
1040         : # use text
1041         "[" .
1042         t2h_anchor('', $T2H_HREF{$button}, $T2H_NAVIGATION_TEXT{$button}) .
1043         "]"; 
1044    }
1045    else
1046    { # button is passive
1047      print $fh
1048        $T2H_ICONS && $T2H_PASSIVE_ICONS{$button} ?
1049         &$T2H_button_icon_img($button,
1050                               $T2H_PASSIVE_ICONS{$button},
1051                               $T2H_NAME{$button}) :
1052         
1053         "[" . $T2H_NAVIGATION_TEXT{$button} . "]";
1054    }
1055    print $fh "</TD>\n";
1056    print $fh "</TR>\n" if $vertical;
1057  }
1058  print $fh "</TR>" unless $vertical;
1059  print $fh "</TABLE>\n";
1060}
1061
1062######################################################################
1063# Frames: this is from "Richard Y. Kim" <ryk@coho.net>
1064# Should be improved to be more conforming to other _print* functions
1065
1066sub T2H_DEFAULT_print_frame
1067{
1068  my $fh = shift;
1069  print $fh <<EOT;
1070<HTML>
1071<HEAD><TITLE>$T2H_THISDOC{title}</TITLE></HEAD>
1072<FRAMESET cols="140,*"> 
1073  <FRAME name=toc  src="$docu_toc_frame_file">
1074  <FRAME name=main src="$docu_doc">
1075</FRAMESET>
1076</HTML>
1077EOT
1078}
1079
1080sub T2H_DEFAULT_print_toc_frame
1081{
1082  my $fh = shift;
1083  &$T2H_print_page_head($fh);
1084  print $fh <<EOT;
1085<H2>Content</H2>
1086EOT
1087  print $fh map {s/HREF=/target=\"main\" HREF=/; $_;} @stoc_lines;
1088  print $fh "</BODY></HTML>\n";
1089}
1090
1091######################################################################
1092# About page
1093#
1094
1095# T2H_PRE_ABOUT might be a function
1096$T2H_PRE_ABOUT = <<EOT;
1097This document was generated $T2H_ADDRESS
1098using <A HREF="$T2H_HOMEPAGE"><I>texi2html</I></A>
1099<P></P> 
1100EOT
1101$T2H_AFTER_ABOUT = '';
1102
1103sub T2H_DEFAULT_about_body
1104{
1105  my $about;
1106  if (ref($T2H_PRE_ABOUT) eq 'CODE')
1107  {
1108    $about = &$T2H_PRE_ABOUT();
1109  }
1110  else
1111  {
1112    $about = $T2H_PRE_ABOUT;
1113  }
1114  $about .= <<EOT;
1115The buttons in the navigation panels have the following meaning:
1116<P></P>
1117<table border = "1">
1118<TR>
1119<TH> Button </TH>
1120<TH> Name </TH>
1121<TH> Go to </TH>
1122<TH> From 1.2.3 go to</TH>
1123</TR>
1124EOT
1125 
1126  for $button (@T2H_SECTION_BUTTONS)
1127  {
1128    next if $button eq ' ' || ref($button) eq 'CODE';
1129    $about .= <<EOT;
1130<TR>
1131<TD ALIGN="CENTER">
1132EOT
1133    $about .=   
1134      ($T2H_ICONS && $T2H_ACTIVE_ICONS{$button} ?
1135       &$T2H_button_icon_img($button, $T2H_ACTIVE_ICONS{$button}) :
1136       " [" . $T2H_NAVIGATION_TEXT{$button} . "] ");
1137    $about .= <<EOT;
1138</TD>
1139<TD ALIGN="CENTER">
1140$button
1141</TD>
1142<TD>
1143$T2H_BUTTONS_GOTO{$button}
1144</TD>
1145<TD>
1146$T2H_BUTTONS_EXAMPLE{$button}
1147</TD>
1148</TR>
1149EOT
1150  }
1151
1152  $about .= <<EOT;
1153</TABLE>
1154<P></P>
1155where the <STRONG> Example </STRONG> assumes that the current position
1156is at <STRONG> Subsubsection One-Two-Three </STRONG> of a document of
1157the following structure:
1158<UL>
1159<LI> 1. Section One  </LI>
1160<UL>
1161<LI>1.1 Subsection One-One</LI>
1162<UL>
1163<LI> ... </LI>
1164</UL>
1165<LI>1.2 Subsection One-Two</LI>
1166<UL>
1167<LI>1.2.1 Subsubsection One-Two-One
1168</LI><LI>1.2.2 Subsubsection One-Two-Two
1169</LI><LI>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp; <STRONG>
1170&lt;== Current Position </STRONG>
1171</LI><LI>1.2.4 Subsubsection One-Two-Four
1172</LI></UL>
1173<LI>1.3 Subsection One-Three</LI>
1174<UL>
1175<LI> ... </LI>
1176</UL>
1177<LI>1.4 Subsection One-Four</LI>
1178</UL>
1179</UL>
1180$T2H_AFTER_ABOUT
1181EOT
1182  return $about; 
1183}
1184
1185 
1186%T2H_BUTTONS_GOTO =
1187  (
1188   'Top',      'cover (top) of document',
1189   'Contents', 'table of contents',
1190   'Overview', 'short table of contents',
1191   'Index',    'concept index',
1192   'Back',     'previous section in reading order',
1193   'FastBack', 'previous or up-and-previous section ',
1194   'Prev',     'previous section same level',
1195   'Up',       'up section',
1196   'Next',     'next section same level',
1197   'Forward',  'next section in reading order',
1198   'FastForward', 'next or up-and-next section',
1199   'About' ,    'this page',
1200   'First',    'first section in reading order',
1201   'Last',     'last section in reading order',
1202  );
1203
1204%T2H_BUTTONS_EXAMPLE =
1205(
1206   'Top',      ' &nbsp; ',
1207   'Contents', ' &nbsp; ',
1208   'Overview', ' &nbsp; ',
1209   'Index',    ' &nbsp; ',
1210   'Back',     '1.2.2',
1211   'FastBack', '1.1',
1212   'Prev',     '1.2.2',
1213   'Up',       '1.2',
1214   'Next',     '1.2.4',
1215   'Forward',  '1.2.4',
1216   'FastForward', '1.3',
1217   'About',     ' &nbsp; ',
1218   'First',    '1.',
1219   'Last',     '1.2.4',
1220);
1221
1222
1223######################################################################
1224# from here on, its l2h init stuff
1225#
1226
1227## initialization for latex2html as for Singular manual generation
1228## obachman 3/99
1229
1230#
1231# Options controlling Titles, File-Names, Tracing and Sectioning
1232#
1233$TITLE = '';
1234
1235$SHORTEXTN = 0;
1236
1237$LONG_TITLES = 0;
1238
1239$DESTDIR = ''; # should be overwritten by cmd-line argument
1240
1241$NO_SUBDIR = 0;# should be overwritten by cmd-line argument
1242
1243$PREFIX = '';  # should be overwritten by cmd-line argument
1244
1245$AUTO_PREFIX = 0; # this is needed, so that prefix settings are used
1246
1247$AUTO_LINK = 0;
1248
1249$SPLIT = 0;
1250
1251$MAX_LINK_DEPTH = 0;
1252
1253$TMP = ''; # should be overwritten by cmd-line argument
1254
1255$DEBUG = 0;
1256
1257$VERBOSE = 1;
1258
1259#
1260# Options controlling Extensions and Special Features
1261#
1262$HTML_VERSION = "3.2";
1263
1264$TEXDEFS = 1; # we absolutely need that
1265
1266$EXTERNAL_FILE = '';
1267
1268$SCALABLE_FONTS = 1;
1269
1270$NO_SIMPLE_MATH = 1;
1271
1272$LOCAL_ICONS = 1;
1273
1274$SHORT_INDEX = 0;
1275
1276$NO_FOOTNODE = 1;
1277
1278$ADDRESS = '';
1279
1280$INFO = '';
1281
1282#
1283# Switches controlling Image Generation
1284#
1285$ASCII_MODE = 0;
1286
1287$NOLATEX = 0;
1288
1289$EXTERNAL_IMAGES = 0;
1290
1291$PS_IMAGES = 0;
1292
1293$NO_IMAGES = 0;
1294
1295$IMAGES_ONLY = 0;
1296
1297$REUSE = 2;
1298
1299$ANTI_ALIAS = 1;
1300
1301$ANTI_ALIAS_TEXT = 1;
1302
1303#
1304#Switches controlling Navigation Panels
1305#
1306$NO_NAVIGATION = 1;
1307$ADDRESS = '';
1308$INFO = 0;              # 0 = do not make a "About this document..." section
1309
1310#
1311#Switches for Linking to other documents
1312#
1313# actuall -- we don't care
1314
1315$MAX_SPLIT_DEPTH = 0;   # Stop making separate files at this depth
1316
1317$MAX_LINK_DEPTH = 0;    # Stop showing child nodes at this depth   
1318
1319$NOLATEX = 0;           # 1 = do not pass unknown environments to Latex
1320
1321$EXTERNAL_IMAGES = 0;   # 1 = leave the images outside the document
1322
1323$ASCII_MODE = 0;        # 1 = do not use any icons or internal images
1324
1325# 1 =  use links to external postscript images rather than inlined bitmap
1326# images.
1327$PS_IMAGES = 0;
1328$SHOW_SECTION_NUMBERS = 0;
1329
1330### Other global variables ###############################################
1331$CHILDLINE = "";
1332
1333# This is the line width measured in pixels and it is used to right justify
1334# equations and equation arrays;
1335$LINE_WIDTH = 500;             
1336
1337# Used in conjunction with AUTO_NAVIGATION
1338$WORDS_IN_PAGE = 300;   
1339
1340# Affects ONLY the way accents are processed
1341$default_language = 'english'; 
1342
1343# The value of this variable determines how many words to use in each
1344# title that is added to the navigation panel (see below)
1345#
1346$WORDS_IN_NAVIGATION_PANEL_TITLES = 1;
1347
1348# This number will determine the size of the equations, special characters,
1349# and anything which will be converted into an inlined image
1350# *except* "image generating environments" such as "figure", "table"
1351# or "minipage".
1352# Effective values are those greater than 0.
1353# Sensible values are between 0.1 - 4.
1354$MATH_SCALE_FACTOR = 1.5;
1355
1356# This number will determine the size of
1357# image generating environments such as "figure", "table" or "minipage".
1358# Effective values are those greater than 0.
1359# Sensible values are between 0.1 - 4.
1360$FIGURE_SCALE_FACTOR = 1.6;
1361
1362
1363#  If both of the following two variables are set then the "Up" button
1364#  of the navigation panel in the first node/page of a converted document
1365#  will point to $EXTERNAL_UP_LINK. $EXTERNAL_UP_TITLE should be set
1366#  to some text which describes this external link.
1367$EXTERNAL_UP_LINK = "../Readme.html";
1368$EXTERNAL_UP_TITLE = "Up to OGRE Readme";
1369
1370# If this is set then the resulting HTML will look marginally better if viewed
1371# with Netscape.
1372$NETSCAPE_HTML = 1;
1373
1374# Valid paper sizes are "letter", "legal", "a4","a3","a2" and "a0"
1375# Paper sizes has no effect other than in the time it takes to create inlined
1376# images and in whether large images can be created at all ie
1377#  - larger paper sizes *MAY* help with large image problems
1378#  - smaller paper sizes are quicker to handle
1379$PAPERSIZE = "a4";
1380
1381# Replace "english" with another language in order to tell LaTeX2HTML that you
1382# want some generated section titles (eg "Table of Contents" or "References")
1383# to appear in a different language. Currently only "english" and "french"
1384# is supported but it is very easy to add your own. See the example in the
1385# file "latex2html.config"
1386$TITLES_LANGUAGE = "english";
1387
13881;      # This must be the last non-comment line
1389
1390# End File texi2html.init
1391######################################################################
1392
Note: See TracBrowser for help on using the repository browser.