next up previous contents index
Next: Changes from Previous Versions Up: The LaTeX2HTML Translator Previous: Requirements

Installing LaTeX2HTML

To install LaTeX2HTML you MUST do the following:

  1. Specify where Perl is on your system.

    change_begin
    In each of the files latex2html, texexpand, pstogif, install-test, and makemap. modify the first line saying where Perl is on your system.


    change_end

    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. Specify where the external utilities are on your system.
    In the file latex2html.config give the correct pathnames for some directories (the latex2html directory and the pbmplus or netpbm library) and some executables (latex, dvips, gs). Note that it is possible to use LaTeX2HTML even if you don't have some of the external utilities.

    While you're at it you may want to change some of the 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 pathnames to any external utilities (specified during the previous step) are correct. It will not actually install the external utilities.

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

    If for any reason you have trouble running install-test do not despair. Most of what it does is to do with checking your installation rather than actually installing anything. To do a manual installation just change the variable LATEX2HTMLDIR in the beginning of the file latex2html to point to the directory where the LaTeX2HTML files can be found.

This is enough for the main installation but you may also want to do some of the following:


next up previous contents index
Next: Changes from Previous Versions Up: The LaTeX2HTML Translator Previous: Requirements

helpdesk
Fri May 3 11:40:17 PDT 1996