Hi,
In some cases, for example when you want to start page numbering at chapter one, instead of the first page of the book, you’ll want to reset or change page numbering.
Say, your last page of the FRONT MATTER is on page 4, and your foreword starts on page 5, and chapter 1 (with the title of the book repeated in a simplified form) starts on page 7.
So, like:
p1-p4 | p5-p6 | p7 | p9 – … onward
front matter | preface | book title simplified form | chapter one title page – respectively…
You want chapter one’s title page to be page 1.
How do you change the numbering so that p9 becomes p1?
Answer:
I have gathered this solution learning from ask.libreoffice peers, like ajlittoz (first of all).
so this is not “my solution” but one publication of it.
You have at this point a master document, and a “style template” (a template) which is not a “master document template” but a simple template. If you’re clever enough, you’ll use that template while you’re creating your content (write the chapters). But it can also happen that you create one when you start working with your master document, that is, when you start collecting the content in order to get it printed as a book.
You have your template and you have as many PAGE STYLES as many chapters you have, plus one for the front matter, and one for the end matter.
So, having 4 chapters means 6 page styles in your template.
The different page styles are important for a good level of control over the headings
Make sure they all have the page layout set “mirrored”,
and the “use page line-spacing” enabled (ticked).
So, this is what you have.
Now, how do you change the page numbering?
Okay, one more thing: how do you even achieve page numbering?
Simple:
Do not add “page number” or “page number field” in your template. Just don’t.
You do it in your master document.
One more thing: make sure that in your template all page styles (front-matter, chap-1, chap-2, chap-3, chap-4, and end-matter have headers and footers like:
not the same content as in the first page
not the same content in left and right pages
What you do then:
Insert - Field - Page Number
you do it 3x
once for the left page footer, once for the right page footer, and once for the first page footer (but you might want to just leave that without the page number)
Now you’ll see the page number field in the footer, at the bottom of every page…
MAKE sure you go View
and tick checkbox for Filed Shadings, Filed Names
NOW you check your page numbering.
How? Using print preview
It will not be okay at first. Cause all page numbers will be on the left.
To change the right pages to right, you simple click in the footer and click the RIGHT alignment icon, or in the menu or go Format / Align Text / Right.
the description:
This is when you can start changing the page numbering.
What you need is a page break.
You can only insert it in the sub-documents.
It cannot be done in the master document.
Also it cannot be done in the first page of chap-1, cause
it starts with HEADING 1,
and you have set an automatic page break to be inserted before every HEADING 1.
(If you’re not familiar with this concept yet, never mind, soon you’ll be).
You have page 7, the title of the book repeated in a simplified form,
and you have the title page for chap-1 …
AND what else do you have?
okay, a hint: what will you have between page 7 and page 9?
A BLANK PAGE
This.
This is what we’re talking about.
You can, for example, change your second-title-page (with the title in a simplified form, which is not the same as the fancy looking page 1 of your book) into a 2 page document.
More precisely, You add a MANUAL (PAGE) BREAK in the 2nd-title-page,
and you’ll have a blank page added. Your one page document has become a 2 page document.
Now in your master document you delete the blank page between page 7 and page 9 (if you added one, if you didn’t you would see a “BLANK PAGE” inserted automatically, which by now will have disappeared).
Before saving your sub-document,
or when inserting that MANUAL (page) BREAK,
you set: change page numbering, and define a number.
Make sure that number is okay in the sequence of the pages
Don’t add an odd number (cause this blank page is actually page 8, the 8th page of the book, you can add any number that is even, but if you define an n odd number, all left pages will become right and so on, and an extra blank page will be inserted).
So, for the blank page after your second-title-page you can set the page number to be 2 or 0, and your first chapter will start with page number 4 or 2, meaning that the title page for your chapter will be page 3 or page 1 respectively.
Oh, this look s like a little long
We need a short solution, see below.