Navigation panels and Netscape support

If you want the navigation panels produced by rtftohtml (see section Headings) to look more spiffy, e.g. with images as panel buttons, or if you want the generated HTML documents to use images as their background or another text color, this section is for you.

By using the -N Command line option when invoking rtftohtml, it is possible to tell rtftohtml exactly how you want the created navigation panels to look like. The same configuration file can be used to add a few funny Netscapisms to the generated documents. If no -N-option was given, but rtftohtml finds a file named nav-panel in its library directory or the directory contained in the environment variable RTFLIBDIR it will use this file as the layout customization file. This way you can avoid having to add the -N command line options whenever you use rtftohtml.

An example for such a customization file is the file nav-panel, which has also been used when this guide was converted to HTML. By looking at this file you should easily see how the layout of your documents can be adjusted tou your taste.

Each line of such a customization file contains the definition of a layout element, as long as the first character is not the hash-character (#), which introduces comments. Everything that follows the first colon (:) in each line will be literally inserted into the HTML-files when needed.

The following elements may be configured:

previous
What to insert into the navigation panel when the "previous" element is to be created.
next
The same for the "next" element.
up
The same for the "up" element.
title
The same for the "title" element.
contents
The same for the "contents" element.
index
The same for the "index" element.
delimiter
What to use as the delimiter between the elements of navigation panels.
hr
What HTML-code to use when it's time to insert a horizontal line beneath or above navigation panels.
bgimage
Specifies an optional background (GIF-) image that should be used as the document background (requires Netsape).
bgcolor
Specifies an optional background color that should be used in the document background (requires Netsape). Syntax: #rrggbb (hexadecimal values for red, green, blue).
textcolor
The color to use for normal text. Same synax as for bgcolor.