Place topics into the index.
Syntax
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Tag ³Element ³Attributes ³End ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³:i1. ³Primary entry ³id= ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ ³global ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ ³roots=' ' ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ ³sortkey=' ' ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³:i2. ³Secondary entry³refid= ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ ³global ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ ³sortkey=' ' ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Attributes
id=
Root words do not appear in the index, so are not viewed by the user, and need not be translated. They are used to create a link between the primary index tag and the index-synonym tag. To enable the user to search for an index entry, use the index-synonym tag to map the root words associated with the entry to synonyms.
The sortkey-text character string determines where this entry is placed in the index. The index-text character string is displayed for the index entry.
Description
You use the primary and secondary index tags to provide index entries to the information. The attributes associated with each index tag enable you to define related information. Index entries can be used throughout the file, but cannot be placed within a footnote.
The text of the index entry must be on the same line as the tag, and cannot contain other tags. The entry for each primary index entry within the window must be unique. That is, you cannot provide duplicate index entries within the same window. Secondary index entries must refer to an identifier specified for a primary index entry.
When the user selects Help index from the Help menu, an Index window is displayed for the help interface. When the user selects Index from the Options menu, an Index window is displayed for the online information interface. If the user enters a synonym that matches a root word, the index topics listed for the root word are displayed. When the user selects the Master Help Index object from the Desktop, it opens to display an alphabetic list of entries within a spiral bound notebook. For more information, see Master Help Index and Glossary
Conditions
Example 1
This example shows how to tag your file to include primary and secondary index entries.
:i1 id=del.delete:i2 refid=del.directories :i2 refid=del.files
Output
The index will include the following entry: delete
directories
files
Example 2
This example shows a file with the index-synonym tag (:isyn.) and the roots= attribute.
:h1 id=copy03.Help for Copying :isyn root=copy.copy copying duplicate duplicating :isyn root=book.book manual draft manuscript :isyn root=folder.folder folders document documents :i1 roots='copy folder'.Copying a document :i1 roots='book folder'.Test procedures :p.When copying a file from the current directory to a new directory, specify the following: :ul. :li.The file name :li.The target directory :li.The new file name and extension. :eul.
Output
The index-synonym tag creates the following synonym table:
Root word
The roots= attribute points to the root words, "copy" and "folder," and the list of associated synonyms. For example, if the user searches for "copy" or "folder," the "Copying a document" entry appears because "copy" and "folder," identified by the index roots= attribute, match the entries listed for the index synonym root= attribute.
A search for the synonym "duplicate" lists "Copying a document" as one of the index choices. A search for the synonym "manual" lists "Test procedures" as an index choice, and a search for "document" lists both "Copying a document" and "Test procedures."
Example 3
This example shows how to specify a sort key to change the location of the entry in the index.
:i1 sortkey='point sizes'.changing fonts:i1.program header :i1.parameter list :i1.preface
Output
The index will include the entry "changing fonts" at the location where
the term "point sizes" would appear in the sorting sequence of the index,
as follows: parameter list
changing fonts
preface
program header
Example 4
This example is for a simple Master Help Index object entry for conceptual information about batch files.
When the IPF compiler encounters global attributes, it creates an alphabetic list, which can then be accessed by selecting Master Help Index object from the Desktop.