# LaTeX2HTML Version 0.3.1 Wed Sep 1 1993: dot.latex2html-init
#
### System Paramenters ##################################################

# ADD FULL PATHNAMES TO THE EXECUTABLES IF NECESSARY

$TEXEXPAND = "texexpand";	# perl script supplied with the translator
$PSTOXBM = "pstoxbm";		# supplied with the translator
$PSTOGIF = "pstogif";	        # supplied with the translator
$LATEX = "latex";
$DVIPS = "dvips";

# CHANGE THE PATHNAMES TO THE EXECUTABLES IF NECESSARY
# These set environment variables which are used by the
# pstoxbm and pstogif shell scripts.

$ENV{'GS'} = "gs";		# Ghostscript
$ENV{'PNMCROP'} = "/pbmplus/pnm/pnmcrop";
$ENV{'PBMTOXBM'} = "/pbmplus/pbm/pbmtoxbm";
$ENV{'PPMTOGIF'} = "/pbmplus/ppm/ppmtogif";
$ENV{'PSTOPPM'} = "pstoppm.ps"; # supplied with the translator

### Command Line Argument Defaults #######################################

$MAX_SPLIT_DEPTH = 8;	# Stop making separate files at this depth

$MAX_LINK_DEPTH = 4;    # Stop showing child nodes at this depth   

$NOLATEX = 0;           # 1 = do not pass unknown environments to Latex

$EXTERNAL_IMAGES = 0;   # 1 = leave the images outside the document 

$ASCII_MODE = 0;        # 1 = do not use any icons or internal images

$BIG_IMAGES_AS_GIFS = 1;      # 0 = all images will be X bitmaps 

$TITLE = $default_title;      # The default is "No Title" 

$DESTDIR = '.';         # Put the result in current directory 

# Supply your own string if you don't like the default (whoami@domainname)
$ADDRESS = "<I>$address_data[0]@$address_data[1]<\/I>";

$NONAVIGATION = 0;	# 1 = do not put a navigation panel at the top of each page

$INFO = 1;              # 0 = do not make a "About this document..." section 

# Do not try to translate these style files - add your own 
$DONT_INCLUDE = "psfig:dvipsfig:a4:epsf:memo:makeidx"; 

### Other global variables ###############################################
# Separator between the body of text in a page and the child links
$CHILDLINE = "<P>___________________________________________________";

### Icons ################################################################

# Change the following if you do not want the navigation icons
# to be served from Leeds.
# To use your own icons change the value of the $ICONSERVER variable
# to point to the place where your icons are installed and use the
# appropriate names when calling img_tag.

$ICONSERVER = 'http://cbl.leeds.ac.uk/nikos/figs';

$cross_ref_visible_mark = &img_tag('cross-ref.xbm');
$anchor_mark = &img_tag('invis_anchor.xbm');
$anchor_invisible_mark = &img_tag('invis_anchor.xbm');
$up_visible_mark = &img_tag('up.xbm'); 
$next_visible_mark = &img_tag('next.xbm'); 
$previous_visible_mark = &img_tag('previous.xbm');
$footnote_mark = &img_tag('foot.xbm');
$tex2html_icon = &img_tag('latex2html.xbm');
$extern_image_mark = &extern_image_mark;

sub extern_image_mark {
    "[IMAGE $type]";
}
sub img_tag {
    local($icon) = @_;
    join('','<IMG SRC="',$ICONSERVER,"/$icon",'">');
}

### ASCII Mode ###########################################################

# This subroutine defines the ascii strings to be used instead of the 
# icons when the translator is invoked with the -ascii_mode option.
# Please modify them if you do not like them, BUT 
# *** DO NOT USE THE SPACE CHARACTER (" ") FOR $anchor_invisible_mark ***
# (if you use " " then the cross-reference hyperlinks will not work).

sub ascii_mode {
	$cross_ref_visible_mark = "[*]";
	$anchor_mark = "[*]";
	$anchor_invisible_mark = "[*]";	# Not very invisible !!!
	$up_visible_mark = "[ ^ ]"; 
	$next_visible_mark = "[->]"; 
	$previous_visible_mark = "[<-]";
	$footnote_mark = "[+]";
	$tex2html_icon = "LaTeX2HTML";
        $extern_image_mark = &extern_image_mark;
	$EXTERNAL_IMAGES = 1;
}

### Adding commands to be ignored ########################################

# Add LaTeX commands to be ignored.
# Each command should be on a separate line and have the format:
#  <cmd_name>#{}# []# {}# [] etc. 
# {} marks a compulsory argument and [] an  optional one.
# Note that some commands may have arguments which should be left as
# text even though the command should be ignored (e.g. mbox, center, etc)

&ignore_commands( <<_IGNORED_CMDS_);
documentstyle # [] # {}
linebreak# []
center
_IGNORED_CMDS_

### Adding commands to be processed by TeX ###############################

# Commands which need to be passed, ALONG WITH THEIR ARGUMENTS, to TeX.
# The syntax is the same as that for ignore_commands above.

&process_commands_in_tex (<<_RAW_ARG_CMDS_);
fbox # {}
framebox # [] # [] # {}
_RAW_ARG_CMDS_
	
1;	# This must be the last line
