Creating a Table of Contents

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:09, 8 February 2007 (edit)
Valterb (Talk | contribs)
(botlangbar -> IT)
← Previous diff
Revision as of 17:49, 8 February 2007 (edit) (undo)
Valterb (Talk | contribs)
(adding 3 comments different between ##### in the <!-- part -->)
Next diff →
Line 185: Line 185:
# Choisir « Table des matières » dans le deuxième menu de l'onglet, # Choisir « Table des matières » dans le deuxième menu de l'onglet,
# Donner un nom à cette table des matières (optionnel) dans le premier champ de saisie, # Donner un nom à cette table des matières (optionnel) dans le premier champ de saisie,
-# Si vous ne voulez pas que la Table des matières soit modifiée dans le document (ce qui est plus prudent), cocher la case « Protégé contre toute modification manuelle ». Notez cependant que cette case devra être décochée pour pouvoir supprimer (détruire) la table des matières créée,+# Si vous ne voulez pas que la Table des matières soit modifiée dans le document (ce qui est plus prudent), #####Valterb comment: from this point to the end of the paragraph I think that this is not needed##### cocher la case « Protégé contre toute modification manuelle ». Notez cependant que cette case devra être décochée pour pouvoir supprimer (détruire) la table des matières créée,
# Si c'est une Table des matières générale, c'est à dire couvrant l'ensemble du document dans laquelle doit être insérée cette Table des matières, choisir « Document entier » dans la section « Créer un index », # Si c'est une Table des matières générale, c'est à dire couvrant l'ensemble du document dans laquelle doit être insérée cette Table des matières, choisir « Document entier » dans la section « Créer un index »,
# Dans cette même section, choisir le niveau d'évalutation : même si vous utilisez 10 niveaux de titres (chapitre, sous-chapitre, sous-sous-chapitre, sous-sous-sous-chapitre, etc. ;-)) dans votre document, vous pouvez choisir de n'en afficher qu'un certain nombre dans la Table des matières. Régler ce nombre ici (p.e. « 1 » si vous ne voulez afficher que les « chapitres » et « sous-chapitres » de votre document). # Dans cette même section, choisir le niveau d'évalutation : même si vous utilisez 10 niveaux de titres (chapitre, sous-chapitre, sous-sous-chapitre, sous-sous-sous-chapitre, etc. ;-)) dans votre document, vous pouvez choisir de n'en afficher qu'un certain nombre dans la Table des matières. Régler ce nombre ici (p.e. « 1 » si vous ne voulez afficher que les « chapitres » et « sous-chapitres » de votre document).
Line 203: Line 203:
''Note : si vous travaillez avec un [[Fr:Utilisation_d'un_document_maître|document maître]], l'actualisation de « Tout » (élément du menu contextuel obtenu en maintenant un clic sur l'icône [[Image:BNavUpdate.png]] du Navitagateur du document maître) a également pour effet d'actualiser la table des matières.'' ''Note : si vous travaillez avec un [[Fr:Utilisation_d'un_document_maître|document maître]], l'actualisation de « Tout » (élément du menu contextuel obtenu en maintenant un clic sur l'icône [[Image:BNavUpdate.png]] du Navitagateur du document maître) a également pour effet d'actualiser la table des matières.''
 +
 +#####Valterb changing for the above paragraph
 +
 +Updating the Table of Contents is possible following two different procedures: the first is done following the same procedure described for inserting a Table of Contents, while the other is directly inside the text.
 +
 +====Updating via Index window====
 +The procedure is the same of what you have done for inserting a Table of Contents, and it is usefull if you need to change Table of Contents structure, like if you need to change the number of chapter levels you want in the Index (attention: this procedure works only if you put the cursor within the Table of Contentd before starting it)
 +
 +# Put the cursor within the Table of Contents you are going to update,
 +# Open The window {{Window|Insert Index}} from {{menu|Insert/Index/Table of Contents}} menu,
 +# Opzially: Edit rules you need,
 +# Click on <tt>OK</tt>.
 +''—> NeoOffice will update your Table of Contents''.
 +
 +''Note: if you are working with [[It:Utilizzare_i_documenti_Master|Master Documents]], you can update everithing, Table of Contents included) clicking on the icon [[Image:BNavUpdate.png]] that is present in [[The_Navigator|the navigator window]]) and choosing "all"''.
 +
 +====Updating directly in the text====
 +If you don't nedd to change the Table of Contents structure, i.e. you don't need to change the number of levels that have to be visualize in the Table of Contents, it's possible update it simply right-clicking (or ctrl-click) within a pnt of the Index and than choose <tt>Update Index/table</tt>
 +
 +end of valterb modification#####
===Suppression de la table des matières=== ===Suppression de la table des matières===
Line 230: Line 250:
(procédure pour régler l'affichage d'une tdm) (procédure pour régler l'affichage d'une tdm)
-==Bons tuyaux à connaître==+#####Valterb adding
-(quelques bons tuyaux)+Titles shown on the Table of Contents can have a look different form the look that chapters tile have inside the document.
 +The index title linked to chapter level 1 has a paragraph style called <tt>Index 1</tt>, the index title linked to chapter level 2 has a paragraph style called <tt>Index 2</tt></tt>, etc.
 +So if you want to change the typographic style of the Table of Contents you can do it as you usually do for [[IT:Come_usare_gli_stili_di_paragrafo#Come_modificare_gli_stili_di_paragrafo|changong paragraph styles]].
 + 
 +End of Valterb adding#####
 + 
 +==Bons tuyaux à connaître==
-NEED TO ADD BOTLANG BAR --> +(quelques bons tuyaux) -->
{{botlangbarEN|[[Fr:Manipulation d'une table des matières|français]] [[It:Creare_un_Indice|Italiano]]}} {{botlangbarEN|[[Fr:Manipulation d'une table des matières|français]] [[It:Creare_un_Indice|Italiano]]}}
[[Category:NeoOffice]][[Category:Tips and Hints]] [[Category:NeoOffice]][[Category:Tips and Hints]]

Revision as of 17:49, 8 February 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

Introduction

What is more interesting than seeing the structure of a document when one is in the midst of writing it. What is more practical than easily finding, in a document of 100 or 1000 pages, the location of a chapter or a subsection.

It is possible to achieve that very simply with NeoOffice's Writer component, thanks to the Tables of Contents. Their manipulation is extremely simple, contrary to appearances.

It is important to keep in mind the different elements which are involved in order for NeoOffice to create this Table of Contents and keep it up-to-date.

In the first place, it is important to understand that for Writer, a Table of Contents is an index like other indexes. Thus the tools that direct the Table of Contents found in the Index tools.

The secon thing to keep in mind is that Writer doesn't use the terms "Title" or "Sub-title," but refers instead to Chapter and Level. For example, the Outline Numbering... command in the Tools menu is used in creating Tables of Contents and all the heading levels.


What is Needed to Create a Table of Contents

In order to construct a Table of Contents, Writer must know on what to base the structure of the document, that is to say which titles it is to include in the flow of the document.

Aas we have seen above, Writer calls these titles chapters.

Here, it is important to understandthat Writer, in itself, is incapable of differentiating between text and title, sub title, sub-sub title, etc. It is by using paragraph styles that we can tell Writer which is which. Without these style sheets, NeoOffice will be incapable of creating a table of contents.

In other words, it is necessary that your titles—those which will be used to create the desired table of contents—are styled correctly. Whether you use your own styles or the existing styles does not matter.

Then, NeoOfice needs to know where to place this table of contents.

Finally, NeoOffice needs to know what form to give it (what title levels to include, style of the text, columns, etc.)

We will discuss each of these tasks below.


Manipulating a Table of Contents

By default, Writer uses the pargraph styles "Heading 1," "Heading 2," through "Heading 10" to construct a table of contents. You can see this by going to the Tools menu and choosing Outline Numbering.... If it is not already active, click on the Numbering tab. In the column on the right is a list of the 10 styles that are available for reference.

These ten styles correspond to levels: Style 1=Level 1= e.g. Country
Style 2=Level 2= e.g. Cities
Style 3=Level 3= e.g. Streets
Style 4=Level 4= e.g. Building/Street Address
etc.

They would appear in the table of contents as follows:

•United Kingdom (level 1)
   ••London (level 2)
      •••Bridge Street
         ••••1. Cafe Nero, 1-2 Bridge Street (niv 4)
         ••••3. Boots, 11 Bridge Street
      •••Downing Street (level 3)
   ••Cambridge(level 2)
   ••Oxford  (level 2)
      •••Mansfield Road (niv 3)
•Canada
   ••Toronto
       •••Don Valley Parkway
   ••Montreal
•United States


Personalized Styles

While you can use the default styles to specify the titles which are to be included in the table of contents, you can use any paragraph styles:

  1. Create a paragraph style
  2. Under the Tools menu, chose Outline Number....
  3. Click on the Numbering tab
  4. choose the level you want the style applied to
  5. Choose the style you want applied to this level in the Paragraph Style drop down menu
  6. —> Writer will add this style to the right hand column
  7. You can can choose the type of numbering for this level of title from the Number drop down
  8. You can also define the character style to use, the character (point, caret, etc.) that will appear between the number (or letter) and your titles, etc.
  9. —> Writer reflects the changes you make in the right column, which shows you how the table of contents will be formatted.
  10. Repeat these steps to define all the needed paragraph styles.

To save time, create all of the needed paragraph styles for your headings and then open the Outline Numbering... window to define the table of contents.

Note: When defining paragaph styles for headings, remember to set the Numbering Style (In the Numbering tab of the Format Paragraph window) to "None." Numbering must be set in the Outline Numbering... window to devine the table of contents.


Identifying the headings of the Table of Contents

Construct your document using these paragraph styles (either the default ones or those which you have defined), or apply these styles to your existing document.

Once you have done this, you are ready to construct the table of contents.


Positioning the Table of Contents


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