Manual
Manual
Version 21.x
Macintosh and Windows
Combined User’s Guide
Copyright © 1999-2024
Virginia Systems
All rights reserved
COPYRIGHT
DISCLAIMER
Virginia Systems makes no representation or warranties with respect to the contents hereof
and specifically disclaims any implied warranties of merchantability or fitness for a ny
particular purpose. Further, Virginia S ystems reserves the right to revise this
publication and to make changes from time to time in the content hereof without
obligation of Virginia Systems to notify any person of such revision or changes.
TRADEMARKS
Sonar Bookends InDex and Sonar Bookends InDex Pro are trademarks of
Virginia Systems
Apple, the Apple logo, Macintosh and the Macintosh logo are trademarks of
Apple Computer, Inc.
II
Table of Contents
Section I Introduction............................................................................................. 1
About Sonar Bookends InDex Pro........................................................................... 1
Installing Sonar Bookends InDex Pro...................................................................... 2
Activating Sonar Bookends InDex Pro.................................................................... 3
Technical Support.................................................................................................... 3
Section II Types of Indices...................................................................................... 5
Word Frequency List Index..................................................................................... 5
Word/Phrase List Index............................................................................................ 5
Single-Level.................................................................................................. 5
Multiple-Level.............................................................................................. 6
Subject List Index......................................................................................... 7
Proper Noun List Index................................................................................ 7
Marked Text Index - Manually Marked........................................................ 8
Marked Text Index - Marked Using Style Sheets......................................... 8
Index Formats.......................................................................................................... 8
Index Format Without Chapter/Section Prefix............................................. 8
Index Format With Chapter/Section Prefix.................................................. 9
Multiple-Level Index Format..................................................................... 10
Table of Contents Format........................................................................... 11
Section III Preparing to Make an Index................................................................. 13
Hyphenation.......................................................................................................... 13
Setting/Overriding Default Word Order and Proximity......................................... 13
Document Organization........................................................................................ 14
File Naming Conventions When Indexing Multiple Files.......................... 15
Indexing Without Chapter/Section Names................................................. 15
Indexing With Chapter/Section Names...................................................... 16
Section IV Creating a Word/Phrase List............................................................... 17
Word-Frequency List............................................................................................. 17
Creating a Word-Frequency List................................................................ 17
Subject List........................................................................................................... 18
Proper Noun List.................................................................................................... 21
Generic Word/Phrase List...................................................................................... 22
Single- and Multiple-Level Word/Phrase Lists.......................................... 23
Creating a Word/Phrase List Using a Database.......................................... 24
Using Marked Text to Create a Word/Phrase List - Manual.................................. 25
Using Marked Text to Add Hidden Keywords to a Document.............................. 26
Using Marked Text to Create a Word/Phrase List - Style Sheets.......................... 27
Sorting a Word/Phrase List.................................................................................... 27
Section V Making an Index and Table of Contents............................................... 31
Handling Multiple Levels...................................................................................... 32
Specifying Section Prefixes................................................................................... 33
Handling Non-Existent Entries.............................................................................. 34
Previewing and Editing ‘Hits’................................................................................ 34
III
Displaying Frequency Instead of Page Numbers................................................... 34
Including Group-Letter Titles................................................................................ 35
Separating Non-Consecutive Page Numbers......................................................... 35
Abbreviating Consecutive Page Numbers............................................................. 35
Using Database Import Format.............................................................................. 36
Separating Index Entries and Page Numbers......................................................... 36
Setting Blank Lines Between Entries.................................................................... 37
Formatting the Index.............................................................................................. 38
Making a Table of Contents................................................................................... 39
Section VI Special Features.................................................................................. 41
Previewing and Editing ‘Hits’................................................................................ 41
Interrupting a Preview and Edit ‘Hits’ Session.......................................... 44
Rebuilding a Previously Previewed Index.................................................. 44
Wild Cards in Word/Phrase Lists........................................................................... 45
Boolean Expressions in Word/Phrase Lists........................................................... 45
Phrases....................................................................................................... 45
Operators.................................................................................................... 45
Modifiers..................................................................................................... 45
Notes on the ‘&’ and ‘^’ Operators............................................................. 46
Sample Boolean Expressions...................................................................... 47
Overriding Word Order and Proximity Defaults.................................................... 47
Using the Translation Operator.............................................................................. 47
Hiding Text................................................................................................. 47
Adding Cross-References and Blank Lines................................................ 48
Reversing Names................................................................................................... 48
Keyword Elimination............................................................................................. 50
Combining Singular and Plural Instances of a Phrase........................................... 50
Removing Redundant Pages from Overlapping Phrases....................................... 52
Converting to a Multiple Level Word/Phrase List................................................. 53
Redefining the Alphabetic Character Set............................................................... 55
Ignoring Non-Alphabetic Characters..................................................................... 56
Indexing Special Characters.................................................................................. 57
Smart Hyphens....................................................................................................... 58
Filtering Proper Nouns........................................................................................... 59
Using Style Sheets to Ignore Text.......................................................................... 59
Controlling Treatment of Phrases That Span Pages............................................... 60
Section VII Tutorials.............................................................................................. 61
Making a Word Frequency Index........................................................................... 61
Making a Multiple Level Proper Noun Index........................................................ 63
Section VIII Appendices........................................................................................ 67
Appendix A - Glossary........................................................................................... 67
Appendix B - Error Messages................................................................................ 69
Appendix C - Menu Summary............................................................................... 71
Appendix D - Trouble Shooting............................................................................. 73
Index...................................................................................................................... 75
IV
Section I Introduction
Section I Introduction
About Sonar Bookends InDex Pro
Sonar Bookends® InDex Pro™ is a powerful index generator capable of producing an auto-
matic index for Adobe’s InDesign™ desktop publishing product. It can also make a table of
contents based on style sheets. Several types of indices can be produced, from a basic index
to a multiple-level index. The index can include chapter/section names, can be made for any
number of files, and can contain cross-reference information.
There are five basic types of indices that can be produced by Sonar Bookends InDex Pro:
1. Word frequency list. A fast, effortless index based on how often words appear in
the documents being indexed. Words which are common, and therefore relatively
unimportant, can be automatically eliminated.
2. Word/phrase list. Based on a user supplied list of words and phrases stored in a
text file. Each word or phrase is indexed. Entries can incorporate advanced index-
ing techniques such as Boolean operations (“John” or “Jim” within five words of
“Smith”) and wild cards (all words starting with “jam”). Since the word/phrase
list is a text only file, it can be generated in a variety of ways. For example, the
list can be created using InDesign or a word processor, downloaded from another
computer, exported from a database, etc.
3. Subject list. Using an English-language parsing engine, Sonar Bookends Pro can
analyze the contents of the document being indexed and create a list of subjects.
Various filtering options generate a more focused list.
4. Proper noun list. Using rules of capitalization and punctuation, Sonar Bookends
InDex Pro can find proper nouns (names of people, places, and things) in a docu-
ment. Unlike a subject list, that is based on interpreting English, a proper noun list
is language independent.
5. Marked text list. This list can be generated either by manually highlighting entries
to be indexed or by using one or more style sheets to mark entries to be indexed.
Marked text can also have hidden keywords that can be indexed.
The five methods (word frequency list, word/phrase list, subject list, proper noun list, and
marked text list) can be mixed and matched to produce a final index. For example, a word
frequency list can be combined with a subject list, discarding any unwanted words and sub-
jects. The list could also be augmented by typing in additional phrases. The final word/
phrase list would then be indexed.
1
Introduction Section I
• Flexibility - An index can be created for a single file or a group of related files. The
index can be single-level or multiple-level.
• Enhanced Preview mode - The context of each occurrence of each item being indexed
is displayed, making it easy to determine if any occurrences should not be included in
the index. Choices made in preview mode are saved and can be applied automatically
to future indices.
• Redundant page number optimization - Redundant page numbers created when one
subject (“bears”) overlaps another subject (“black bears”) can be eliminated automati-
cally.
• Intelligent name reversal - First and last names can be switched automatically. For
example, “John H. Doe Jr.” would become “Doe, John H. Jr.” Names which are already
reversed are not effected. Titles and two-word last names are taken into account.
• Powerful sorting capability - Single-level and multiple-level lists can be sorted rap-
idly. Leading articles are ignored. Thus “The United States” would appear under “U”
and not “T.” Collating sequences (sorting order) are user-definable.
• Alphabetic character definition - The characters that can make up a word are user-
definable.
• Indexing text in tables and footnotes - Text stored in InDesign tables and footnotes
can be indexed in the professional version.
2
Section I Introduction
• Only words starting with an “s” are in the word frequency list
• Only the first 25 proper nouns or subjects are put in a word/phrase list
• Only the first 10 marked words are put into a marked word list
• Only the first 10 table of contents entries are found
• Only the first two page numbers for each indexed entry are listed
To remove these restrictions, you must purchase Sonar Bookends InDex Pro. After payment
is received, you are given a special serial number to enter into a registration box, enabling all
features immediately.
Technical Support
Support contracts are also available to supplement the 30 days of free support that
comes with the purchase of the product. Support contracts (Technical Support and Software
Update Agreements) include updates free of charge, with email notification of such
updates..
• Name
• Serial number
• Telephone number
• Email address
3
Introduction Section I
4
Section II Types of Indices
• Using InDesign
• Exporting the list from a database
• Generating a list of words based on their frequency
• Generating a list of all proper nouns
• Generating a list of words and phrases marked manually or marked using style sheets
• Generating a list of subjects
• Any combination of the above
Single-Level
A single level index is a type of word/phrase list index. A single level index consists of one
word or phrase per line. The list can be sorted alphabetically, taking into account non-English
characters such as “ñ” and leading articles such as “The.” Part of a single level index is
shown in figure 2.1. A non-sorted single-level index may be preferred if the list of words and
phrases has already been sorted or is in a special non-alphabetic order.
5
Types of Indices Section II
Fig. 2.1
Multiple-Level
A multiple-level index is a type of word/phrase list index. Part of a multiple-level index is
shown in figure 2.2. Each entry is on a line by itself and subentries are indented with tabs.
A multiple-level index can have an unlimited number of levels and can be sorted by Sonar
Bookends InDex Pro. Only the most indented (lowest level) entries at any given level receive
page numbers. The list of entries in a multiple-level index can be created with InDesign, any
word processor, or any database.
Firearms
Handguns
Double-action, 32-34
Double-action only, 35
Single-action, 36, 70
Rifles
Bolt-action, 41, 44
Lever-action, 42
Military look-a likes (“assault rifle”), 45-52, 66, 72
Pump, 43
Shotguns
Bolt action, 60
Pump, 61, 90
Semi-automatic, 62-63
Second Amendment
Individual right
Supreme Court rulings, 74-85
Lower court rulings, 86-98
Fig. 2.2
6
Section II Types of Indices
Note: By default a multiple-level index does not take into account any higher levels for a
given entry. For example in figure 2.2, the page numbers for “Lever-action” were found by
simply looking for the phrase “Lever-action.” “Firearms” and “Rifles” did not figure into the
search. This method works fine if the only places where the phrase “Lever-action” appears is
in reference to rifles and firearms.
There are cases where simply searching for a phrase will not work. For example, if “Lever-
action” appeared in the book not only as an rifle, but also as a shotgun, then some of the page
numbers would be wrong.
Sonar Bookends InDex Pro has two ways to deal with items that need to be qualified:
• The Translation operator can be used to specify a hidden search command. For exam-
ple, the hidden command could direct Sonar Bookends InDex Pro to find the page num-
bers for “Lever-action” by looking for “Lever-action” on the same page as “Rifles” and
“Firearms.” Translation is covered on page 47.
• Using the “smart” option when indexing. The “smart” option tells Sonar Bookends
InDex Pro to require that all higher levels appear on the same page as the phrase being
indexed. Thus, for the page number of a page having the phrase “Lever-action” to
appear in the index, that page would also have to contain the words “Rifle” and “Fire-
arms.” If necessary, the Translation operator (on page 47) can be used to specify an
alternate hidden search phrase for any level. For example, say that the word “exports”
did not actually appear in the book per se, but “exported item” does appear. Translation
would allow “exported item” to be silently substituted for “exports” when doing a smart
multiple-level index. The “smart” option is discussed further on page 32.
7
Types of Indices Section II
1. All occurrences of each word/phrase are found and indexed, even if some those occur-
rences were not marked. With this mode, words and phrases only need to be marked
once in the document being indexed.
2. Only the marked occurrences of each word/phrase that match exactly are found and
indexed. With this mode, each occurrence to be indexed must be marked.
Once all of the entries have been marked, a word/phrase list can be created in seconds with a
single command. The word/phrase list is then used to make the index.
1. All occurrences of each word/phrase are found and indexed, even if some those occur-
rences were not marked. With this mode, words and phrases only need to be marked
once in the document being indexed.
2. Only the marked occurrences of each word/phrase are found and indexed. With this
mode, each occurrence to be indexed must be marked.
Once all of the entries have been marked, a word/phrase list can be created in seconds with a
single command. The word/phrase list is then used to make the index.
Index Formats
Index Format Without Chapter/Section Prefix
An index without chapter/section prefixes consists of alphabetically sorted words and
phrases. By default, each word or phrase is followed by a comma and a list of page num-
bers (“Memory card, 24, 32, 56”). If two or more page numbers are consecutive, then the
sequence of page numbers is abbreviated to be the first and last page number separated, by
default, with a hyphen (“23, 24, 25, 26” would be shortened to “23-26”). Both the comma
following each word or phrase and the hyphen separating consecutive page numbers can be
changed. A portion of a typical index for a document is shown in figure 2.3. The string of
asterisks after “Elizabeth Andrews” indicate that the phrase was not found during indexing.
8
Section II Types of Indices
Fig. 2.3
1. Each word or phrase is placed on a separate line and is followed by a colon. The
names of all chapters which contain the word or phrase appear next. The chapter
names are in alphabetical order, each on a separate line, preceded by a tab, and
followed by a list of page numbers. Figure 2.4 has a portion of a typical index
including chapter names.
Canal plant:
Chapter 1, 27, 33
Chapter 2, 35-36
COMINCO:
Chapter 1, 9, 22-23, 27-28, 30--38, 45
Chapter 2, 46-47, 128
Chapter 3, 47-55, 31, 88, 95, 101, 103
Deane:
Chapter 2, 5-20, 55-60
Fig. 2.4
9
Types of Indices Section II
2. Each word or phrase is followed by a comma and a list of page numbers. Each
page number is prefixed with the corresponding chapter name. For example:
In the example, “Memory card” is found on pages 24, 32, and 56 of chapter 2 and
pages 12 and 22 of chapter 4. If two or more page numbers are consecutive, then
the sequence of page numbers is abbreviated to be the first and last page number
separated, by default, with a hyphen. To avoid confusion when the chapter name
contains a hyphen (as in the above example), a tilde “~” or a colon “:” are com-
monly substituted for the hyphen separator:
Fig. 2.5
10
Section II Types of Indices
Accidents
Environmental damage, 108
Nuclear, 122-128, 150
Countries
Canada, 7-8, 10, 14-16, 32, 36, 51
France, 56-70
United States, 36-37, 46, 50-51
Fuel
Gas, 34-35, 53, 57-58
Hydroelectric, 22, 48, 52
Nuclear, 205
Fig. 2.6
11
Types of Indices Section II
12
Section III Preparing to Make an Index
Hyphenation
If Smart Hyphens in the Preferences menu is checked, hyphens are removed by Sonar
Bookends InDex Pro if the hyphen is followed by a space, tab or carriage return. Thus, a
hyphenated word (like “hy-
phen”) is properly indexed as a single word (“hyphen” as opposed to “hy” and “phen”).
There are instances where removal of hyphens is not desirable. An example would be a
part number like “123-ABC-789.” If the hyphens were removed, there would be no way of
distinguishing between “123-ABC-789” and “1-23A-BC78-9.” For hyphens to be treated as
part of a word or number, the hyphen must be touching an alphabetic or numeric character on
both sides. Therefore, characters which make up a part number should remain together, and
not be separated at the end of a line like this:
123-ABC-
789
The above example would produce the part number “123-ABC789,” instead of “123-ABC-
789,” since the hyphen following “ABC” was not touching a character or number on its right
side.
Note: This behavior can be changed to keep all hyphens by unchecking Smart Hyphens in
the Special menu. Also, discretionary hyphens are always removed.
By default, the phrases in figure 3.1 would not match “John Doe:”
13
Preparing to Make an Index Section III
The default word order and proximity can be set globally for every entry, and overridden for
individual entries. To set the defaults for all entries, select Default word order and proxim-
ity... in the Preferences menu, as shown in figure 3.2. The dialog box shown in figure 3.3 will
then appear.
Fig. 3.2
Fig. 3.3
By changing the word separation to 2 (to allow for “John Edward Doe”) and unchecking
word order significance, all of the phrases in figure 3.1 would match “John Doe.”
Word order and proximity values can also be overridden on individual entries in a word/
phrase list. See Section VI, “Special Features” on page 41.
Document Organization
An index or a table of contents can be made for a document whether the document consists
of either one file or multiple files. All of the files making up the document must be open in
InDesign. You can either open the documents individually or open a book. Since all open
files (with the exceptions listed in the note below) are included in the index or table of con-
tents, be sure that the only files which are open belong to the document to be indexed.
14
Section III Preparing to Make an Index
Note: Files which are named “Word Phrase List” or “Index” or any file which has been
selected as a word/phrase list using Make Current File a List in the Word-Phrase List menu
are exceptions to the rule and are not indexed.
File names that start with numbers are processed in numeric order. There is no need to put
leading zeros on shorter numerical sequences. The following file names are shown in the
order they would be processed:
8 Moving forward
9 A new chapter in life
10 Where we go from here
Important note: When making this type of index, InDesign’s page numbering preference
(under general preferences) should be set to View: Section Numbering. If this is not done, the
page numbers for each file will always begin with page one.
Fig. 3.4
15
Preparing to Make an Index Section III
Firearms
Handguns
Double-action, 1-32:34
Double-action only, 1-35
Single - action, 1-36, 4-70
Rifles
Bolt action, 2-41, 2-44
Lever action, 2-42
Military look-a likes (“assault rifle”), 2-45:52, 4-66, 4-72
Pump, 2-43
Shotguns
Bolt action, 3-60
Pump, 3-61, 6-102
Semi-automatic, 3-62:63
Second Amendment
Individual right
Supreme Court rulings, 5-74:85
Lower court rulings, 5-86:98
Fig. 3.5
16
Section IV Creating a Word/Phrase List
In order to make an index, there must first be a word/phrase list containing the items to be in
the index. The word/phrase list can be made in a variety of ways as discussed next.
Word-Frequency List
A word-frequency word/phrase list is based on how often words appear in a document. The
entries are sorted alphabetically. This type of word/phrase list assumes that a word’s signifi-
cance decreases as its frequency increases.
In a word-frequency list, both numbers and words are selected. Numbers appear before let-
ters; so numeric values appear first in the list and are followed by words beginning with the
letter “A.” Note: By redefining Sonar Bookends InDex Pro’s alphabetic characters to make
the characters “0123456789” non-alphabetic, numbers will not be indexed. For a list solely
of numbers, see “Subject List” later in this chapter.
The word-frequency list can be edited using InDesign. The edited list can then be used as a
word/phrase list to produce the final index. Before proceeding to make a word-frequency list
of a document consisting of multiple files, make sure the instructions in “Document Organi-
zation” on page 14 in Section III have been followed.
Fig. 4.1
17
Creating a Word/Phrase List Section IV
Fig. 4.2
Refer to figure 4.2. Set the “Maximum number of times a word can occur:” to the cut-off
frequency for a word to appear in the list. E.g., if a word appears more frequently than the
specified value, it is not put in the list. This value should be greater than zero.
After clicking OK, Sonar Bookends InDex Pro will then process the document’s file or files
and begin to build the word/phrase list. When completed the list appears in a window as
shown in figure 4.3. The demo version will only show words that start with “s”.
Fig. 4.3
Subject List
The subject list capability of Sonar Bookends InDex Pro is one of its must unique and power-
ful features. A subject list is a list of people, places, and things that are mentioned in a docu-
ment. Sonar Bookends InDex Pro has a proprietary English-language parsing engine which
analyzes the contents of a document to automatically create a subject list, taking into account
sentence structure and the part of speech of each word. This contrasts with the proper noun
detection capabilities of both the regular and professional versions of Sonar Bookends InDex
which use capitalization and punctuation rules alone. A subject, unlike a proper noun, does
not need to be capitalized to be detected.
18
Section IV Creating a Word/Phrase List
To begin making a subject list, open all files that are to be indexed or open a book and then
select Build Subject List... in the Word-Phrase List menu as shown in figure 4.4. Figure 4.5
will appear. For the demo version, only the first 25 subjects will appear.
Fig. 4.4
Fig. 4.5
Refer to figure 4.5. [A] eliminates any subjects that occur too frequently to be of any real
value. The frequency can be set anywhere from 1 (for unique subjects) to 65535 (keeping
every subject).
Numbers can be used to filter subjects. A number is any word that contains at least one value
from the range 0-9 and optionally, other alphabetic characters. A digit is any character that
makes up a number.
19
Creating a Word/Phrase List Section IV
If numbers are not allowed, select [C] and any subject that contains a number is removed.
If subjects are to only contain single numbers, select [D]. This is useful for extracting part
numbers from a document.
As a final numeric filter, the total digits required for a number to be considered valid is set by
[E]. Any subject containing a number with less than this number of digits is removed.
Normally when a sentence is parsed by Sonar Bookends InDex Pro, colons and commas
mark the end of a subject. This behavior can be changed with [F] and [G], respectively. For
example, by changing both [F] and [G] to “No”, biblical references, like Eph. 1:22-23 can
be found and put into a subject list. For this kind of application, unchecking Smart hyphens
in the Special menu is also useful (see page 32). The resulting subject list may require some
additional “cleanup” when changing these options.
A subject can be a single word. Each letter of a single-word subject can be required to be
capitalized by selecting [H]. This limits single-word subjects to acronyms like NRA, GOA,
USAF, etc.
Subjects don’t necessary need to have any capitalized letters. Selecting [J] requires that at
least one word in a phrase be capitalized. [K] requires that every word (except articles, con-
junctions, and prepositions) be capitalized. To find proper nouns only, select [C] and [K].
As a final filter, phrases can be eliminated based on the number of words in the phrase as
defined by [M].
Click the OK button when you have made your choices. A subject list will appear in the
Word/Phrase List window as shown in figure 4.6.
20
Section IV Creating a Word/Phrase List
Fig. 4.6
Fig. 4.7
21
Creating a Word/Phrase List Section IV
Fig. 4.8
Set the maximum number of times that a proper noun can occur. Setting this frequency acts
like a filter, eliminating any proper nouns that occur too frequently to be of any real value.
The frequency can be set anywhere from 1 (for unique proper nouns) to 65535 (keeping
every proper noun). Sonar Bookends InDex Pro compiles and sorts the proper noun list
when the OK button is clicked. This list is automatically displayed in a new “Word Phrase
List” window as shown in figure 4.9. The word/phrase list can then be edited or saved, as
desired.
Fig. 4.9
A word/phrase list can contain both individual words, combinations of words (phrases), and
entries which incorporate advanced indexing techniques such as Boolean operations and
wild cards. The word/phrase list can be either single-level or multiple-level, depending upon
the type of index to be made. See Section VI ,“Special Features” on page 41 for using Bool-
ean operators, wild cards, reversing first and last names, optimizing plurals and overlapping
phrases, and automatically converting single-level word/phrase lists to multiple-level.
22
Section IV Creating a Word/Phrase List
Each word or phrase needs to be on a separate line. By default, Sonar Bookends InDex Pro
indexes the words or phrases exactly as they are found in the word/phrase list, ignoring punc-
tuation and spacing. To change the default values for word order, proximity, and punctua-
tion, see Section VI, “Special Features” on page 41.
There is no practical limit set on the size of a word/phrase list, but InDesign may need more
memory for extremely large lists.
To use the generic word/phrase list, create an empty document in InDesign, “place” the word/
phrase list in the document, and, with that document as the front-most document, mark it as
a word/phrase list using Make Current File a List as shown in figure 4.10.
Fig. 4.10
23
Creating a Word/Phrase List Section IV
Apple Computer
Apple II
IIc
Apple Computer IIe
CPU Macintosh
Data Modem Macintosh II
Macintosh Power PC
Motorola M68040 PowerBook
RAM Quadra
System 7 Compatibility
Fig. 4.11 IBM
PC
PS I
PS II
R6000
Fig. 4.12
For catalogs, it is often advantageous to have Sonar Bookends InDex Pro look-up the page
numbers based on a part number. The Translation operator is used for this type of application.
(See “Using the Translation Operator” in Section VI, “Special Features,” on page 41) For
example, a word/phrase list entry like this:
would put the description “Computer Keyboard, Mac” into the index, but would find the page
numbers by looking for “00234-4521A.” The resulting index entry would look like this:
To use the database generated word/phrase list, make sure that the word/phrase list is the
front-most document, then mark it as a word/phrase list using Make Current File a List as
shown in figure 4.10 on page 23.
24
Section IV Creating a Word/Phrase List
Fig. 4.13
Note: There are two marking modes. Regular mode marks all of the selected text as a single
mark, but will not mark past a carriage return. List mode lets you mark a list of objects and
splits each item in the list into separate marks automatically - a real time saver. The items in
a list are separated either by commas or by carriage returns. For example highlighting:
John Smith, John Doe would produce John Smith, John Doe after selecting Mark Text
with list marking enabled.
Once all of the text is marked, the actual word/phrase list is made using Build Marked Text
List in the Word-Phrase List menu as shown in figure 4.14.
Fig. 4.14
25
Creating a Word/Phrase List Section IV
The highlighting of marked text can be enabled or disabled using Show Marks in the Prefer-
ences menu as shown in figure 4.15.
Fig. 4.15
[United States]
[United Kingdom]
To attach hidden keywords to text, highlight the appropriate text and then selected Attach
Keywords... in the Marked Text menu as shown in figure 4.16.
Fig. 4.16
26
Section IV Creating a Word/Phrase List
The dialog box shown in figure 4.17 will appear to allow the keywords to be entered.
Fig. 4.17
Once all of the desired style sheets are properly named and the text is marked, the actual
word/phrase list is made using Build Style Sheet List in the Word-Phrase List menu as shown
in figure 4.18.
Fig. 4.18
Fig. 4.19
Certain words, such as articles, do not affect the sorting order. For example, “The United
States” is sorted under “U” and not “T.” Which words are ignored during sorting is controlled
by the file named “SBISORTIGNORE.TXT”. The file is Unicode text-only and can be edited
using InDesign. To edit the file, create a new InDesign document with an empty text box.
Next, “place” the file into the text box. The text can now be edited as necessary. To save the
modified text, “export” it as “text only” and, when prompted, save it with an encoding of
“Unicode.” For the changes to take effect, quit and restart InDesign.
The collating sequence, or the order for sorting letters, is controlled by another Unicode text-
only file, “SBISORTSEQUENCE.TXT”. The order that letters appear in the file is the order
in which they are sorted. Letters that are on the same line together are sorted interchangeably.
For example,
Aa
Bb
Cc
defines the normal first three letters of the alphabet. Since “B” and “b” are on the same line,
they are sorted as if they are the exact same letter and both would appear interchangeably
between “A” and “C.”
To edit the sorting sequence file, create a new InDesign document with an empty text box.
Next, “place” the file into the text box. The text can now be edited as necessary. To save the
modified text, “export” it as “text only” and, when prompted, save it with an encoding of
“Unicode.” For the changes to take effect, quit and restart InDesign.
Word lists with entries that use the translation feature (see page 47) receive special treament
when sorted: if the word list has multiple entries which are duplicates except for their transla-
tion values, then the duplicate entries are removed and their trranslated values are combined
using a Boolean “or” so that the single remaining entry will have all the page numbers,
including those for the removed duplicates.
28
For example, if a word list looks like this (product name;part number to search for):
Computer; 2408
Computer; 8102
Computer; 10231
Desk lamp; 1023
Desk lamp; 1044
Computer, 86
Computer, 92
Computer, 93
Desk lamp, 12
Desk lamp, 14
If sorted, however, the list would have duplicates removed and the part numbers merged:
29
Creating a Word/Phrase List Section IV
30
Section V Making an Index and Table of Contents
Select Create Index..., Create Style-Sheet Only Index..., or Create Marked-Text Only Index...
in the Index menu, as shown in figure 5.1. Create Index... indexes all of the text on all of
the pages. Create Style-Sheet Only Index... only indexes the text on each page that has been
marked using one or more style sheets whose name starts with the letters “WPL0”. Create
Marked-Text Only Index... only indexes the text on each page that has been marked using
Mark Text in the Index menu.
Note: If Create index..., Create Style-Sheet Only Index... and Create Marked-Text Only
Index... are dimmed, then the front-most window is not a word/phrase list or the word/phrase
list has not been marked as such using Make Current File a List in the Word-Phrase-List
menu as shown in figure 4.10 on page 23.
The Index dialog box shown in figure 5.2 controls the indexing process. It controls whether
the index is single-level or multiple-level, what type of symbols are to be used to separate
page numbers, how many blank lines should appear between entries, etc.
Fig. 5.1
31
Making an Index and Table of Contents Section V
Fig. 5.2
If item [B2], “Smart,” is checked, then higher-level entries are used to help qualify page
numbers. For example, with [B2] unchecked, the page numbers for Papillon and Pekinese,
below, would be found by only looking for the words Papillon and Pekinese, respectively.
Dogs
Toy
Papillon
Pekinese
32
Section V Making an Index and Table of Contents
Checking [B2] would cause the page number for Papillon to be found by looking for Dogs
on the same page as Toy on the same page as Papillon. Page numbers for Pekinese would be
found by looking for Dogs on the same page as Toy on the same page as Pekinese.
Note: If you used Convert List to Multiple Level in the Word-Phrase List menu, do not check
[B2].
Normally higher-level entries are followed by at least two lower-level entries. If there is only
one lower-level entry (which is called an orphan), that entry is automatically combined with
the higher-level entry at index time.
Computers,
Intel
1. Option [C1] in figure 5.2 - each section prefix is placed at the beginning of a line,
with all of the page numbers for that section following the section prefix:
1-6, 8, 10, 22
2-10, 55
2. Option [C2] in figure 5.2 - the page numbers are strung together and each page
number is prefixed with the associated section prefix:
33
Making an Index and Table of Contents Section V
Use caution with this option. Normally it is useful to know that an item is not found so that
the situation can be fixed. Many simple things can cause an item to not be found:
&:~|/\^+*{}()!=#;
This can be fixed by checking the Ignore All Non-Alphabetic Characters item in the
Preferences menu or by replacing the symbols with spaces.
If item [D] is not checked, then all entries that are not found are summarized at the beginning
of the index, so that they can be more easily identified:
Smithfield, John
Young, Michael
34
Section V Making an Index and Table of Contents
Aardvark
Albatross
Arctic winters
Bavaria
Basic weather prediction
“Big-Bang” theory
The bust of Augustus
...
Notice that in the last two entries, above, leading punctuation and articles are ignored when
breaking the index into groups.
Thunderbird, 112, 189, 201, 256 Thunderbird, 112 189 201 256
Comma Separators Tab Separators
Fig. 5.3
1-2, 4, 6-12, 15
35
Making an Index and Table of Contents Section V
The above example shows chapter 1, pages 2, 4, 6 through 12, and 15. It would be clearer as:
1-2, 4, 6~12, 15
Selecting item [K] in figure 5.2 disallows any consecutive page number abbreviations:
Page numbers can be further abbreviated by checking Maximum Consecutive Page Number
Abbreviation in the Preferences menu. This will cause the second page number in a range to
have any redundant leading digits dropped.
101-104, 126-131
101-4, 126-31
Computers, 5
Computers, 12
Computers, 13
Computers, 14
Dragging, 19
Dragging, 46
36
Section V Making an Index and Table of Contents
Changing item [M] to be “===” would change the index entry to look like this:
The question mark (?) is a special character which is used to represent a tab character. Thus,
if item [M] was set to “??” there would be two tabs between each word or phrase and its first
page number:
Nuclear energy 104, 110-114, 203
Reactor, 33, 45
When all desired options in figure 5.2 have been chosen, click the OK button to begin gen-
erating the index.
When the index is complete, it appears in the Index window as shown in figure 5.4.
Note: If there are any mistakes discovered in the final index, the word/phrase list should be
corrected and the index remade. This is important because if only the index is corrected, then
each time the index needs to be made again, so do the changes!
Fig. 5.4
37
Making an Index and Table of Contents Section V
When an index is made, certain style sheets are dynmamically created and automatically used
to mark various parts of the index. Formatting the index is accomplished by modifying these
style sheets to have the properties that you desire.
The only style sheets that are generated are those that are necessary to format a given index.
Here is a list of the style sheets that can be generated and what they mark:
Below is a sample index showing Group-Letter Titles, index terms that are not indented,
index terms that are indented with one tab, and page numbers. Color is used to show which
text is marked and which style sheet is marking it.
Active
photosynthesis, 759
osmosis, 753, 757
Additive properties, 755
38
Section V Making an Index and Table of Contents
The digit following the letters “TOC” tells Sonar Bookends InDex how many tab characters
to place in front of the text marked with that style sheet. Thus titles would be prefixed with
“TOC0” and subtitles with “TOC1”. You can have as many table of contents style sheets as
you want, including multiple style sheets for any given level.
The table of contents is generated in the same order as the titles and subtitles appear in the
document. Each line contains only one page number. The page number is preceded by a tab
character an, optionally, the “Section marker” text (referred to as the section prefix).
Once the style sheet names are correct, use either Make Table of Contents (With Section
Prefix) or Make Table of Contents (Without Section Prefix) in the Table of Contents menu as
shown in figure 5.5. The table of contents is automatically placed in a new window.
Fig. 5.5
Set some tabs stops, perform any other desired formatting operations and the table of contents
is done!
39
Making an Index and Table of Contents Section V
40
Section VI Special Features
• Each occurrence of each phrase being indexed can be viewed in context to determine if
that occurrence should be in the index.
• Wild cards and Boolean expressions can be placed in a word/phrase list to more precisely
control indexing.
• “Translation” can “hide” the Boolean expressions and wild card characters so that they do
not appear in the final index. It can also be used to add cross-references and notes to an
index.
• First and last names in a word/phrase list can be reversed automatically taking into account
titles and two-word last names.
• Singular and plural entries for the same subject can be combined.
41
Special Features Section VI
Fig. 6.1
Figure 6.2 shows the occurrences of the phrase “Active Window” (the current phrase is shown
in the title bar [A]). [B] points to the four lines of context found for the phrase. The phrase
is centered if possible. All highlighted occurrences are to be indexed.
Fig. 6.2
42
Section VI Special Features
In the dialog box shown in figure 6.2, the title bar [A] indicates that the occurrences of the
phrase “Active Window” are being displayed. By default, each occurrence is selected (high-
lighted) and if possible, the phrase is centered on each line [B]. Clicking the OK button at
this point will index all of the occurrences.
Mac users: To alternately select/deselect an occurrence, hold down the command key while
clicking on the occurrence.
Windows users: To alternately select/deselect an occurrence, hold down the option key
while clicking on the occurrence.
If the majority of the entries are to be deselected, click the Select None button and then select
the desirable entries. Select All will select each occurrence again. Remember: only the
occurrences which are highlighted when the OK button is clicked will be indexed.
To see more context for a given occurrence, simply click on the occurrence — an expanded
context will appear in the window at the bottom of the dialog box. In figure 6.3 the expanded
context, [A], is for the second line. To help in finding the occurrence manually, the associated
file name and page number are shown at [B] and [C], respectively. If an entry to be viewed
is already highlighted, you will need to deselect and then reselect that entry.
Fig. 6.3
When the OK button is clicked, Sonar Bookends InDex Pro displays the next word or phrase.
This repeats until all words and phrases have been processed.
If a word or phrase appears too often (more than 50 times), then that entry is skipped. All
page numbers for the offending word/phrase are placed into the index. For a word/phrase to
appear so many times that it cannot be previewed, it is questionable if it should be included
in the index anyhow.
43
Special Features Section VI
When the last word/phrase has been processed, the selections are saved to disk for use with
future indices. The previewed index appears in the Index window.
Fig. 6.4
All of the selections made up to the point of interruption are saved to disk. Whenever the
index is made again, the preview session will pick-up at the point of the interruption.
Fig. 6.5
By selecting Yes, the same choices made for each occurrence are applied again automatically,
even if the page numbers have changed. However, if the number of occurrences of a word/
phrase has changed or the word/phrase is new or modified or if the preview is continuing after
a previous interruption, then a dialog box like the one shown in figure 6.2 appears to allow
choices for that word/phrase.
Caution: Clicking No in figure 6.5, causes all of the saved choices to be discarded perma-
nently and selection starts over with the first word/phrase entry.
44
Section VI Special Features
See “Using the Translation Operator” on page 47, for information on how to “hide” wild card
characters so that they do not appear in the index.
Phrases
A phrase consists of one or more words. Generally, punctuation in a phrase, such as periods
and commas, are ignored. However, some non-alphabetic characters require special treat-
ment (discussed later in this section). Here are some valid phrases:
John
Jonathan Doe
Doe, John
United States of America
Operators
Operators are used to perform Boolean arithmetic. The operators are:
John & Jim Index each occurrence of John and Jim on the same page
John | Jim Index each occurrence of either John or Jim
John ~ Jim Index each occurrence of John only if it is not in the same file as Jim
John ^ Jim Index each occurrence of John only if on the same page as Jim
Modifiers
By default, the phrases on either side of an operator can appear anywhere in a file and can
appear in any order. Modifiers are used to modify this behavior of operators:
45
Special Features Section VI
John &:15 Jim Index John and Jim within 15 words of each other
John &= Jim Index John and Jim on the same page, John must appear first
John &:15= Jim Index John and Jim within 15 words of each other, John must appear first
John ~:5 Jim Index John if not within 5 words of Jim
John ^:15 Jim Index John only if within 15 words of Jim
Looking at how ‘&’ behaves with a proximity, the following two expressions would both
produce the same page numbers:
The page numbers are the same, because Sonar Bookends Professional looks for all locations
where John Doe and Jim Smith are within 100 words of each other. Which phrase is found
first does not matter. For each John Doe and Jim Smith that are within 100 words of each
other, the page number is determined by the location of the first name that is found. If both
names are on the same page, it makes no difference. However, if John Doe is on page 16 and
Jim Smith is on page 17, the result of both expressions will be page 16 because that is where
the first name, John Doe, is found. Putting Jim Smith on page 16 and John Doe on page 17
instead still produces page 16 as the result.
The ‘^’ operator behaves very differently. It returns the page numbers where the left argu-
ment appears as long as it is within the correct proximity to the right argument. Thus, the
following two expressions can return very different results:
Using the previous example of John Doe being on page 16 and Jim Smith being on page 17,
the result of the first expression would be 16 and the second expression would be 17. Revers-
ing the pages where John Doe and Jim Smith appear would reverse the results.
46
Section VI Special Features
Reagan ~:15 (Ronald | Ron) “Reagan” not within 15 words of either “Ronald” or “Ron.”
Adams &:20 Samuel “Adams” within 20 words of “Samuel,” either word can come first. Same
as: Samuel Adams:20!
Convers* ~:1 conversation Any word starting with “Convers” but not “conversation.”
John Doe:5! &:10 Jim Smith “John” within 5 words of “Doe,” either word can come first, and both words
within 10 words of “Jim Smith.”
See “Using the Translation Operator” on this page for information on how to “hide” Boolean
expressions so that they do not appear in the index.
See “Using the Translation Operator,” below, for information on how to “hide” the word
order and proximity override codes so that they do not appear in the index.
47
Special Features Section VI
Note: In the above example, Tacoma, Washington does not require translation because
Tacoma, Washington;Tacoma,Washington would be redundant. Also, translation does not
require a Boolean expression on the right side. The phrase Cat;Feline places the word Cat in
the index, but gets the page numbers by looking for the word Feline.
Reversing Names
Sonar Bookends InDex Pro can automatically reverse first and last names in an open word/
phrase list. First, make the desired Word Phrase List window the front (active) window.
Next, select Order List As “Last Name, First Name” in the Word-Phrase List menu, as shown
in figure 6.6. Figure 6.7 shows a list before reversing names and figure 6.8 shows the same
list after reversing names. Notice that a name that is already reversed is left unaltered, and
that titles behind names and two-word last names are handled correctly. If any non-alpha-
betic characters, except period, are found in an entry, that entry is not reversed. If translation
is being used, only the words up to the translation symbol (;) are reversed. When reversing
names, be sure and set the default word order to allow words in a phrase to appear in any
order. Failure to do so causes most of the reversed entries to not be found. See page 13 for
information on setting/ overriding default word order.
Note: There is a shortcut for flagging names that are not to be reversed. Any name that has
a ‘+’ as its first character is not reversed. Any leading ‘+’ characters are then stripped out of
the reversed list automatically.
48
Section VI Special Features
Fig. 6.6
There are two files that control how Sonar Bookends InDex Pro reverses names. The first
file, named “SBITITLES.TXT” and located in the System folder, contains a list of titles. The
titles file list is only used to verify titles that are not preceded by a comma. In other words
“John Doe, Jr.” would reverse correctly even if “Jr.” was not in the titles file. “John Doe Jr.”
would only reverse correctly if “Jr.” is in the titles file.
The second file, named “SBIPREFIX.TXT” and located in the System folder, contains a list
of words which are the first word of two-word last names. For example, if “Von” is in the
prefix file, then all last names that have “Von” in them (like “Von Tree”) are considered two-
word last names and reversed accordingly.
Both the “SBITITLES.TXT”and SBIPREFIX.TXT” files are Unicode text-only and can be
edited using InDesign. To edit a file, create a new InDesign document with an empty text
box. Next, “place” the file into the text box. The text can now be edited as necessary. To
save the modified text, “export” it as “text only” and, when prompted, save it with an encod-
ing of “Unicode.” For the changes to take effect, quit and restart InDesign.
49
Special Features Section VI
Keyword Elimination
“Noise” words like “the,” “and,” “of,” etc. can be left out of a word frequency list by select-
ing Eliminate Keywords... in the Preferences menu. See figure 6.9. Keywords to be elimi-
nated are contained in a text only file, one word per line. Any word frequency list created
while Eliminate Keywords... is checked will not contain any of the keywords appearing in
the elimination file. The file SBIKWELIM.TXT located in the system folder contains most of
the common noise words.
Fig. 6.9
Keyword elimination is only necessary when generating a word frequency index with a fairly
large frequency. By specifying a small frequency, the high frequency noise words are elimi-
nated anyway. In general, keyword elimination should not be used with word/phrase lists;
as a phrase like “United States of America” would not be found if “of” was in the elimination
file.
Selecting Eliminate Keywords... will alternatively activate and deactivate the eliminate key-
words feature. Keyword elimination is activated when the menu item is checked.
The keyword elimination file is a Unicode text-only file and can be edited using InDesign.
To edit the file, create a new InDesign document with an empty text box. Next, “place” the
file into the text box. The text can now be edited as necessary. To save the modified text,
“export” it as “text only” and, when prompted, save it with an encoding of “Unicode.” For
the changes to take effect, quit and restart InDesign.
Train(s);Train | Trains
50
Section VI Special Features
The expression above puts the word “Train(s)” in the index, but gets the page numbers by
looking for “Train” or “Trains.”
To combine singular and plural cases of an open word/phrase list, make it the front (active)
window, mark it as a word/phrase list if not done already, select Optimize List... in the Word-
Phrase List menu as shown in figure 6.10.
Fig. 6.10
When the dialog box show in figure 6.11 appears, check only the Singular/plural phrases
box and click the OK button. The optimized word/phrase list will then appear in the Word
Phrase List window.
Fig. 6.11
Note: Optimization of word/phrase lists should be done prior to reversing first and last
names or converting them to multiple-level.
51
Special Features Section VI
After optimization to remove redundant page numbers, the index would look like this:
Bears, 45, 90
Black Bears, 33
Brown Bears, 14
Canadian Geese, 101
Flight Patterns of Canadian Geese, 126
Mating Habits of Brown Bears, 26
“Bears” now only shows page numbers where it is not part of the phrase “Black Bears,”
“Brown Bears,” or “Mating Habits of Brown Bears.” Also “Brown Bears” only shows the
page number where it is not part of the phrase “Mating Habits of Brown Bears.”
The overlap optimization is done automatically using translation and Boolean operations.
Our example of “Bears” would look like this after being optimized:
The expression above puts the word “Bears” in the index, but gets the page numbers by
looking for occurrences of “Bears” that are not part of the phrases “Brown Bears” or “Black
Bears” or “Mating Habits of Brown Bears.”
To optimized overlapping cases in an open word/phrase list, select Optimize List... in the
Word-Phrase List menu as shown in figure 6.12.
52
Section VI Special Features
Fig. 6.12
When the dialog box show in figure 6.13 appears, check the Overlapping phrases box and
click the OK button. The optimized word/phrase list will then appear in the Word Phrase
List window.
Fig. 6.13
Note: Optimization of word/phrase lists should be done prior to reversing first and last
names or converting them to multiple-level.
53
Special Features Section VI
Anderson,
Michael;Anderson Michael
Thomas;Anderson Thomas
Andrews,
Smith, John G. Dale;Andrews Dale
Smith, John M. Dot;Andrews &:10 (Dot | Dorothy)
Smith, Bill F. Clark, Mary Lou;Clark Mary Lou
Anderson, Thomas Smith,
Anderson, Michael Bill F;Smith Bill F
Andrews, Dot;Andrews &:10 (Dot | Dorothy) John
Andrews, Dale G;Smith John G
Clark, Mary Lou M;Smith John M
Notice that the multiple level word/phrase list has been sorted. Figure 6.16 shows the index
generated by using the word/phrase list in figure 6.15.
Anderson,
Michael, 24, 92
Thomas, 52
Andrews,
Dale, 123-125
Dot, 44
Clark, Mary Lou, 101
Smith
Bill F, 49
John
G, 56
M, 57, 221
Fig. 6.16
Note: if you do not want a group of words to be broken up during the single-level to multi-
ple-level conversion, use an underline (_) instead of a space between the words:
Van_der_Graff, John
The underlines will be left in the resulting word list and can then be removed manually.
To create a multiple level word/phrase list, a single level word/phrase list must already be
open and be the front (active) document. Next, select Convert List to Multiple level... in the
Word-Phrase List menu. Refer to figure 6.17.
54
Section VI Special Features
Fig. 6.17
A dialog box will appear allowing you to choose how many levels that terms can be split into
(from 2 to 9). 2 is a good value if the list consists of proper names. Larger values are useful
for more general lists, including product names.
The new multiple level word/phrase list is opened in a new Word Phrase List window.
Refer to figures 6.18 and 6.19. Select Redefine Alphabetic Characters... in the Preferences
menu.
Fig. 6.18
55
Special Features Section VI
Fig. 6.19
The currently defined alphabetic characters are listed in the dialog box shown in figure 6.19.
To add a new character or remove an existing one, enter its uppercase version and its lower-
case version. For example, for the character A, you would enter A in the Uppercase: box and
a in the Lowercase: box. If the character does not have an uppercase or lowercase representa-
tion (like %), then enter the character in the Caseless: box.
To make a character alphabetic, select Yes in the Make character alphabetic? area or select
No to make a character non-alphabetic.
Click the OK button to make the change, which will appear under Current alphabetic char-
acters. Repeat for the next character you want to change.
To set the alphabetic characters back to the factory default, click the Default button.
56
Section VI Special Features
Fig. 6.21
If any Boolean operations are to be used in this mode, then they must be preceded by a semi-
colon (;) :
Note: Characters which are both non-alphabetic and not reserved by Sonar Bookends InDex
Pro are treated like a space (ignored for all practical purposes).
&:~|/\^+;{}()!=#
Characters Reserved by Sonar Bookends InDex
57
Special Features Section VI
acter (\). For example, if the phrase “Johnson & Johnson” is to be indexed and the ampersand
is to be treated as an alphabetic character and not a Boolean “and,” then the phrase should
look like this:
When the index is complete, using InDesign simply search for the back-slashes and get rid of
them. Figure 6.22 shows the steps.
Johnson, Smithers & Alfonso Part of an original word/phrase list
50% Reduction Ratio (Part 6) containing several special charac-
Alpha/Beta Testing ters.
Fig. 6.22
Smart Hyphens
By default a hyphen that is touching an alphabetic character on both sides is considered to
be a part of a word and is kept. For example, the hyphens in the word “cul-de-sac” would
be left untouched.
alpha-
betic
58
Section VI Special Features
However, you can change this behavior so that hyphens are kept even if they are followed by
blanks and carriage returns by unchecking Smart Hyphens in the Preferences menu. Refer
to figure 6.23.
Fig. 6.23
123-ABC-
456
Anyone building a non-English proper noun list will want to change or replace the supplied
English file with one having equivalent words in the desired language.
59
Special Features Section VI
Method one, which is the default, is to only index terms that are completely found on a single
page. This method would not find “United States of America” in the above example because
it wouldn’t see the entire phrase on either page. The phrase “nuclear power” would be found
on page 13, because that entire phrase is on that page.
Method two treats the first several words of the continued sentence on the second page (up to
50 characters) as if those words are on both the first and second page. For a phrase that is split
across the two pages, as in the example of “United States of America,” the index will show
the phrase to be on the first page (page 12 in the example). The trade-off is that the second
phrase, “nuclear power,” will appear in the index as being on both pages (12-13). That is
because it is seen as being completely on page 12 and also completely on page 13.
Figure 6.24 shows what Sonar Bookends InDex Pro “sees” on each page when indexing using
methods one and two.
United States of America uses nuclear power of America uses nuclear power. This is
Method 2
Fig. 6.24
Method 2 can be enabled by selecting Terms May Span Pages... in the Preferences menu.
Refer to figure 6.25.
Fig. 6.25
60
Section VII Tutorials
Fill in the desired frequency - the larger the number, the more words in the index. Click OK.
The Word Phrase List window will appear with the words to be indexed. For the demo ver-
sion, only words starting with the letter ‘s’ will appear. The word list can now be edited
if necessary.
61
Tutorials Section VII
In the Index dialog box make sure that Show frequency instead of page numbers is not
checked. Set any other desired options and click the OK button:
The index will now appear and can be printed and/or saved. For the demo version, only the
first two page numbers where each word is found will appear in the index.
62
Section VII Tutorials
The first step in making a proper noun index is to find the proper nouns. Select Build Proper
Noun list... in the Word-Phrase List menu:
Set the maximum number of times that a proper noun can appear before it is disqualified and
click OK:
The Word Phrase List window will appear with the proper noun list. For the demo version,
only the first 25 proper nouns will appear. The proper noun list can now be edited if nec-
essary.
Next, reverse first and last names using Order List As “Last Name, First Name” in the Word-
Phrase List menu:
63
Tutorials Section VII
A new Word Phrase List window will appear with the reversed proper noun list.
To make the single-level list into a multiple-level list, select Convert List To Multiple Level
in the Word-Phrase List menu:
A new Word Phrase List window will appear with the multiple-level, reversed, sorted, proper-
noun list.
64
Section VII Tutorials
Since the names have been reversed, it is important to make sure that the reversed names will
be indexed correctly. To do this, select Default Order And Proximity... in the Preferences
menu:
Make sure that Word order is significant is not checked and click the OK button:
Now that the word/phrase list is finished, make the index by selecting Create Index... in the
Index menu:
In the Index dialog box make sure that Show frequency instead of page numbers is not checked
and that Multiple level is selected. Set any other desired options and click the OK button:
65
Tutorials Section VII
The index will now appear and can be printed and/or saved. For the demo version, only the
first two page numbers where each word is found will appear in the index.
66
Section VIII Appendices
Chapter/section prefix - Page numbers can be prefixed with the name of the chapter or sec-
tion where the page numbers are contained. For example, if page 24 were in a chapter named
“6-”, then the page number generated by Sonar Bookends InDex would be “6-24”. The sec-
tion prefix comes from InDesign’s “Section Marker” text in the Section dialog box.
Collating sequence - The sequence into which the letters of an alphabet are sorted.
Consecutive page numbers - A series of page numbers that progressively increase by one.
Decimal tab - A type of tab stop where numbers are lined up on their decimal point, whether
the decimal point is displayed or not.
Dictionary - A storage library of the words that exist in a document or folder. A dictionary is
created when processing a file or folder.
Keyword elimination file - A list of words that are not to be placed into a word-frequency
word/phrase list.
Linguistic studies - The study of languages. Such studies often include the frequency of
words and phrases in documents.
Multiple-level index - An index where related entries are grouped together, with sub-entries
indented with tab characters.
Noise words - High-frequency words that provide little or no content information. Noise
words usually include words like “the” or “a.”
Non-alphabetic characters - Characters that are not used to make up a word. Just about any
character can be made into an alphabetic character, including numbers.
67
Appendices Section VIII
Proper noun - The name of a person, place or thing: United States of America, John Quincy
Adams, Sonar Bookends InDex Pro, etc.
Proximity - The distance (measured in words) between two words or phrases. For example,
“John within 10 words of Mary.” Using Sonar Bookends InDex Pro this would be written as
either: “John Mary:10!” or “John &:10 Mary.”
Single-level index - An index where information is organized alphabetically and not by any
kind of relationship.
Special characters - Characters that are reserved by Sonar Bookends InDex Pro. Special
characters include those used to create Boolean expressions.
Subject list - A list of people, places, things, and concepts found by analyzing the English
text in a document. Unlike a proper noun, capitalization does not play a major roll in detect-
ing subjects for indexing.
Text only file - Free-text files that do not contain graphics or formatting information. Also
known as ASCII files.
Translation - The “translation” operator keeps Boolean expressions, wild cards, and default
overrides from appearing in the final index. It is also used for adding comments and blank
lines to an index. The symbol used for translation is the semicolon: (;). Text appearing to
the left of the semicolon appears in the final index, while text to the right of the semicolon is
only used to find the page numbers. For example, cat;feline | kitten places the word cat in the
index, followed by the page numbers where feline or kitten are found.
Wild card - Use of the asterisk as a special character to determine certain matching criteria
during a search. Sonar Bookends InDex uses a suffix wild card. Suffix wild cards match the
ending characters of a word. For example, Mark* finds mark, marking, marker, or markers.
Word/phrase list - A text only file containing the words and phrases that are to be in an
index.
68
Section VIII Appendices
Insufficient memory - There is not enough RAM to process the request. If Boolean expres-
sions are not being used in the word/phrase list, check the Ignore All Non-Alphabetic Char-
acters item in the Preferences menu and try making the index again.
69
Appendices Section VIII
70
Section VIII Appendices
71
Appendices Section VIII
72
Section VIII Appendices
Solution: The front (active) file is not a word/phrase list. Make sure the font document is a
word/phrase list. If the front document is not titled “Word Phrase List”, use the Make Cur-
rent File a List item in the Word-Phrase List menu to mark the front file as a word/phrase list.
Problem: When indexing a document consisting of multiple files, page numbers are correct,
but out of sequence: Car, 1, 120, 40, 92
Solution: The file names being indexed are not in alphabetical order. Alphabetize the file
names so that they are in the same order as they appear in the book.
Solution: Only the files making up the document to be indexed and the Word Phrase List
window should be open. Check to make sure that there are no other files open. If there are
some extraneous files open, then they are being indexed.
Problem: Five asterisks (*****), indicating that Sonar Bookends InDex Pro cannot find a
word/phrase list entry, follow entries that are definitely in the document being indexed.
1. If the offending entries contain any of the following special symbols, refer to “Ignoring
Non-Alphabetic Characters” on page 56:
&:~|/\^+;{}()!=#
2. If keyword elimination is being used, then make sure that the offending entries do not
contain any of the eliminated keywords.
3. Make sure that the spelling of the entry is correct. It is easy to accidentally substitute
a zero (0) for the letter O, for example.
4. Finally, if phrases have had their first and last names reversed, make sure that Word
order is significant is unchecked in the Default Word Order And Proximity dialog box
as described under “Setting/Overriding Default Word Order and Proximity” on page
13.
73
Appendices Section VIII
Problem: The word “Cat” is to appear in the index, but “feline” is what actually appears in
the document being indexed.
Solution: Use “translation” (;) to resolve this situation. For more on translation see “Using
the Translation Operator” on page 47. You can also put “cat” on the page using hidden
keywords and index “cat” in the normal fashion. There is more information about hidden
keywords on page 26.
Problem: The index is to include chapter references as well as page numbers, but the chapter
references do not appear.
Solution: Check Include chapter names in this format: in the Index dialog box. Also, make
sure that you have entered the section/chapter name in the Section Marker field in InDesign’s
Section Options... dialog box. Refer to “Indexing with Chapter/Section Names“ on page 16.
Problem: Sonar Bookends InDex Pro has reversed first and last names in the word/phrase
list. However, when the index is made, Sonar Bookends InDex Pro is unable to find the
reversed names.
Solution: Even though Sonar Bookends InDex Pro was used to reverse first and last names,
Sonar Bookends InDex Pro still needs to be told that word order does not matter when index-
ing. This is done using Default Word Order And Proximity... in the Preferences menu and
must be done before making the index. See “Setting/Overriding Default Word Order and
Proximity“ on page 13.
Problem: The page numbers for each section in a multiple section document always begin
with page one, even though different starting page numbers had been manually specified.
Solution: In InDesign’s general preferences, select View: Section Numbering. Do not use
View: Absolute Numbering.
74
Index
Index
A
Abbreviation of consecutive page numbers, 35
Adding comments, 68
Alphabetic character set (defn, changing), 55
ASCII, 68
Asterisk, 8, 34, 45, 68, 73
Attach keywords..., 26
B
Blank lines, 2, 31, 37, 48, 68
Books, 31, 61, 63
Boolean expressions, 2, 41, 45, 47, 68-69
Build proper noun list..., 21, 63
Build style sheet list..., 27
Build word frequency list..., 17, 61
C
Chapter/section names, 1, 15-16, 74
Characters reserved by Sonar Bookends, 56-57
Collating sequence, 28, 67
Colons terminate subjects, 20
Comma, 8, 10, 35-36, 49
Comma Separators, 35
Commas separate subjects, 20
Comments, 68
Consecutive page numbers, 8, 15, 33, 35, 67
Converting single level word/phrase lists to multiple level, 53
Create Index..., 31, 62, 65, 73
Create Marked-Text Only Index..., 31
Create Style-Sheet Only Index..., 31
Creating a word/phrase list, 17-28, 30
Cross-reference, 1, 48
D
Database import format, 36
Default alphabetic character set, 55
Default word order and proximity..., 13-14, 23, 34, 47, 65, 71, 73-74
Demo version, 3, 18-19, 21, 61-63, 66
Discretionary hyphens, 13
75
Index
E
Editing ‘Hits’, 34, 41
Eliminate keywords..., 50
Error messages, 69
Exclamation sign (!), 47
Exporting, 5, 24
F
Filtering proper nouns, 59
Five asterisks (*****), 34, 73
Footnotes, 2, 59
Free-text, 68
G
Glossary, 2, 67
Group-letter titles, 35, 38
H
Hidden keywords, 1, 26, 74
Hiding text, 47
High-frequency noise words, 67
Hyphenated chapter names, 10, 35
Hyphenated words, 13
I
Ignore all non-alphabetic characters, 34, 57, 69
Ignoring specified text, 59
Index dialog box, 31, 62, 65, 74
Index formatting, 38
Index with chapter names, 16
Index without chapter names, 15
Indexing special characters, 57
Installing Sonar Bookends InDex Pro, 2
K
Keyword elimination, 50, 59, 67, 73
L
Linguistic studies, 34, 67
76
Index
M
Make index, 31, 44
Make table of contents, 39
Mark lists, 25, 71
Mark text, 25, 27, 31
Maximum consecutive page number abbreviation, 36
Menu summary, 71
Modifiers, 45
Multiple-level word/phrase lists, 10, 23, 32, 41, 53
Multiple level index, 6
Multiple level proper noun index, 63
N
Name reversal, 2, 48
Non-alphabetic characters, 45, 48, 56, 67, 71, 73
Non-consecutive page numbers, 35
Non-English characters, 5, 55
O
Operators, 22, 45-46
Optimize word/phrase list, 22, 51-52
Order list as last name, first name, 48, 63
Orphaned multiple-level entry, 33
Overlapping phrases, 22, 52-53
Overriding default word order, 13, 47-48, 73-74
P
Pagination, 13
Parentheses, 45
Preview mode, 2, 41, 44
Proper noun index, 63
Proper noun list, 1, 5, 7, 21-22, 59, 63-64
Proximity, 13-14, 23, 34, 46-47, 65, 68, 71, 73-74
Punctuation, 1, 7, 13, 18, 21, 23, 35, 38, 45, 67
R
Redefine alphabetic characters..., 55, 57
Redundant page number optimization, 22, 52-53
Register, 3, 71
Registration card, 3
Reversing names, 2, 48
77
Index
S
Sample Boolean expressions, 47
SBIKWELIM.TXT, 50
SBIPN.TXT, 59
SBIPREFIX.TXT, 49
SBISORTIGNORE.TXT, 28
SBISORTSEQUENCE.TXT, 28
SBITITLES.TXT, 49
Semicolon (use of), 26, 47-48, 53, 68
Separation of non-consecutive page numbers, 35
Setting/Overriding Default Word Order, 13, 48, 73-74
Setting Blank Lines Between Entries, 37
Single-Level Index, 5, 32, 68
Single-level word/phrase lists, 5, 10, 22-23, 41, 53
Single/plural phrases, 2, 41, 50-51
Single level index, 5
Singular/plural optimization, 2, 41, 50-51
Smart hyphens, 13, 20, 58-59
Smart option, 7, 32
Sonar Bookends InDex Pro’s Alphabetic Character Set, 55
Sort list..., 27
Sorting, 2, 27-28
Sorting order, 2, 28
Special characters, 34, 37, 45, 57-58, 68, 73
Subject word/phrase list, 1
Suffix wild card, 68
T
Tab character, 9-11, 13, 23, 35, 37-39, 47, 67
Table of Contents, 1, 3, 11, 14, 17, 31-40, 71
Tables, 2
Technical support, 3-4, 69
Terms May Span Pages..., 60
Text only, 1, 24, 28, 49-50, 59, 68
Text separating index entries and page numbers, 36
Tilde, 10, 35
Translation operator, 7, 24, 45, 47-48, 57, 68, 74
Trouble shooting, 73
Two-word last names, 2, 41, 48-49
78
Index
W
Wild cards, 1, 22, 41, 45, 47, 68
Word/phrase list index, 5-6, 48
Word frequency index, 5, 50, 61
Word Frequency Instead of Page Numbers, 34
Word order, 13-14, 23, 34, 47-48, 65, 71, 73-74
79
Index
80