IPF provides an index for both online documents and help windows from the following tags.
:i1. :i2.
The :i1. tag creates a primary entry, which means the entry is at the first level. The :i2. tag provides a secondary entry to the primary one.
Index entries are imbedded in the text of a window. You should create at least one index entry for each window, using the :i1. tag. The text of an index entry must be on the same line as the tag.
You form an index for online documents and help windows the same way. For example, to create the index entry:
copy program
use the following tagging
:i1.copy program
To create two levels of index entries, you use the :i1. tag with the id= attribute, and the :i2. tag, with the refid= attribute. Here is how to do it.
:i1 id=prnt.printers and plotters
:i2 refid=prnt.change printer :i2 refid=prnt.add printer :i2 refid=prnt.printer properties
When an :i1. tag has an identifier that is referred to by refid= attributes of :i2. tags, the :i1. tag must precede the :i2. tags in the file. Index entries can be located in any of the windows defined in your source file; however, they cannot be in a footnote.
After your source file is compiled and the user selects Index from the Options menu, or the Index push button, the index entries look like this:
printers and plotters add printer change printer printer properties