Contents

# Insert or Edit Index Entry

Marks the selected text as index or table of contents entry or edits the selected index entry.

To access this command...

Insert:

Choose Insert - Table of Contents and Index - Index Entry

Open Insert toolbar, click

Insert Index Entry

Edit:

Place the cursor in front of the index field, then choose Edit - Reference - Index Entry...

or right-click to open context menu - choose Edit Index Entry

You can leave the Insert Index Entry and Edit Index Entry dialogs open while you select and insert or edit entries.

## Index

Select the index that you want to add the entry to.

When editing an index entry, displays the type of index that the selected entry belongs to. You cannot change the index type of an index entry in this dialog. Instead, you must delete the index entry from the document, and then insert it again in a different index type.

## New user-defined index

Opens the Create New User-defined Index dialogue box where you can create a custom index.

New User-defined Index

### Name

Enter a name for the new user-defined index. The new index is added to the list of available indexes and tables.

## Entry

Displays the text that is selected in the document. If you want, you can enter a different word for the index entry. The selected text in the document is not changed.

Or, edit the index entry if necessary. When you modify the index entry, the new text only appears in the index, and not at the index entry anchor in the document. For example, you can enter an index with comments such as "Basics, see also General".

## Update entry from selection

Click the icon to update Entry with the current text selection in the document.

Update Entry from Selection

## 1st key

Makes the current selection a subentry of the word that you enter here. For example, if you select "cold", and enter "weather" as the 1st key, the index entry is "weather, cold".

## 2nd key

Makes the current selection a sub-subentry of the 1st key. For example, if you select "cold", and enter "weather" as the 1st key and "winter" as the 2nd key, the index entry is "weather, winter, cold".

## Phonetic reading

Enter the phonetic reading for the corresponding entry. For example, if a Japanese Kanji word has more than one pronunciation, enter the correct pronunciation as a Katakana word. The Kanji word is then sorted according to the phonetic reading entry. This option is only available if Asian language support is enabled.

## Main Entry

Makes the selected text the main entry in an alphabetical index. LibreOffice displays the page number of the main entry in a different format than the other entries in the index.

## Index level

Specify the index level for the inserted index entry.

This option is available only for table of contents and user-defined index entries.

## For Selected Entry

The following three options are available when a text selection is loaded in Entry, either by selecting the text in the document and then opening the dialog, or by using Update entry from selection in the dialog.

### Apply to all other occurrences

Automatically marks all other occurrences of the selected text in the document. For a modified entry, the match is conducted on the original selection, but the modified entry is inserted as the index entry. Text in headers, footers, and frames is not included.

#### Whole words only

Searches for whole words or cells that are identical to the search text.

#### Match case

Matches the exact character provided in the Find box without considering any alternative case matches.

To include all occurrences of a text passage in an index, select the text, choose Edit - Find & Replace, and click Find All. Then choose Insert - Table of Contents and Index - Index Entry and click Insert.

## Insert

Marks an index entry in your text.

## Close

Closes the dialogue box.

## Delete

Deletes the selected entry from the index. The entry text in the document is not deleted.

The following navigation buttons are only available in the Edit Index Entry dialog.

## Previous entry (same name)

Jumps to the previous index entry with the same entry and type as the current index entry.

Previous entry (same name)

## Next entry (same name)

Jumps to the next index entry with the same entry and type as the current index entry.

Next entry (same name)

## Previous entry

Jumps to the previous index entry of the same type in the document.

Previous entry

## Next entry

Jumps to the next index entry of the same type in the document.

Next entry

You can jump quickly to index entries with the Navigation Bar.

Related Topics

Using Tables of Content and Indexes