Cross-references in NeoOffice Writer

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 01:48, 24 May 2007 (edit)
Lorinda (Talk | contribs)
(How to Insert a Target - continuing translation)
← Previous diff
Current revision (12:40, 18 June 2007) (edit) (undo)
RoyFocker (Talk | contribs)
m (Related External Links - link to spanish version)
 
(10 intermediate revisions not shown.)
Line 1: Line 1:
-{{InTranslation}} 
==What is a Cross Reference?== ==What is a Cross Reference?==
Line 14: 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, you must select the word or phrase that you want to mark (it is enough just to place the cursor in the word or the phrase without selectinng it.) Then, 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. Then press{{button|OK}} The {{window|Fields}} window closes.+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''
-==How to Insert a Cross-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==
Supposons que vous ayez écrit un texte dans votre document auquel vous voulez faire référence dans la suite ou que vous voulez retrouver facilement. Pour insérer un renvoi à cet emplacement vous devez sélectionner le mot ou la phrase qui vous intéresse (mais il suffit de placer le curseur dans le mot ou la phrase sans qu'il soit besoin de surligner). Supposons que vous ayez écrit un texte dans votre document auquel vous voulez faire référence dans la suite ou que vous voulez retrouver facilement. Pour insérer un renvoi à cet emplacement vous devez sélectionner le mot ou la phrase qui vous intéresse (mais il suffit de placer le curseur dans le mot ou la phrase sans qu'il soit besoin de surligner).
-Ensuite choisissez le menu {{menu|Insertion}} puis le sous-menu {{menu|Repère de texte...}}. La fenêtre {{window|Insertion d'un repére de texte}} s'ouvre. Dans le champ d'édition inscrivez le nom que vous voulez donner à votre repère (il est toujours bon de mettre un nom significatif), puis pressez le bouton {{button|OK}}. La fenêtre {{window|Insertion d'un repére de texte}} se ferme.+Ensuite choisissez le menu {{menu|Insertion}} puis le sous-menu {{menu|Repère de texte...}}. La fenêtre {{window|Insertion d'un repére de texte}} s'ouvre. Dans le champ d'édition inscrivez le nom que vous voulez donner à votre repère (il est toujours bon de mettre un nom significatif), puis pressez le bouton {{button|OK}}. La fenêtre {{window|Insertion d'un repére de texte}} se ferme.-->
-==Comment insérer une référence==+==How to Insert a Cross-Reference==
 + 
 +Now you have written a sentence like "We discuss this case in more detail 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 {{menu|Insert}} menu, choose {{menu|Cross-reference}}. The {{window|Fields}} window opens and the {{section|References}} tab is selected.
 +*In the left column, titled {{section|Type}}, choose {{prefName|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 {{section|Format}}, choose {{prefName|page}} (assuming that you want to insert the page number; note that there are other options here as well)
 +*Click on {{button|Insert}} and then {{button|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.
 + 
 +<!--==Comment insérer une référence==
Maintenant vous avez écrit la phrase "Dans ce document on évoquera ce cas plus en détail page X " où "X" est le numéro de la page du repère que vous avez créé. Pour insérer le numéro de la page de sorte que celui-ci se mette à jour automatiquement lors d'une modification (par exemple si vous avez modifié le document en ajoutant ou en supprimant des pages que vous aviez placées avant ou après le numéro de page du repère) vous devez procéder de la manière suivante : Maintenant vous avez écrit la phrase "Dans ce document on évoquera ce cas plus en détail page X " où "X" est le numéro de la page du repère que vous avez créé. Pour insérer le numéro de la page de sorte que celui-ci se mette à jour automatiquement lors d'une modification (par exemple si vous avez modifié le document en ajoutant ou en supprimant des pages que vous aviez placées avant ou après le numéro de page du repère) vous devez procéder de la manière suivante :
* Sélectionnez le menu {{menu|Insertion}} puis le sous-menu {{menu|Renvoi…}}. La fenêtre {{window|Champs}} s'ouvre et l'onglet {{section|Références}} est sélectionné ; * Sélectionnez le menu {{menu|Insertion}} puis le sous-menu {{menu|Renvoi…}}. La fenêtre {{window|Champs}} s'ouvre et l'onglet {{section|Références}} est sélectionné ;
Line 30: Line 51:
* Cliquez sur le bouton {{button|Insérer}}, puis sur le bouton {{button|Fermer}}. * Cliquez sur le bouton {{button|Insérer}}, puis sur le bouton {{button|Fermer}}.
-Le numéro de la page où se trouve le repère de texte est inscrit dans votre document.+Le numéro de la page où se trouve le repère de texte est inscrit dans votre document.-->
-==Insertion d'un hyperlien à la référence==+==Adding a Hyperlink to a Reference==
 + 
 +''Note'' Only cross references to Bookmarks can be set as hyperlinks. Cross references to set references cannot be hyperlinked, but double clicking on the cross reference usually takes you to the set reference "target."
 +
 +Adding a hyperclink to a reference allows you to click on, for example, the page number and immediately go to the text to which the cross reference refers. To set a hyperlink, follow these instructions:
 +* Select the cross reference
 +* Under the {{menu|Insert}} choose {{menu|Hyperlink}}. The {{window|Hyperlink}} window opens.
 +* Click on the "Document" icon
 +* In the {{section|Target within the document}} section, to the right of the {{prefName|Target}} field, click the target icon. A window opens.
 +* Choose '''Bookmarks''' then select the bookmark you wish to refer to;
 +* Click on the {{button|Apply}}, then on the {{button|Close}}. The {{window|Target in Document}} window closes.
 +* Click on the {{button|Close}} in the {{window|Hyperlink}}.
 +Now if you place the cursor on the reference, it will become a hand. Clicking on this spot will take you to the point of the document where the bookmark is placed.
 + 
 +<!--==Insertion d'un hyperlien à la référence==
Insérer un hyperlien à une référence a pour but de permettre en cliquant sur, par exemple, le numéro de page de voir immédiatement le texte auquel se rapporte cette référence. Insérer un hyperlien à une référence a pour but de permettre en cliquant sur, par exemple, le numéro de page de voir immédiatement le texte auquel se rapporte cette référence.
Pour cela suivez ces instructions : Pour cela suivez ces instructions :
Line 42: Line 77:
* Cliquez sur le bouton {{button|Appliquer}}, puis sur le bouton {{button|Fermer}}. La fenêtre {{window|Cible dans le document}} se ferme ; * Cliquez sur le bouton {{button|Appliquer}}, puis sur le bouton {{button|Fermer}}. La fenêtre {{window|Cible dans le document}} se ferme ;
* Cliquez sur le bouton {{button|Fermer}} de la fenêtre {{window|Hyperlien}}. * Cliquez sur le bouton {{button|Fermer}} de la fenêtre {{window|Hyperlien}}.
-Maintenant si vous placez le curseur sur la référence, il prend la forme d'une main. En cliquant en cet emplacement vous serez amenés au point du document où se trouve la référence liée.+Maintenant si vous placez le curseur sur la référence, il prend la forme d'une main. En cliquant en cet emplacement vous serez amenés au point du document où se trouve la référence liée.-->
-==Trucs et astuces==+<!--==Trucs et astuces==
* [[Fr:Références_dans_un_document_maître|Utiliser les références dans un document maître]]--> * [[Fr:Références_dans_un_document_maître|Utiliser les références dans un document maître]]-->
 +==Related Wiki Articles==
 +[[Cross-references in a Master Document]]
 +<br><br>
 +
 +==Related External Links==
 +There is an article on Cross References available for download on the [http://documentation.openoffice.org/HOW_TO/index.html OpenOffice.org How To page]. It discusses the process in more detail and includes a table detailing the differences between bookmarks and set references.
-{{botlangbarEN|[[It:Uso_dei_riferimenti_incrociati_in_NeoOffice_Writer|Italiano]] [[Fr:Références dans NeoOffice Writer|Français]]}}+{{botlangbarEN|[[It:Uso_dei_riferimenti_incrociati_in_NeoOffice_Writer|Italiano]] [[Fr:Références dans NeoOffice Writer|Français]] [[Es:C%c3%b3mo_usar_referencias_y_marcas_de_texto_en_Writer|Español]]}}
-[[Category:Tips and Hints]][[Category:NeoWikiFR]]+[[Category:Tips and Hints]]

Current revision

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 detail 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 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.


Adding a Hyperlink to a Reference

Note Only cross references to Bookmarks can be set as hyperlinks. Cross references to set references cannot be hyperlinked, but double clicking on the cross reference usually takes you to the set reference "target."

Adding a hyperclink to a reference allows you to click on, for example, the page number and immediately go to the text to which the cross reference refers. To set a hyperlink, follow these instructions:

  • Select the cross reference
  • Under the Insert choose Hyperlink. The Hyperlink window opens.
  • Click on the "Document" icon
  • In the Target within the document section, to the right of the Target field, click the target icon. A window opens.
  • Choose Bookmarks then select the bookmark you wish to refer to;
  • Click on the Apply, then on the Close. The Target in Document window closes.
  • Click on the Close in the Hyperlink.

Now if you place the cursor on the reference, it will become a hand. Clicking on this spot will take you to the point of the document where the bookmark is placed.


Related Wiki Articles

Cross-references in a Master Document

Related External Links

There is an article on Cross References available for download on the OpenOffice.org How To page. It discusses the process in more detail and includes a table detailing the differences between bookmarks and set references.


This article in other languages: Italiano Français
Personal tools