|
Creating a Table of Contents
From NeoWiki
Revision as of 13:26, 21 February 2007 (edit) Lorinda (Talk | contribs) (→Creation of the Table of Contents - correcting to match update (unfinished)) ← Previous diff |
Revision as of 13:27, 21 February 2007 (edit) (undo) Lorinda (Talk | contribs) m (→Creation of the Table of Contents) Next diff → |
||
Line 194: | Line 194: | ||
# Choose {{menu|Table of Contents}} in the first menu of the tab | # Choose {{menu|Table of Contents}} in the first menu of the tab | ||
# You may give the table of contents a name in the first field | # You may give the table of contents a name in the first field | ||
- | # You can "protect" the table of contents from manual editing by checking the {{ | + | # You can "protect" the table of contents from manual editing by checking the {{prefName|Protect against all manual modifications}}. This is usually a good idea. |
# If it is a general table of contents, that is to say covering the whole document, choose {{prefName|Entire Document}} en the section {{section|Create an Index}] | # If it is a general table of contents, that is to say covering the whole document, choose {{prefName|Entire Document}} en the section {{section|Create an Index}] | ||
#In this same section, choose the level of inclusion. Even if you use ten heading levels in your document, you can choose to only include a certain number of levels in the Table of Contents. | #In this same section, choose the level of inclusion. Even if you use ten heading levels in your document, you can choose to only include a certain number of levels in the Table of Contents. |
Revision as of 13:27, 21 February 2007
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:
- Create a paragraph style
- Under the Tools menu, chose Outline Number....
- Click on the Numbering tab
- choose the level you want the style applied to
- Choose the style you want applied to this level in the Paragraph Style drop down menu
- —> Writer will add this style to the right hand column
- You can can choose the type of numbering for this level of title from the Number drop down
- 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.
- —> Writer reflects the changes you make in the right column, which shows you how the table of contents will be formatted.
- 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
- Place the cursor where you want the table of contents to appear.
- Under the Insert menu, choose Index and then Index...
- -> Writer opens the Insert Index window
Note: Writer considers the table of contents, like the bibiliography, to be an index.
Creation of the Table of Contents
- In the Insert Index window, choose the Index
- Choose Table of Contents in the first menu of the tab
- You may give the table of contents a name in the first field
- You can "protect" the table of contents from manual editing by checking the Protect against all manual modifications. This is usually a good idea.
- If it is a general table of contents, that is to say covering the whole document, choose Entire Document en the section {{section|Create an Index}]
- In this same section, choose the level of inclusion. Even if you use ten heading levels in your document, you can choose to only include a certain number of levels in the Table of Contents.