# latex2html defaults
#
# This init file will produce web pages of index.tex using frames.

# Edit this file to customize the appearance of the web pages.  You may
# also want to edit the style files index.css.

# Lines starting with "# " are comments that do not affect settings.

# Data for the frames:

# frame sizes
$NAVIGATION_HEIGHT = 37;	# Height of the navigation buttons frame
$FOOTNOTE_HEIGHT = 50;		# Height of the footnote frame (if footnotes)
$TOC_WIDTH = '25%';		# width of the table of contents frame
$IDX_WIDTH = '30%';		# width of the index frame

# Main Body window
$MAIN_VMARGIN = 3;	# main window vertical margin
$MAIN_HMARGIN = 5;	# main window horizontal margin
$MAIN_COLOR = "bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#000000\" vlink=\"#000000\" alink=\"#FF0000\"";

# Navigation window
$NAVIG_COLOR = "bgcolor=\"#F0F6FF\" text=\"#000000\" link=\"#000000\" vlink=\"#000000\" alink=\"#FF0000\"";

# Footnote window
$FOOT_COLOR = "bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#000000\" vlink=\"#000000\" alink=\"#FF0000\"";

# Table-of-Contents window
$TOC_COLOR = "bgcolor=\"#FFFEF0\" text=\"#000000\" link=\"#000000\" vlink=\"#000000\" alink=\"#FF0000\"";

# Index window, same as text window (or images might have the wrong background)
$IDX_COLOR = $MAIN_COLOR;

# extra help-frame, above the navigation panel if 0, none if 1
$NO_FRAME_HELP = 1;

# Read the document title for the browsers in l2htitle.txt

open (L2HTITLE, "l2htitle.txt") or die "Unable to read from l2htitle.txt";
$TITLE = <L2HTITLE>;
chomp $TITLE;
close (L2HTITLE);
$RUNNING_TITLE="$TITLE";	# since we lose $TITLE (!)

# Appearance:

$SHOW_SECTION_NUMBERS = 1;	# 0 = hide the numbers
$NUMBERED_FOOTNOTES = 1;	# ensure that footnotes are numbered
$TOC_STARS = 1;			# starred section in table of contents
$ADDRESS = '';			# No automatic address.  If I want one...
$COLOR_HTML = 1;		# can use colors
$WHITE_BACKGROUND = 1;		# use a white background		  
$LATEX_COLOR = "\\pagecolor[rgb]{1,1,1}";# background color for images
$INFO = 0;			# 1 = add "About this document..." section 
$default_language = 'english';	# Affects ONLY the way accents are processed 

# Splitting and navigation:

$MAX_SPLIT_DEPTH = -1;		# 0 = no splitting into multiple web pages
$TOC_DEPTH=8;			# how deep to expand the table of contents
$MAX_LINK_DEPTH = 4;		# depth of subtable of contents (0 = none)
$CHILDLINE = "<BR><HR>\n";	# separates subtable of contents from text
$NO_NAVIGATION = 0;		# 1 = no navigation panel at the top
$AUTO_NAVIGATION = 0;		# 1 = guess if there is one at the bottom
$TOP_NAVIGATION = 1;
$BOTTOM_NAVIGATION = 1;
$WORDS_IN_PAGE = 300;		# bottom navigation point in AUTO_NAVIGATION
$INDEX_IN_NAVIGATION = 1;	# 0 = no link to the index page
$CONTENTS_IN_NAVIGATION = 1;	# 0 = no link to the table of contents
$NEXT_PAGE_IN_NAVIGATION = 1;	# 0 = no link to the next logical page
$PREVIOUS_PAGE_IN_NAVIGATION = 1;# 0 = no link to the previous logical page
$WORDS_IN_NAVIGATION_PANEL_TITLES = 8;# don't cut the section names
$LINKPOINT = '"$FILE$EXTN"';	# index.html target; 0 = no index.html
$NO_FOOTNODE = 0;		# put footnotes on the same web page if 1

# Appearance

# This number will determine the size of the equations, special characters,
# and anything which will be converted into an inlined image
# *except* "image generating environments" such as "figure", "table" 
# or "minipage".
# Effective values are those greater than 0.
# Sensible values are between 0.1 - 4.
#
# Leon: Use the body font size in px, from index.css, times 0.1185 here
$MATH_SCALE_FACTOR = 1.777;

# This number, when defined, determines extra scaling for displayed equations.
# It multiplies with the $MATH_SCALE_FACTOR to give the total scaling.
# It is especially useful when \scriptscriptstyle text is used frequently,
# which would otherwise be extremely difficult to read on-screen.
#
$DISP_SCALE_FACTOR = 1.000;

# -antialias_text
# 1 =  use anti-aliasing in the generation of images of typeset material;
#      e.g. mathematics and text, e.g. in tables and {makeimage} environments.
$ANTI_ALIAS_TEXT = 1;

# This number will determine the size of 
# image generating environments such as "figure", "table" or "minipage".
# Effective values are those greater than 0.
# Sensible values are between 0.1 - 4.
$FIGURE_SCALE_FACTOR = 1.600;

# ANTI-ALIASING within generated images
# -antialias
# 1 =  use anti-aliasing in the generation of images of figures .
$ANTI_ALIAS = 1;

# variable values definitely needed for proper appearance
$ACCENT_IMAGES = 'large';	# makes images of accented letters if needed
$HTML_VERSION = '4.0,frame';	# html version should be html4_0
$NO_SIMPLE_MATH = 1;		# inconsistent math symbols if set to zero

