index
How to Install dlh
Once you obtained dlh, it should be very easy to install it:
- With the distribution file, use the gunzip
(type gunzip dlh.tar.gz) and the tar
(type tar xf dlh.tar) programs to put the data into a usable format.
- Go to the directory where the file dlh.c is located,
and type configure. This program
will create the necessary files for correct compilation of your
program in your environment. So far the following environments
are known to lead to successful installations:
- Linux/Alpha kernel v2.0
- Linux/x86 kernel v2.0
- DEC Unix v3.2
- SGI Irix 5.3 IP7
- Solaris v2.4 and v2.5
- SunOS 4.1.3
Send a note
if you get to compile dlh succesfully in some other platform.
- Now use GNU's make program to compile dlh.
Note that some installations call GNU's make by
gmake (GNU's make is different
from UNIX usual make.
- Now type make install.
- You should be all set. To make a test, type
dlh test.tex. This creates a directory test; in this
directory you will find an index.html file and a bunch of
docXXX.html files (where the XXX stand
for numbers).
If you want to be able to translate documents that contain PostScript
figures (i.e., that use the psfig command), you'll need to make sure
that GhostScript (version 2.6.2 or newer) and ppmtogif are installed
on your system. Your shell search path must be set up such that the
gs and ppmtogif binaries can be found.
ppmtogif is part of the NetPBM package.
You should now be ready to
use dlh