Installing latex2html (version 97.1)


Installing latex2html (version 97.1) The 97.1 version of latex2html was more difficult to install than previous versions. Several additional steps, many of which were tucked away in the manual, were necessary.
  1. tar -xvf the file in /usr/local/bin.
  2. Set the first line of latex2html, texexpand, pstoimg, install-test, makemap, and configure-pstoimg to indicate that perl is /usr/bin/perl.
  3. Run install-test several times - it must say "well done" or it did not finish installing. (It will quit without any error message).
  4. ln -s /usr/local/bin/latex2html-97.1 latex2html
  5. Create a file local.pm in /usr/local/bin/latex2html (this was apparently supposed to be created automatically), containing the lines:
       $GS_LIB='/usr/lib/ghostscript';
              $PPMQUANT='ppmquant';
              $PPMTOGIF='ppmtogif';
              $PPMFLIP='ppmflip';
              $PNMCAT='pnmcat';
              $HOWTO_TRANSPARENT_GIF='netpbm';
              $GS_DEVICE='ppmraw';    
              $GS='/usr/bin/gs';
              $PNMFILE='pnmfile';
              $HOWTO_INTERLACE_GIF='netpbm';
              $PBMMAKE='pbmmake';
              $PNMCROP='pnmcrop';
              $TMP='.'  
  6. Add /usr/local/netpbm to user's path in /etc/profile and SU_PATH in /etc/login.defs.
  7. Don't change latex2html.config.
  8. cp docs/html.sty .
  9. export TEXINPUTS=".:..:"
  10. The Ghostscript command 'pnmraw', referred to in the manual, doesn't seem to exist, so ppmraw was used instead.
  11. Unfortunately, we had other problems with the new version of latex2html so we eventually switched to tth.

Back