Contents

# Uređivanje datoteke s upotrebljavanim riječima

Create or edit a list of words to include in an Alphabetical Index. A concordance file lists words that should be referenced in an alphabetical index, together with the page number(s) where they appear in the document.

You can use the Find All button on the Find & Replace dialog to highlight all places where a word appears, then open the Insert Index Entry dialog to add that word and places to the alphabetical index. However, if you need the same set of alphabetical indexes in multiple documents, the concordance file allows you to enter every word just once, then use the list many times.

The default filter for creating or opening concordance files is *.sdi. However, the file format of the concordance file is plain text.

## To access the Edit Concordance File dialog:

1. Choose Insert - Table of Contents and Index - Table of Contents, Index or Bibliography - Type.

2. In the Type box, select "Alphabetical Index".

3. In the Options area, select the Concordance file check box.

4. Click the File button, and then choose New or Edit.

A concordance file contains the following fields:

Term | Meaning
--- | ---
Search term | "Search term" refers to the index entry that you want to mark in the document.
Alternative entry | "Alternative entry" refers to the index entry that you want to appear in the index.
1st and 2nd Keys | The 1st and 2nd Keys are parent index entries. The "Search term" or the "Alternative entry" appears as a subentry under the 1st and 2nd Keys.
Comment | Add a comment line above the entry. Commented lines start with #.
Match case | "Match case" means that uppercase and lowercase letters are considered.
Word only | "Word only" searches for the term as a single word.

To enable the "Match case" or "Word only" options, click in the corresponding cell, and then select the check box.

## To create a concordance file without the Edit Concordance File dialog:

Use the following format guidelines when you create a concordance file:

- Each entry in the concordance file is on a separate line.

- Commented lines start with #.

- Use the following format for the entries:

Search term;Alternative entry;1st key;2nd key;Match case;Word only

The entries "Match case" and "Word only" are interpreted as "No" or FALSE if they are empty or zero (0). All other contents are interpreted as "Yes" or TRUE.

### Primjer

For example, to include the word "Boston" in your alphabetical index under the "Cities" entry, enter the following line in the concordance file:

Boston;Boston;Cities;;0;0

This also finds "Boston" if it is written in lowercase letters.

To include the "Beacon Hill" district in Boston under the "Cities" entry, enter the following line:

Beacon Hill;Boston;Cities;