| View previous topic :: View next topic |
| Author |
Message |
helpopenofficenewbie Newbie

Joined: 29 Jan 2012 Posts: 4
|
Posted: Sun Jan 29, 2012 2:43 pm Post subject: Page numbering: count only every other page possible? |
|
|
I want to create cards, each with a front and a back. I would like to give each card a consecutive number.
In my document, each front page is followed by a back page (which is required for the printing process). Now, automatic page numbering will count every page, meaning both front and back page.
Is there any option to count only every other page? The goal would be that the first front page is without any number (like all front pages), the first back page gets number 1, the second front page without number, the second back page number 2, and so on. |
|
| Back to top |
|
 |
RPG Super User

Joined: 24 Apr 2008 Posts: 2696 Location: Apeldoorn, Netherland
|
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4618 Location: Netherlands
|
Posted: Sun Jan 29, 2012 3:22 pm Post subject: |
|
|
That doesn't solve the problem. IIRC a similar problem has been discussed before, and at the time there wasn't a simple solution. The only thing I can think of right now is a variable. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
mgroenescheij Super User

Joined: 20 Apr 2011 Posts: 862 Location: Australia
|
Posted: Mon Jan 30, 2012 1:06 am Post subject: |
|
|
Hi,
I make the assumption that you like to have Card size as A5 and apart from the Page Numbering the back has only a graphic. If that's not the case you need to give more information.
The only work around I can think of is to create two new Page Styles:
Select the PageStyle Right and Select New name your new Style Right A5 Card
Select the Style Left and Select New name your new Style Left A5 Card
Modify Page Style Right A5 Card and set Next Style to Left A5 Card click on the Footer tab and set the Footer to Height 12 cm and un-check the Auto fit height and click OK. Finally at the Page select Insert --> Field ... Page Number while setting the Offset to +1
Modify Page Style Left A5 Card and set Next Style to Right A5 Card click on the Header tab and set the header to Height 12 cm and un-check the Auto fit height and click OK. Finally at the Page select Insert --> Field ... Page Number while setting the Offset to -1
This way you print the back of page 2 on page 1 and the back of page 1 on page 2
Keep in mind that it only works if all back sides has the same content with the exception of the page number.
Martin _________________ If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button). |
|
| Back to top |
|
 |
helpopenofficenewbie Newbie

Joined: 29 Jan 2012 Posts: 4
|
Posted: Thu Feb 02, 2012 10:02 am Post subject: |
|
|
@floris_v: a variable seems to be a way to work around the problem. I defined a variable n = 1 on the main page, then reset variable n = n + 1 every front page, and display n on every back page in the header.
This solution seems to be very prone to errors though - e.g. if you forget adding it on one occasion or if you delete it by accident (in my case other users will work with the document too which increases the risk...)
Is there any other solution?
@mgroenescheij: Thx for your message. I tried it but it didn't result in the desired output, that is I would like "1" to appear on page 2, "2" on page 4, "3" on page 6, and so on, basically the page number devided by 2. There is also text on each page. |
|
| Back to top |
|
 |
|