We've seen that the page style is a key feature for page numbering.
You may use different page styles to customize the different parts of your document. You may have troubles if you use the
Next Style field of a page style to control the following one. Especially if you export the document to .doc format because page style is an unknown concept in MS Word.
So only use
Manual Page Breaks to change the page styles (Insert menu).
First these breaks are changed to section breaks in .doc, so that the different headers/footers are correctly exported.
Second, you can have strange results when you change a page style through the
Styles & Formatting pane or the status bar (applying a new page style somewhere) : you loose some (or all) of the page styles next to the changed one. You can imagine that page style propagation is stopped by "slots". Defining the
Next Style for a page style doesn't insert any visual page break. It may be the reason why there are issues linked to that. The "slot" may need a geographical location (i.e. a paragraph to be anchored to), explaining why the
Next Style feature cannot insert a manual page break (with a slot) : if you change the layout (margins + font size + ...), the
Next Style will be applied to the new next page easily whereas with a localized break, you loose the connection with the page start/end.
Enhancement requestOOo follows this rule: odd numbered pages are right and even pages are left. It leads to automatically inserted blank pages. Even if printing these pages can be disabled, they kept being counted in the page numbering. It can be very frustrating because not everybody needs to follow that rule for books. The workaround is to use the tip above (Replace total pages number by section pages number).
I've filed a bug report, you can vote for it (up to 2 votes per isue):
Issue 88361 - Disable even=left/odd=right page rule to avoid page numbering issues.