page numbers and table of contents

Hi,
I downloaded what is supposed to be an APA 6 template for open office with
a table of contents.
First, how do I get the page numbers to make the first page, which is the
title page, page 1, number each table of contents page, and then continue
with numbering the body pages?
There is no official APA format for a table of contents, but that doesn't
stop instructors from asking for it.

What exactly are you trying to do? Insert page numbers in a header/footer,
or alter the numbering scheme?

Scheme ex:
Title page: 1
Table of contents: 2-4
Body: 5-10

Scheme ex:
Title page: 1
Table of contents: unnumbered
Body: 2-10

I just want to clarify what exactly you are trying to accomplish because
your description is unclear.

Thanks. Your first example.
Scheme ex:
Title page: 1
Table of contents: 2-4
Body: 5-10

Are we allowed to post files to the list?

You can't post attachments to the list. You would need to upload the file
to a file sharing website, then post the link.

If all you want to do is insert the page numbers, just follow the steps on
the wiki:
http://help.libreoffice.org/Writer/Inserting_Page_Numbers_in_Footers

No matter what I try it just starts over with 1 on the first page of the
body.

Here's the template I'm trying to change.
http://www.mediafire.com/file/k2e4irh6cocf9we/APA template with TOC.ott

I downloaded what is supposed to be an APA 6 template for open office with a table of contents. First, ...

First? Er, I don't see any second ...

... how do I get the page numbers to make the first page, which is the title page, page 1, number each table of contents page, and then continue with numbering the body pages?

You mean in one unbroken numbering sequence? That would be the default situation, so your template must be changing that in some way. The template's author took the trouble to make each of three sections restart the page numbering; you will have to undo this choice by changing it back.

Here's the template I'm trying to change.

Your template uses five page styles, called First Page, TOC, Left Page, Default, and References. There are manual page breaks between your three sections, and the choice was made to restart page numbering at 1 when these were inserted. You can remove these.
o Put the cursor in the first paragraph of the table of contents page.
o Go to Format | Paragraph... | Text Flow | Breaks (or right-click | Paragraph... | Text Flow | Breaks).
o Change "Page number" there to read "0". (This will remove the offset.)
o Now go to the top of the first page of the body and repeat the process.
(You don't need to do this for the new References page style, since this does not restart page numbering.)

There is one remaining problem, and this is that the second page of the table of contents is wrongly numbered, but this is for a different reason. The first page of the table of contents has TOC page style, but this is set to be followed by Left Page page style, which is in turn set to be followed by Right Page page style, and so on alternately. In its original state, the template has the table of contents starting on the second page; with double-sided printing, this would be on the reverse of the first sheet - on its verso (or left-hand page). Since the second page of the table of contents is forced by its Left Page page style also to appear on a verso, LibreOffice insists that it has an even page number: imagine, if you like, the intervening recto (or right-hand page) to have been skipped. It's numbered 4 instead of 3. (This condition applies even if you intend to print single-sided.)

Since you are unlikely to want such an arrangement (and since both the Left Page and Right Page page styles also have unhelpfully different margins!), the sensible solution is to give all table of contents pages the same TOC page style. To do this:
o Put the cursor in the first table of contents page but outside the table of contents itself - at the top, that is.
o Go to Format | Page... | Organizer (or right-click | Page... | Organizer).
o Against Next Style, select TOC (instead of Left Page) from the drop-down list.

Your document is now numbered sequentially. Oh, and you also get a page number on the second table of contents page, which was previously missing.

I trust this helps.

Brian Barker

Thanks. It seems odd to me that "Next Style" would change the current page.
I suppose I don't understand what "Next Style" does or how it works. Is
that referring to the paragraph style or the page style?

Hi :slight_smile:
There is some documentation on this wiki-page
http://wiki.documentfoundation.org/Documentation/Publications#Getting_Started_with_LibreOffice
Chapter 3 of the Getting Started Guide "Using Styles and Templates"
I am not sure if it covers what you are looking for though
Regards from
Tom :slight_smile:

It seems odd to me that "Next Style" would change the current page.

It doesn't.

I suppose I don't understand what "Next Style" does or how it works.

When the text flows naturally to the next page, that page automatically gets the "Next Style". In your case, the table of contents' first page has TOC page style, but its second (perhaps unfortunately) gets Left Page instead.

Is that referring to the paragraph style or the page style?

The facility works for both, but in your case we are concerned with page styles.

Brian Barker