Installing rtftohtml and rtftoweb
This section describes the installation of rtftohtml and rtftoweb under UNIX.
If you are running a different system, have a look at section Supported platforms.
Installing rtftohtml
and extending it with rtftoweb is really simple. Just follow these steps:
- Get
rtftohtml
version 2.7.5.
- Unpack it with "gzip -cd rtftohtml-2.7.5.tar.gz | tar xvpf
-".
If your shell complains that it cannot find "gzip" you should get
and install
this
GNU utility now.
- Get
rtftoweb
version 1.6.
- Move rtftoweb-1.6.tar.gz into the directory
rtftohtml-2.7.5 which has been created by step 2, "cd" to it,
and unpack it by "gzip -cd rtftoweb-1.6.tar.gz | tar xvpf -".
- Patch the original rtftohtml-sources by issuing the command "patch -l
<patch.rtftoweb-1.6". If your shell complains about not finding
"patch", you can get it
here.
- Edit makefile.rtftoweb to specify the installation paths and
compiler options:
- Set BINDIR to the directory where you would like the patched
rtftohtml binary to be installed in.
- Set LIBDIR to the directory where you would like rtftohtml's
library files to be installed in.
- Set the compiler flag DEFLANG to the language
which most of your documents use. Currently rtftoweb supports english, french,
spanish and german. rtftoweb will use the selected language if the RTF-file
contains no language specification and no navigation panel customization file
has been specified in the command line.
- Type "make -f makefile.rtftoweb". (Note that you can still easily
make an unpatched rtftohtml, see instructions in makefile.rtftoweb.)
- Type "make -f makefile.rtftoweb install" to install your new,
patched and full featured rtftohtml.
That's it!