# LibreOffice Writer page numbering plus one

I would like to know how to reference the next page of a document at the bottom right of the actual page. As an example at the end of page three there would be something like this .../4. On page four at the top left, it would show 4/... At the end of page four, it would show .../5 and so on. In Microsoft Office Word, there is a way but it is a bit complicated but OK, I have to type a formula using fields to tell Word NOT to show the page number at the last page of a document by using an IF logical command. I would like to know how to do this in LibreOffice.

edit retag close merge delete

Sort by » oldest newest most voted

In the page number field (when you double-click on it), there is an Offset (see right bottom part of dialog). Its purpose is just that - referencing a page N steps from this one.

So, you insert page number fields both in header and footer, and edit footer's field to have offset = 1.

more

Thanks for your input on this. As soon as I have the time, I will check this...

( 2017-06-24 17:03:13 +0200 )edit

Everything works !!! However, I had to assign the first page to a different page style in order not to show the page number at the top of the first page and I had to assign the last page of the document in order not to show the ".../". Thank you.

( 2017-06-25 23:29:04 +0200 )edit

Everything works, thanks to the two contributors who helped solve my dilemna...

more

Hi

InsertFieldMore FieldsDocument tab▸Type: PageSelect: Next page

This field is empty when it is on the last page, so ... nothing more to do.

[EDIT]

No need to assign specific style for the last page to insert (or not) a .../, you can also use aNext Page field:

InsertFieldMore FieldsDocument tab▸Type: PageSelect: Next pageFormat: Text and type the text (".../") in the Offset box.

See NextPage.odt

Regards

more

In Microsoft Word, you have to tell the page numbering system that this is the last page of the document so that Word does NOT show the next page number, this is the reason for the IF command. If the IF command is not necessary in LibreOffice Writer, then I rejoice !!! I will check this. Thank you for your response.

( 2017-06-24 17:02:33 +0200 )edit

Everything works !!! However, I had to assign the first page to a different page style in order not to show the page number at the top of the first page and I had to assign the last page of the document in order not to show the ".../". As you wrote, the page number does not appear on the last page.

( 2017-06-25 23:28:29 +0200 )edit

Hi @Jean Gagne - Sorry, I forgot the ".../" part of you question. Please see my EDIT in my answer. Regards

( 2017-06-26 08:47:38 +0200 )edit

I finally found a way to do it following your latest instructions. I had a lot of trouble until I found out that you can generate more than one field in the same dialog box (CTRL+F2, insert field) by keeping the dialog box open until finished. By the way, I did not succeed in opening your ODT file. It is a zipped file that gave me a lot of file once extracted but no ODT file. Thank you.

( 2017-06-26 21:42:45 +0200 )edit

@Jean Gagne - I tried to upload my odt from another pc (system & LibO) and it is ok. I suspect a download problem on your side (browsers sometimes detect that ODFs are zipped archives and rename them in .zip). Anyway, the important thing is that you managed to get what you wanted :)

( 2017-06-27 08:15:22 +0200 )edit