Change page numbering without introducing a new page

Hello;

I am writing a book in Writer and except for this one nagging issue, it is working well.

The book is divided into three parts.

The book is a master document with the front matter, the three part pages, and each chapter a separate file.

The paragraph, page styles, and table of contents all work flawlessly.

The page numbers, however, are giving me fits!

The front matter is numbered as Roman numerals. The chapters are numbered in Arabic numbers. That part works well.

However, I need the first page of chapter 1 to be page 1. Currently, with the five front matter pages, it is six! I need the page numbering sequenced as follows: I, ii, iii, iv, v, 1,2,3… and so forth. I need, essentially, for Writer to reset the page numbers at a given file in Navigator.

So, what I am after is something like this:

FrontMatter
Part1
Chapter 1 <== Page one of this file should be 1 and all subsequent files should flow accordingly
Chapter 2
Chapter 3

The trouble I am having is each set of instructions I have come across states that a page break is required to reset page numbers. This, by definition, introduces a page I don’t want. Further, since all chapter files share the same paragraph formatting, tinkering with the text flow will alter all chapters. Now I willing to give Chapter One its styles if necessary, worries there.

But…

  • How do you coax Writer into changing the page number without adding another page?
  • Or, how do you tell it this page in this file is page 1 and number accordingly in this file and all files that follow?

I appreciate your help!

Ken

EDIT (9/16/2022 | 6, Sept 2022):

Some additional information was asked for, so:

  • Page v at the moment is blank except for a level 1 heading that appears in the TOC
  • Page 1 starts with a level 3 heading which is the chapter number for the TOC
  • For clarity here, the level 2 heading is the part title for the TOC
  • The page and paragraph styles are spot-on. It took me a while, but once I figured out what you guys had done it was both easy and very nice!
  • There are no character styles in play. All character modifications are direct edits. They are limited to bold, italic, underline, and a smattering of superscripts. All styled blocks (i.e., an italicized paragraph, etc.) are handled with a paragraph format.
  • The book is a master document with about 30 sub-documents. The UI refers to these as files, so I did. Sorry for any confusion there.
  • If page v contained text it would be the default paragraph style
  • The chapters have the chapter heading I mentioned and everything else is a paragraph style, the bulk being the default style.
  • This is LibreOffice 7.2.4.1 on Mac OS 10.13.6
  • Finally, all pastes into the document, whether from Writer or another source, have been done with Paste Unformatted Text so as to strip any formatting out. That bit me a few times! All editing from there was done via the styles. That said the B/I/U seemed to survive this process.

Now, I did get it to reset the page number by adding a manual break to the beginning of Chapter 1. This did as advertised and reset the number to 1. However, it stuck an additional page in there. It is the additional page I am trying to avoid That is if it is possible. :slight_smile:

Thank you for your help!

Please edit your question to provide additional details (don’t use a comment so that everything is at the same location).
In any book, you have pages and a change in numbering occurs inevitably when you cross a page boundary. So it all boils down to the environment in which you switch from v to 1.
How does page v end? What does it contain? What is the last paragraph in this page (a TOC entry? a Copyright notice?)
Simalarly, how does page 1 start? What does it contain? Is it text for the first chapter (with no fragment of it in page v)?
Tell us what are the styles of these crucial paragraphs. There is some logic behind them. Give us some insight. Are you consistent with styles? In other words, do you practice direct formatting or character styling inside paragraphs? Are you familiar with page styles?
In your question you mention “files”. Is your book structured as one master document with several sub-documents?

As always, don’t forget to mention OS namen LO version and save format.