Cross References: ref, rep, rec commands

 

With Nota Bene, you can refer to selected text in your document and the program will keep track of any counters associated with that text and automatically update your reference to a chapter number, page number, footnote number or any other counter.  For example, suppose you want to write "See Chapter 7, Section 4, `Travel in Guyana,' p. 361"; but you aren't sure that this section will stay on page 361 --  or will even stay in Chapter 7.  You can label the part called "Travel in Guyana," then use the REF (Reference to a counter), REC (reference to a chapter), and REP (reference to a page) commands to refer to the label.  These commands will automatically update your references to page numbers, chapter numbers, paragraph numbers, footnote numbers, heading numbers, or any other counters C0-- C14.

 

Each procedure for creating references has two steps:

 

1Label the Text: The label is a unique name that tags the passage so you can track its page, chapter, footnote and counter number.
2Use the Reference Commands: The REF, REP and REC commands are placed in your referral statement.  They indicate where the reference text can be found.  A referral statement is any statement that refers to labeled text (e.g.,  "See page 6").

 

Referring to the Page Number of Any Text

 

The simplest reference is to a page; to track it, you put an LB (Label) command in the text you are referring to and an REP command at the referral statement ("See page ..."):

 

1Move the cursor to the beginning of the text you want to reference.
2Press F9, type LB travel and then press F10 This command will give the text the label "travel."   The label is hidden in graphic view, but may be seen and edited in show codes view.
3Move the cursor to the point where you want to insert the page number that refers to the text you have labeled. You may want to type "See page" and then a space before inserting the page number.
4To insert the page number, press F9, type REP travel and then press F10.

 

Referring to Chapter and Page Numbers of Any Text

 

To number pages with a chapter-page format (e.g., see page II-4), you need referral statements that track the chapter number as well as page number.  You must have a chapter counter (c0) inserted at each chapter title. See Numbering Chapters

 

1Label the text as above.
2Move to the page where you want to refer to the text.
3Type See page (add a space after "page")
4Press F9, type rec travel and then press F10
5Type  [-]  on numeric keypad (hard hyphen)
6Press F9, type rep travel and then press F10

The referral statement will show the chapter and page number.

 

Referring to a Counter

 

You can attach a label to a counter, such as an illustration number or section number. REF in the referral statement will yield the current counter number, REP the page number, and REC the chapter number (if chapter counter C0 is used).

 

Let's say you want to refer the reader to a title "Section D,Five-Year Plan."  You've used counter C2 for the section letter (which may not stay section "D").

 

Label the Counter:  Add a unique name to the existing counter command, in this case C2 (rather than using the LB command).

 

1Move the cursor to the marker representing the counter command C2.
2Label the counter "plan." (Note: The first character of a counter label cannot be a number.)
       a        Press: Del  to delete the existing counter.
       b        Type F9 c2 plan F10

Use the Reference Commands: To write a phrase like "See Section D, Five-Year Plan" elsewhere, with the current section letter, you use REF to track the labeled counter "C2plan."

 

1Move to the page where you want to refer to the text.
2Type See Section (add space after section)
3Type F9 ref plan F10
4Type , Five-Year Plan (note the comma)

 

Referring to a Footnote Number

 

You can put the LB command in a footnote.  You then put REF in the referral statement to produce the footnote number, REP its page number, and REC the chapter number (if a chapter counter C0 is used). To refer to a footnote number, such as "Refer to footnote 4," do the following:

 

1Place the cursor where you want the footnote number to appear in your text.
2Create the footnote with the FN command: Type F9 fn F10
3Type F9 lb authors F10 to insert  a unique label in your footnote.                
4Now write your footnote and close the screen:
Type:   The great American authors include Thoreau, Twain, and Hemingway.
Click Save on the footnote window.

 

A footnote number appears in your text.  In expanded view, it appears like this:

 «F N1«LBauthors»The great American authors...»

 

Use the Reference Commands:  Use the same procedure for the REP, REF, and REC commands. In this case, we will refer to only the footnote number.

 

1Move to the page where you want to refer to the text.
2Type Refer to footnote (add space at end)
3Type F9 ref authors F10

 

For instructions on using the menus to create labels and cross references see Cross References.

 

Once the cross reference has been created, it will appear on-screen in green, but it will print in black. You can double-click on the cross reference to go to the point in the document where the label was inserted.