.save index Command (Output Processor)

The .save index command saves the index to a defined item-ID in the same file where the Output Processor document resides.

Syntax

.save index item-ID

Synonym(s)

.si

Description

The .save index command is placed in the text item itself and must precede the .index commands. Only the indexed data that has been preceded by the .save index command is saved in the specified file.

The saved index is formatted in one column. The item can then be formatted and edited to create a custom index format.

Example(s)

.save index indexbody

.index: ’topic one’ ’subtopic one’ ’subtopic two’ .xix

.bp

.index ’topic two’ .xix

.pi

Results in index body:

topic one

subtopic one, 1

subtopic two, 1

topic two, 1

See Also

.index Command, .print index Command, Output Processor Commands, Output Processor Overview