|
Cross-references in NeoOffice Writer
From NeoWiki
Revision as of 02:53, 24 May 2007 (edit) Lorinda (Talk | contribs) (Remove "in translation" template) ← Previous diff |
Revision as of 00:05, 25 May 2007 (edit) (undo) Lorinda (Talk | contribs) (→How to Insert Target for a Cross Reference - two target methods) Next diff → |
||
Line 13: | Line 13: | ||
==How to Insert Target for a Cross Reference== | ==How to Insert Target for a Cross Reference== | ||
- | Suppose that you have a section of text in your document that you want to refer to elsewhere, or that you want to be able to find easily. To insert a target at this place | + | Suppose that you have a section of text in your document that you want to refer to elsewhere, or that you want to be able to find easily. To do so, you must insert a "target" at this place. You do so by one of two methods: ''Bookmarks'' or ''Set Reference'' |
+ | ===Set Reference=== | ||
+ | * Place the cursor in (or just before) the word or the phrase. | ||
+ | * Under the {{menu|Insert}} menu, choose {{menu|Cross reference...}} The {{window|Fields}} window opens, with the {{section|References}} tab selected. | ||
+ | * Make sure that {{prefName|Set Reference}} is selected under {{section|Type}} and then enter a name for the target in the {{prefName|Name}} field. It is always good to give the target a name that clearly identifies it. | ||
+ | * Click {{button|OK}}. The {{window|Fields}} window closes. | ||
+ | |||
+ | ===Bookmark=== | ||
+ | * Place the cursor in (or just before) the word or the phrase. | ||
+ | * Under the {{menu|Insert}} menu, choose {{menu|Bookmark...}}. The {{window|Insert Bookmark}} window opens. | ||
+ | * In the entry field, type the name that you want to give to your bookmark. (Give it a descriptive name) | ||
+ | * Click {{button|OK}}. The {{window|Insert Bookmark}} window closes. | ||
<!--==Comment insérer un repère de texte== | <!--==Comment insérer un repère de texte== |
Revision as of 00:05, 25 May 2007
Contents |
What is a Cross Reference?
A cross reference refers to an element that is found in another part of the document. For example, you may have a sentence such as "We will discuss this case in more detail on page X" where X is the number of the page on which the case is discussed. As you continue to edit the document, the number of the page you are refering to may change. NeoOffice allows you to insert a target at the place in the document to which you want to refer, and then use it to insert a cross-reference.
How to Insert Target for a Cross Reference
Suppose that you have a section of text in your document that you want to refer to elsewhere, or that you want to be able to find easily. To do so, you must insert a "target" at this place. You do so by one of two methods: Bookmarks or Set Reference
Set Reference
- Place the cursor in (or just before) the word or the phrase.
- Under the Insert menu, choose Cross reference... The Fields window opens, with the References tab selected.
- Make sure that Set Reference is selected under Type and then enter a name for the target in the Name field. It is always good to give the target a name that clearly identifies it.
- Click OK. The Fields window closes.
Bookmark
- Place the cursor in (or just before) the word or the phrase.
- Under the Insert menu, choose Bookmark.... The Insert Bookmark window opens.
- In the entry field, type the name that you want to give to your bookmark. (Give it a descriptive name)
- Click OK. The Insert Bookmark window closes.
How to Insert a Cross-Reference
Now you have written a sentence like "We discuss this case in more detal on page X" where "X" is the page number of the target you have created. In order to insert a page number that is updated automatically when a change in your document changes the page number of the target (for example, you have deleted several pages). You must do the following:
- Under the Insert menu, choose Cross-reference. The Fields window opens and the References tab is selected.
- In the left column, titled Type, choose Insert Reference
- In the center column, titled {[section|Selection}}, choose the name of the cross-reference target that you have inserted;
- In the right column, titled Format, choose page (assuming that you want to insert the page number; note that there are other options here as well)
- Click on Insert and then Close.
The page number of the target will be added to your document at the cursor point. Note that the cross reference (whether a page number or something else) is also a hyperlink. Clicking on it takes you to the target mark in your document.
Related Wiki Articles
Cross-references in a Master Document