Using the Index tool
You have some text formatted as Heading 3 called Index at the end of the document.
- Go to that location and generate a new line of text below the word index.
- Be sure that the new paragraph object is formatted as Normal style.
- We want to insert an Index, so open the Index dialog box from the taskbar.
- Our index will be a two column affair.
If you need to add an index, you must mark up all the text to index ...
- select Mark Entry to open dialog box
- use the find tool in the Navigation sidebar to find a word or phrase
- and then Mark All to embed some XML into the document as hidden text
-
Of course, we may not know exactly where the words we want to index are located so we want to open
the cntl+f tool simultaneously and enter the word we wish to index, then find the next example of it.
-
Once we have found an example, we need to click in the Main entry box on the Mark Index Entry dialog
box and then ask the tool to Mark All the examples of that word.
Try it with these words - Los Angeles, San Francisco, San Diego, Santa Barbara, Monterey, Boston, and Cape Horn.
- You will note that the Mark Index Entry tool adds some hidden text to the document.
-
You will not see this text when the document prints, but you can see it when you have the
Show/Hide button selected.
- This is the markup the index tool is looking for.
Now that you have your document marked up for the index tool, create an index.
-
The first thing you need to do is to be sure where your cursor is located because the index tool
will place the index where the cursor is located.
-
Place your cursor at the location of the new paragraph object you created after the word Index,
and create an index by selecting the OK button on the Index and Tables dialog box.
Final steps
Are we done? Did the introduction of a table of contents throw off the page numbering?
- Since the table of contents is at least two pages long, the document is at least two pages longer.
- Thus the index we created is now no longer accurate since it was based on the shorter document.
- We can fix that by going back to the index and selecting the index object.
- Then right click on the selected object and update the field.
If the pages need renumbering, the update will renumber them. Did any of them need renumbering?