Cross-references in a Master Document

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:34, 14 June 2007 (edit)
Lorinda (Talk | contribs)
(Description of the Problem - more translation)
← Previous diff
Revision as of 02:44, 14 June 2007 (edit) (undo)
Lorinda (Talk | contribs)
(More Concretely... - more translation)
Next diff →
Line 26: Line 26:
Dans ce cas, nous allons plutôt utiliser une référence que j'appellerais '''référence globale'''. Grâce à cette référence, l'indication de la page sera actualisée à chaque modification de page.--> Dans ce cas, nous allons plutôt utiliser une référence que j'appellerais '''référence globale'''. Grâce à cette référence, l'indication de la page sera actualisée à chaque modification de page.-->
 +
 +==Procedure==
 +
 +Since an illustration is more helpful than a long discourse, the following is an example of the technique;
 +
 +*My master document contains a sub-document named <tt>dolphins_and_seals.odt<tt> containing a chapter titled "The Relationship Between Dolphins and Seals."
 +*my master document contains another sub-document, named <tt>abstract.odt<tt> that contains the line "I discuss the relationship between dolphinis and seals below (page X)."
 +*I want want the number (X) in "page X" to always refer to the page number of my chapter on the relationship between dolphiins and seals, regardless of any changes I make in the document.
<!--==Procédure== <!--==Procédure==
Line 32: Line 40:
* Mon document maître contient un sous-document nommé <tt>dauphins_et_phoques.sxw</tt> contenant un chapitre dont le titre est « Rapport entre les dauphins et les phoques ». * Mon document maître contient un sous-document nommé <tt>dauphins_et_phoques.sxw</tt> contenant un chapitre dont le titre est « Rapport entre les dauphins et les phoques ».
* Mon document maître contient un autre sous-document, nommé <tt>plan_de_travail.sxw</tt> qui contient la ligne « Je parle du rapport entre les dauphins et les phoques plus bas (page X) » * Mon document maître contient un autre sous-document, nommé <tt>plan_de_travail.sxw</tt> qui contient la ligne « Je parle du rapport entre les dauphins et les phoques plus bas (page X) »
-* Je voudrais que le X de mon « page X » ci-dessus indique précisément et toujours la page de mon document maître où se retrouvera mon chapitre sur le rapport entre les dauphins et les phoques, et ce quelles que soient les ajouts et modifications que je pourrais faire.+* Je voudrais que le X de mon « page X » ci-dessus indique précisément et toujours la page de mon document maître où se retrouvera mon chapitre sur le rapport entre les dauphins et les phoques, et ce quelles que soient les ajouts et modifications que je pourrais faire.-->
 + 
 +===Procedure for the Creation of a "Global" Reference===
-===Procédure pour la création d'une référence « globale »===+<!--===Procédure pour la création d'une référence « globale »===
Pour créer et utiliser cette référence globale, suivez les trois étapes suivantes : Pour créer et utiliser cette référence globale, suivez les trois étapes suivantes :

Revision as of 02:44, 14 June 2007

This page is in the process of being translated. In time, the entire article will appear here. Until then, the full article is available in one or more other languages by clicking on the links at the bottom of the page.

Contents

Description of the Problem

Lets say that a sub-document (an inserted document) of a master document must contain a cross-reference to an element in another sub-document in the same master document. In the case, it is not possible to use the Fields window to define and insert the refrence in the "traditional" manner.


More Concretely...

Let's say that the master document contains a sub-document that details the contents of other documents. Sort of like a table of contents, but more detailed.

In this sub-document, we want the page numbers to appear, similar to a table of contents. For example, we might have the phrase "I discuss the relationship between dolphins and seals below (page X)." This "X" must correspond to a page in another sub-document of the master document (it does not matter if the other sub-document is above or below the current one). Because the document is in the process of being written, I do not know what page will be the first page of my chapter on the relationship between dophins and seals. If there is only one reference in my document, I could keep it up to date manually, then I would be treating my computer like a typewriter.

In this case, it is best to use a reference I call a global reference. Thanks to this reference, the page number will be updated with each change to the page.


Procedure

Since an illustration is more helpful than a long discourse, the following is an example of the technique;

  • My master document contains a sub-document named dolphins_and_seals.odt<tt> containing a chapter titled "The Relationship Between Dolphins and Seals."
  • my master document contains another sub-document, named <tt>abstract.odt<tt> that contains the line "I discuss the relationship between dolphinis and seals below (page X)."
  • I want want the number (X) in "page X" to always refer to the page number of my chapter on the relationship between dolphiins and seals, regardless of any changes I make in the document.


Procedure for the Creation of a "Global" Reference


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