Ask Your Question
0

LibreOffice Writer page numbering plus one

asked 2017-06-24 06:12:23 +0200

Jean Gagne gravatar image

updated 2017-06-24 06:24:25 +0200

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 flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
0

answered 2017-06-24 09:02:52 +0200

updated 2017-06-24 09:04:19 +0200

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.

edit flag offensive delete link more

Comments

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

Jean Gagne gravatar imageJean Gagne ( 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.

Jean Gagne gravatar imageJean Gagne ( 2017-06-25 23:29:04 +0200 )edit
0

answered 2017-06-25 23:31:33 +0200

Jean Gagne gravatar image

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

edit flag offensive delete link more
0

answered 2017-06-24 09:08:29 +0200

pierre-yves samyn gravatar image

updated 2017-06-26 08:46:47 +0200

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

edit flag offensive delete link more

Comments

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.

Jean Gagne gravatar imageJean Gagne ( 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.

Jean Gagne gravatar imageJean Gagne ( 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

pierre-yves samyn gravatar imagepierre-yves samyn ( 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.

Jean Gagne gravatar imageJean Gagne ( 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 :)

pierre-yves samyn gravatar imagepierre-yves samyn ( 2017-06-27 08:15:22 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-06-24 06:12:23 +0200

Seen: 105 times

Last updated: Jun 26 '17