The LaTeX2HTML Translator | Drakos/Moore |
To: Getting Support and More Information |
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;
You might need to make install-test executable before using it.
chmod +x install-test
to do this.
You may also need to make the files pstogif, texexpand, configure-pstoimg and latex2html executable if install-test fails to do it for you.
$HOME/.latex2html-init
.
Note that you must run install-test now; formerly you could manage without. If you want to reconfigure LATEX2HTML for GIF/PNG image generation, or because some of the external tools changed the location, simply rerun configure-pstoimg.
The environment variable TEXINPUTS is not to be confused with the LATEX2HTML installation variable $TEXINPUTS described next.
It may also be necessary to edit the MakeTeXPK script, to recognise this mode at the appropriate resolution.
If you have PostScript fonts available for use with LATEX and dvips then you can probably ignore the above complications and simply set $PK_GENERATION to ``0'' and $DVIPS_MODE to "" (the empty string). You must also make sure that gs has the locations of the fonts recorded in its gs_fonts.ps file. This should already be the case where GS-Preview is installed as the viewer for .dvi-files, using the PostScript fonts.
If dvips does not support the -mode switch, then leave $DVIPS_MODE undefined, and verify that the .dvipsrc file points to the correct screen device and its resolution.
You can also set up a ``per directory'' initialization file by copying a version of .latex2html-init in each directory you would like it to be effective. An initialization file /X/Y/Z/.latex2html-init will take precedence over all other initialization files if /X/Y/Z is the ``current directory'' when LATEX2HTML is invoked.
Warning: This initialization file is incompatible with any version of LATEX2HTML prior to V96.1. Users must either update this file in their home directory, or delete it altogether.
Warnings: If you cannot do that, bear in mind that these icons will have to travel from Livermore, California!!! Also note that several more icons were added in V96.1 that were not present in earlier versions of LATEX2HTML.
make manual.dvi
This initiates the following sequence of commands:
latex manual.tex makeindex -s l2hidx.ist manual.idx makeindex -s l2hglo.ist -o manual.gls manual.glo latex manual.tex latex manual.tex...in which the two configuration files l2hidx.ist and l2hglo.ist for the makeindex program, are used to create the index and glossary respectively. The 2nd run of latex is needed to assimilate references, etc. and include the index and glossary.
Next, the HTML version is obtained by typing:
make manual.html
This initiates a series of calls to LATEX2HTML on the separate segments of the manual; the full manual is thus created as a ``segmented document'' (see a later section). The whole process may take quite some time, as each segment needs to be processed at least twice, to collect the cross-references from other segments.
The files necessary for correct typesetting of the manual to be
found within the docs/ subdirectory.
They are as follows:
The last three can be derived from the others, but are included for convenience.
To get a printed version of the `Changes' section:
Due to the burgeoning size of the Changes file with successive
revisions of LATEX2HTML, the `Changes' section is no longer
supported for the manual.
Please refer to text file Changes instead which is part of the
distribution.
To: Getting Support and More Information |
Ross Moore 1991-03-26 | Processed by LaTeX2HTML-FU |