| save contents | Index Level | sc |
| Syntax |
.save index item-id
.si item-id |
| Category | Output Processor |
| Type | Command |
| 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. |
| Options | |
| See Also | print index OP commands index si Output Processor |
| 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 |
| Warnings | |
| Compatibility | D3 7.0 AP |
| save contents | Index Level | sc |