op.save.index Command/Output Processor: Commands

op.save.index

Command op.save.index Command/Output Processor: Commands
Applicable release versions: AP
Category Output Processor: Commands (183)
Description saves the index to a defined item-id in the same file where the OP document resides.

The ".save index" command is placed in the text item itself and must precede the ".index" commands.

Only the indexed data which has been preceded by the ".save index" command is saved in the specified file.

The saved index is formatted on one column. The item can then be formatted and edited to create a custom index format.
Syntax .save index item-id
.si item-id
Options
Example
.si 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
Purpose
Related op.print.index
op.commands
op.index
op.si
op