The document already contains cross-reference formats for headings and tables, but it doesn’t have an appropriate format for a cross-reference to a chapter title. Here, you’ll create such a format so that you’ll be able to cross-reference a chapter title later.
1. | With the insertion point still in Ref1.fm, choose Special > Cross-Reference.
|
2. | Make sure that the Heading & Page format is chosen in the Format pop-up menu. Then click Edit Format. The definition for the Heading & Page format appears in the Definition text box.
You’ll use the Edit Cross-Reference dialog box to create the format for the cross-reference. The format definition comes from three sources:
- Building blocks specify information about the source of the cross-reference. For example, the <$paratext> building block specifies the paragraph text, and the <$pagenum> building block specifies the page number.
- Text you type yourself in the Definition text box will appear in the format just as you typed it. For example, typing the words on page adds those words to the format.
- Character formatting comes from special building blocks so that, for example, portions of the cross-reference appear in bold or italics.
|
3. | Delete the contents of the Name text box and enter Chapter in its place.
|
4. | In the Definition text box, place the insertion point at the very beginning or left of the <$paratext> building block.

Note
In Windows and on UNIX systems, the backslash sequences in the Definition text box indicate curved quotation marks. On the Mac OS, you literally see curved quotation marks: “and” instead of: \’ and \’.
|
5. | Type the chapter and press the spacebar. Carefully proofread the words, because Spelling Checker does not check text that is inserted into dialog boxes.

|
6. | Click to set the cursor at the left of the building block <$paratext>.
|
7. | Click once on the <Emphasis> building block at the bottom of the Building Blocks list.

|
8. | Select the remainder of the definition ( on page\ <$pagenum>), then press Backspace (Windows) or Delete (Mac OS).

Be sure that you delete everything to the right, including any blank spaces.

|
9. | Click Add. The new cross-reference format (Chapter) appears in the Formats scroll list.

|
10. | Click Done in the Edit Cross-Reference dialog box, then click Done in the Cross-Reference dialog box itself.
|
11. | Save the document.
|