index

index


indent rmargin Index Level index heading
Syntax .index 'phrase'
.ix 'phrase'
.index: 'main heading' 'phrase' {'phrase'...}
.ix: 'main heading' 'phrase' {'phrase'...}
Category Output Processor
Type Command
Description inserts a "phrase" and the current page number into the index.

"Subheadings" are specified by appending a ":" (colon) to the ".index" command. The phrase following the colon is the 'main heading' and all subsequent phrases are subheadings.

If the main heading or phrase consists of multiple words, the words must be enclosed in quotation marks.

The ".index" command may be embedded in text, in which case, the end of the index text must be indicated by the ".xindex" command.

The index can be saved in an item with the ".save index" command. The index is printed with the  ".print index" command.
Options
See Also xindex print index save index OP commands ix index heading Output Processor
Example .index 'Schedule'
.xindex

Produces an index entry such as:

Schedule   . . . 13

.index: 'Schedule' 'production'
.xindex

Produces an index entry such as:

Schedule
production    . . . 13
Warnings
Compatibility D3 7.0 AP
indent rmargin Index Level index heading