next up previous contents index
Next: Getting Support and More Up: Getting LATEX2HTML Previous: Requirements

Installing LATEX2HTML

 
To install LATEX2HTML you MUST do the following:
1.
Specify where Perl is on your system.
In each of the files latex2html, texexpand, pstoimg, install-test and makemap, modify the first line saying where Perl is on your system.  

Some system administrators do not allow Perl programs to run as shell scripts. This means that you may not be able to run any of the above programs. In this case change the first line in each of these programs from

#!/usr/local/bin/perl

to :
# *-*-perl-*-*
    eval 'exec perl -S  $0 "$@"'
    if $running_under_some_shell;

 

2.
In the file latex2html.config give the correct path-names for some directories (the LATEX2HTMLDIR directory and the pbmplus or netpbm library) and some executables (latex, dvips, gs).

Choose or set up the icon server as explained in the comments.

 

While you're at it you may want to change some default options in the same file.

  

3.
Run install-test.
This Perl script will make some changes in the latex2html file and then check whether the path-names to any external utilities required by latex2html are correct. It will not actually install the external utilities.
change_begin97.1
install-test asks you whether to configure for GIF or PNG image generation. Finally it creates the file local.pm which houses pathnames for the external utilities determined earlier.
change_end 97.1

Don't forget to make install-test executable (using the chmod command) if necessary, before using it. You may also need to make the files pstogif, texexpand, configure-pstoimg and latex2html executable if install-test fails to do it for you.

 

4.
If you didn't have done it before, copy the files to the named LATEX2HTMLDIR directory. The executable script latex2html may reside outside this directory.

5.
 LATEX packages: Copy the contents of the texinputs/ directory to a place where they will be found by LATEX.


change_begin97.1
Note that you must run install-test now (formerly you needn't). If you want to reconfigure LATEX2HTML for GIF/PNG image generation or because some of the external tools changed the location, run install-test again.
change_end 97.1




This is usually enough for the main installation, but you may also want to do some of the following, to ensure that advanced features of LATEX2HTML work correctly on your system:


next up previous contents index
Next: Getting Support and More Up: Getting LATEX2HTML Previous: Requirements

Generated using the LaTeX2HTML
11/2/1997