Creating an Index

Opus can automatically create an Index of all the words that appear on a page as well as specific phrases that you specify. The user can then use a Publication Search dialog box to search words or phrases in your publication and quickly jump to one of the pages on which it appears.

Almost any publication will benefit from this interactive index and it is very easy to build.

Note:
The Index is a list of all the words or phrases that appear on pages you have asked to be indexed. This means you do not have to index every page, only the pages that you think the user would be interested in.

Building an Index in Opus:

  1. The Index is build using the Search Keyword panel in the General tab of the Page Properties dialog. Select the page name in the Page Organiser and right click the name, this will open the right-click menu. Select the Properties option, this will open the Page Properties dialog box.

Note:
For each page that you want to be indexed, you must set the options in the Search Keyword panel.

  1. Tick the Use words from text objects on a page option if you want to automatically generate an index of all of the words that appear on the page. By default this option is ticked, therefore if you do not want to index this page, you must un-tick this option.

Note:
Opus provides the facility to exclude common words (such as ‘the’, ‘and’ or ‘is’) and therefore prevent the search index becoming too cluttered or slow. This is done through the use of the exclude.txt file. This is a plain text file, which is placed in the Opus program directory (e.g. C:\Program Files\Opus Pro). You can edit it with a plain text editor (e.g. Notepad, not Word or other word processing packages) to add or remove entries. The format is one word per line and it does not have to be sorted into any order.

  1. Tick the Use these custom keywords option if you want to add keywords or phrases that represent the contents of the page. By default this option is not ticked.

Note:
This option provides you with more control and produces a leaner and more defined index. Each new keyword or phrase should appear on a separate line of the Keywords box.

  1. You can quickly add words from a Text object by highlighting the required word or phrase in the text, then open the right-click menu and select Add to search keywords option – the word or phrase is added to the Keywords box.

  2. Every time you create a new page, you should repeat steps 1 to 3 above. If neither of the options in the Search Keywords panel is ticked, then the page is not indexed.

  3. Click on the Apply button to save your changes.

Note:
The two methods of indexing a page in the Search Keyword panel can be applied to a page, although in practice, it is likely you will only use one option and not both. Remember, every page in your publication does not have to be indexed; only the ones that you think the user will be interested in.

The user can view the Index only if you add a Publication Search action to an object on a page. This action will open the Publication Search dialog on screen.

Related Topics:

Overview of the Page Properties

General Properties

Publication Search action

Publication Search dialog