Ask Your Question

LO Writer page numbering question

asked 2019-04-27 06:28:25 +0100

cscj01 gravatar image

updated 2019-04-27 06:30:25 +0100

I am using LO Writer to develop a complex document that will become a PDF. Here is my situation. I will have 4 separate documents of 5 pages each. The first document needs pages numbered 1-5. The second document needs pages numbered 6-10, etc. When I export each of these as a PDF and then use PDF-Shuffler to join them as one PDF document, the pages will be numbered correctly. I thought I could just enter the numbers (without doing an Insert>Page Number), i.e., 1 in footer of page 1, 2 in footer of page 2, etc. However that doesn't work because all pages end up with the same number. I tried to use Insert page Number and start the Footer paragraph style on the Text Flow tab with the correct page nuber on the first page of each document, i.e., 6 on document 2, 11 on document 3, etc. That doesn't work either because I have to specify Insert, Page, Before,With Page Style checked and = Default Style, and Page Number checked and the starting number, but my page number starts with 1 no matter what I specify for the Page Number.

I am on Ubuntu 18.04 and LO version I really need help on this.

edit retag flag offensive close merge delete


I tried to use Insert page Number and start the Footer paragraph style on the Text Flow tab with the correct page nuber on the first page of each document,

You need to apply such a setting to the very first paragraph of the document, not to the footer. And this is a case when you should use adhoc formatting without modifying the style (otherwise every paragraph will start with a new page).

gabix gravatar imagegabix ( 2019-04-27 07:24:47 +0100 )edit

I tried this with eachof the 5 documents: applying the settings to the first paragraph in each one. The numbering still started with 1.

cscj01 gravatar imagecscj01 ( 2019-04-27 23:30:29 +0100 )edit

2 Answers

Sort by » oldest newest most voted

answered 2019-04-27 15:03:36 +0100

Grantler gravatar image

updated 2019-04-27 15:04:38 +0100


to join them as one PDF document, the pages will be numbered correctly.

If you don't number the pages at all (probably the easiest way for you?) only join your PDF documents into one and then let them number by Be aware that you have to upload your entire content to this URL. Numbering is easy and fast there...

The more elegant ways are shown in the other answers, but for laid back persons...

edit flag offensive delete link more


This worked like a charm. I suppose I'll never understand LO Writer enough to do some things that should be easy but are not. On another project, I am writing a book and decided to use a Master Document.with separate documents for each chapter. I thought the writing would be the hardest part. No way! Trying to get LO Writer to do what I need is a constant struggle. That alone makes me want to give up on the book. Oh well, at least your suggestion got me a straightforward solution to this issue. Thanks you.

cscj01 gravatar imagecscj01 ( 2019-04-27 23:36:55 +0100 )edit

answered 2019-04-27 11:02:42 +0100

ajlittoz gravatar image

Your first paragraph in every file certainly has a distinctive property: a title, a heading, an introduction, … This property is unique in that you have no other paragraph in the same file with this intended meaning. Then give a specific paragraph style to this paragraph (think of it as a semantic markup).

You can then customise this paragraph style. In the Text Flow tab, check Insert Page break Before paragraph; check also With page style , select which page style will follow (it is likely that Default Style is a sensible choice if you don't use custom page styles), check Page number and fill in the desired starting page number.

This is the solution if you intend to keep the documents separate. The inconvenience is you must update the starting page number in every document in case you add/remove pages in a preceding one.

An other solution is to create a master document and to "include" your component documents. Page numbering will be managed by the master document and pages numbered sequentially across the collection. Read the freely downloadable Writer's guide about it (or the built-in help).

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-04-27 06:28:25 +0100

Seen: 53 times

Last updated: Apr 27