The Index panel allows you to generate and structure an index for your document.
About the Index panel
From the Index panel, you can create an index, topics and insert index marks directly onto your page, as well as generate and insert your index in your document.
The panel also lets you manage all aspects of index management from a single location.
Options
The following settings are available on the panel:
Panel Preferences—displays just topics or topics and their references.
Add Topic—adds a new empty index topic to the panel that is not connected to an index mark.
Insert Marker—inserts an index mark to your page for the currently selected text. The index mark is placed at the start of the indexed word.
Insert Index—inserts a generated index in a text frame at the caret position.
Update Index—updates an existing generated index to include newly added index topics/marks.
Show/Hide Index Marks—displays or hides index marks inserted into the text on your document pages.
Index Options
The panel's Index Options section contains a number of options that affect how the generated index looks. Any alterations made to the following options will be reflected immediately in the document:
Language—by default, the index is sorted in accordance with the language of the paragraph where it is inserted, but you can choose to override this by selecting an index language from the pop-up menu.
Include section headings—when checked, the index topics will be divided up into sections based on their initial letter. The initial letter will be placed at the start of each section.
Group page ranges—when checked, ranges of three or more consecutive page numbers will be grouped (for example, pages 1,2,3,4 will become 1-4).
Expand cross references—when checked, cross references within the generated index will list the page number(s) of the reference target and not the text. If the target topic has sub topics it won't be expanded.
Labels and Separators—allow you to customise various pieces of text that may appear within index entries:
After Topic—specify text to display between the topic name and any associated page numbers, e.g. the em space in 'Rice 9, 14, 18, 26'.
Between Items—specify text to display between discrete page numbers/ranges, e.g. the commas in 'Wheat 93, 97–102, 104, 195'.
Between Ranges—specify text to display between the first and last page numbers in page ranges, e.g. the en dash in 'Barley 132–135, 248'.
Before References—specify text to display before an index entry's list of cross references, e.g. the em dash in 'Jasmine—See Rice.'
See / See Also—specify the text to be used for cross reference labels. See text is used when a cross reference has no index marks of its own. See Also text is used when a cross reference has additional index marks of its own.
After See (Also)—specify text to display between a See/See Also label and its list of cross-references, e.g. the colon and succeeding space in 'Grains See: Corn, Oats, Rice, Wheat'.
After References—specify text to display after an index entry's list of cross references, e.g. the full stop in 'Jasmine—See Rice.'
Index topic list—lists added index topic marks.
Below the Index panel options is a preview of the index, listing all of the topics and sub topics in the form of a tree diagram. Under each topic, all of the index marks for that topic are listed, complete with the page number they appear on and a few words of the surrounding text.