# Replace "english" with another language in order to tell LaTeX2HTML that you 
# want some generated section titles (eg "Table of Contents" or "References")
# to appear in a different language.  See the files in the styles subdirectory.
$TITLES_LANGUAGE = "english";

# external links

# web page's external parent link and its label
$EXTERNAL_UP_LINK = 'select.html';
$EXTERNAL_UP_TITLE = 'Return';
# web page's external previous link and its label
$EXTERNAL_PREV_LINK = '';
$EXTERNAL_PREV_TITLE = '';
# web page's external next link and its label
$EXTERNAL_DOWN_LINK = '';
$EXTERNAL_DOWN_TITLE = '';

# Operational:

$PREFIX = '_';				# start of generated file names
$NO_SUBDIR = 1;				# 0 = put web pages in a subdirectory
if ($NO_SUBDIR == 0)
{
    if ("$ENV{L2H_BROWSER}" eq "c") {$DESTDIR = 'correct';}
    elsif ("$ENV{L2H_BROWSER}" eq "m") {$DESTDIR = 'mosaic';}
    elsif ("$ENV{L2H_BROWSER}" eq "e") {$DESTDIR = 'explorer';}
    elsif ("$ENV{L2H_BROWSER}" eq "g") {$DESTDIR = 'generic';}
    elsif ("$ENV{L2H_BROWSER}" eq "a") {$DESTDIR = 'style_a';}
    elsif ("$ENV{L2H_BROWSER}" eq "x") {$DESTDIR = 'style_x';}
    elsif ("$ENV{L2H_BROWSER}" eq "f") {$DESTDIR = 'style_f';}
    else {$DESTDIR = 'style_a';}
}
$REUSE = 2;			# specify the -reuse option to change this
$NOLATEX = 0;			# 1 = do not use latex even if needed
$EXTERNAL_IMAGES = 0;		# 1 = leave the images outside the document 
$ASCII_MODE = 0;		# 1 = do not use any icons or images
$PS_IMAGES = 0;			# 1 = keep images outside the web page as ps
# $DEBUG = 0;			# specify the -debug option to change this
$LOCAL_ICONS = 1;		# you *will* lose them otherwise

# Junk:

$LINE_WIDTH = 500;		# no longer used
$NETSCAPE_HTML = 0;		# don't use
$PAPERSIZE = "a4";		# changes figure handling, apparently.

### Navigation Panel ##########################################################
#
# The navigation panel is constructed out of buttons and section titles.
# These can be configured in any combination with arbitrary text and 
# HTML tags interspersed between them. 
# The buttons available are:
# $PREVIOUS - points to the previous section
# $UP  - points up to the "parent" section
# $NEXT - points to the next section
# $NEXT_GROUP - points to the next "group" section
# $PREVIOUS_GROUP - points to the previous "group" section
# $CONTENTS - points to the contents page if there is one
# $INDEX - points to the index page if there is one
#
# If the corresponding section exists the button will contain an
# active link to that section. If the corresponding section does
# not exist the button will be inactive.
#
# Also for each of the $PREVIOUS $UP $NEXT $NEXT_GROUP and $PREVIOUS_GROUP
# buttons there are equivalent $PREVIOUS_TITLE, $UP_TITLE, etc variables
# which contain the titles of their corresponding sections. 
# Each title is empty if there is no corresponding section.
#
# The subroutine below constructs the navigation panels in each page.
# Feel free to mix and match buttons, titles, your own text, your logos,
# and arbitrary HTML (the "." is the Perl concatenation operator).

sub frame_navigation_panel {
    "\n<TABLE WIDTH=\"100%\" BORDER=3 CELLPADDING=2 CELLSPACING=0><TR>\n" .
    "<TD>$CUSTOM_BUTTONS $PREVIOUS $UP $NEXT \n" .
    ($NEXT_TITLE ? " To: $NEXT_TITLE\n" : "\n") .
    "</TD>\n" .
    "<TD WIDTH=65 ALIGN=\"CENTER\">$INDEX $CONTENTS</TD>\n" .
    "</TR></TABLE>\n"
}

# Where to get the icons for navigation panels, footnotes, lists,
# etcetera, and their dimensions.
$ALTERNATIVE_ICONS = "C:\\l2hsup\\iconsblu";
if ($ENV{L2HTOP}) {$ALTERNATIVE_ICONS = "$ENV{L2HTOP}/l2hsup/iconsblu";}
%iconsizes = (
	      'up','WIDTH="27" HEIGHT="24"',
	      'next','WIDTH="27" HEIGHT="24"',
	      'previous','WIDTH="27" HEIGHT="24"',
	      'next_group','WIDTH="27" HEIGHT="24"',
	      'next_inactive','WIDTH="27" HEIGHT="24"',
	      'previous_group','WIDTH="27" HEIGHT="24"',
	      'change_begin','WIDTH="104" HEIGHT="24"',
	      'change_begin_right','WIDTH="104" HEIGHT="24" ALIGN="RIGHT"',
	      'change_end','WIDTH="104" HEIGHT="24"',
	      'change_end_right','WIDTH="104" HEIGHT="24" ALIGN="RIGHT"',
	      'change_delete','WIDTH="109" HEIGHT="24"',
	      'change_delete_right','WIDTH="109" HEIGHT="24" ALIGN="RIGHT"',
	      'contents','WIDTH="27" HEIGHT="24"',
	      'index','WIDTH="27" HEIGHT="24"',
	      'image','WIDTH="48" HEIGHT="24"'
	      );

1;	# This must be the last line (a quirk of the processing system)