Frequently asked questions - Writer

From The Document Foundation Wiki
< Faq‎ | Writer
Jump to: navigation, search

How do I make the page numbers in the table of contents match those in the body of the document?

When making large documents, page 1 often begins after the title page, table of contents, and foreword. Inserting a corrected page number field into the header or footer of the document body makes it possible to have good numbering, but the change is not reflected in the indexes and tables of contents.

Here is how to do it:

  1. Put the cursor at the bottom of the page preceding the page 1 (most of the time, it is the page where the table of contents is).
  2. Select the menu Insert ▸ Manual break ▸ Page break.
  3. Then Style : choose the page style for the body of the document.
  4. Check: Change page number.
  5. Below, enter the new page number: 1 (or any relevant value).

Then insert the page number in the header or footer:

  1. select the menu Insert ▸ Fields ▸ Other;
  2. select the Document tab;
  3. select the field type Page and Page number and the Format From page style (without correction).

Now, update the index via the menu Tools ▸ Update ▸ All indexes and tables.