I'm having a bit of trouble with Page Styles and Fields in Writer.
It's a pretty simple test file.
The current page Field works the way I want but the page count Field is not what I want.
Hi James,
James wrote (29-08-11 20:16)
I'm having a bit of trouble with Page Styles and Fields in Writer.
It's a pretty simple test file.
The current page Field works the way I want but the page count Field is
not what I want.
On the paragraph 'normal page' click Format > Paragraph, tab tex flow and set the page number there to 1.
Regards,
looked at your file.
Try the following.
Format > Page > Footer
check the "Footer On" box
Then go to the first page footer with the footer page count.
Insert > Field
There you have Page-Number and Page-Count options.
That should help you.
It's not that I can't make a footer.
I have the text
"page " Field->Page-Number " of " Field->Page-Count
and it displays:
"page 2 of 4"
I want it to display "'page 2 of 2".
There are 3 physical pages but I set the starting page# to 1 on the FirstPage so I expect Page-Count to start from there.
There is no way it should even have Page-Count=4.
I must have done that wrong because it made Page-Count=5.
Hi.
Hi James,
James wrote (29-08-11 20:16)
I'm having a bit of trouble with Page Styles and Fields in Writer.
It's a pretty simple test file.
The current page Field works the way I want but the page count Field is
not what I want.On the paragraph 'normal page' click Format > Paragraph, tab tex flow and set the page number there to 1.
Regards,
I must have done that wrong because it made Page-Count=5.
No, I think you did it right as I get page count = 5 also. LO just can't count.
I think what is required are some more statistics fields. Page Count is total pages, 4 was correct, 5 is definately wrong and so is 4 as there are only 3 pages. Thats a bug somewhere.
There needs also to be a "Pages since last count restart" or similar.
James wrote (29-08-11 22:14)
On the paragraph 'normal page' click Format > Paragraph, tab tex flow
and set the page number there to 1.I must have done that wrong because it made Page-Count=5.
Oh, sorry. It was my mistake. I thought you wanted to tweak the page number, not the page count.
To change the page-count ... no idea.
I looked at that years ago, and think I ended up with using a reference to the page number of a bookmark .. Not ideal.
Sorry for the confusion,
Steve Edmonds wrote (29-08-11 22:26)
No, I think you did it right as I get page count = 5 also. LO just can't
count.
I think what is required are some more statistics fields. Page Count is
total pages, 4 was correct, 5 is definately wrong and so is 4 as there
are only 3 pages. Thats a bug somewhere.
No, Writer starts pages with a new page style as right page, odd numbered. And inserts the even as hidden. Can be shown though, and turned of with printing too.
There needs also to be a "Pages since last count restart" or similar.
And maybe some more. Indeed, not that handy.
Regards,
Perhaps this will help:
<http://wiki.services.openoffice.org/wiki/Documentation/FAQ/Writer/FormattingPagesAndDocuments/How_do_I_get_my_page_count_to_not_count_my_title_page%3F_(How_do_I_offset_the_page_count%3F)>
I can explain this bit, which LibreOffice will not see as a bug. Writer considers that you may wish to print your document double-sided. You have set your second page ("first page") to be numbered "1", an odd number, and Writer decides that you will therefore want this to be a recto (or right-hand page), not the verso (or left-hand page) that it would otherwise be. To achieve this, it notionally inserts a blank page between "cover page" and "first page". Including this blank page, you do indeed now have four pages, not three.
In editing mode, you do not see the blank page, and this may be confusing. But you can see it in Page Preview. You will want the page to print (as it were) if you are printing double-sided but not if you are printing single-sided. You can control this at Tools | Options... | LibreOffice Writer | Print | Other | Print automatically inserted blank pages. Alternatively you can reach the same dialogue on the fly via the Options... button in the Print dialogue.
Oh, and I'm not advocating this arrangement, merely describing it.
Brian Barker
There are 3 physical pages but I set the starting page# to 1 on the FirstPage so I expect Page-Count to start from there. There is no way it should even have Page-Count=4.
LO just can't count. [...] Page Count is total pages, [...] 5 is definitely wrong and so is 4 as there are only 3 pages. That's a bug somewhere.
I can explain this bit, which LibreOffice will not see as a bug. Writer considers that you may wish to print your document double-sided. You have set your second page ("first page") to be numbered "1", an odd number, and Writer decides that you will therefore want this to be a recto (or right-hand page), not the verso (or left-hand page) that it would otherwise be. To achieve this, it notionally inserts a blank page between "cover page" and "first page". Including this blank page, you do indeed now have four pages, not three.
Is there any way to just have pages that are not right or left pages?
In editing mode, you do not see the blank page, and this may be confusing.
It is confusing because it's wrong behaviour, if it forces people to print it, then it should be visible in editing mode.
But you can see it in Page Preview. You will want the page to print (as it were) if you are printing double-sided but not if you are printing single-sided. You can control this at Tools | Options... | LibreOffice Writer | Print | Other | Print automatically inserted blank pages. Alternatively you can reach the same dialogue on the fly via the Options... button in the Print dialogue.
Oh, and I'm not advocating this arrangement, merely describing it.
Thanks.
Why do the developers assume something is always going to be printed or put on the web?
Maybe there should be a View->PDF Layout.
James wrote (30-08-11 03:50)
It is confusing because it's wrong behaviour, if it forces people to
print it, then it should be visible in editing mode.
It is not forced. A explained, you can set it to print or not the empty pages that are automatically inserted blanc pages (tools > Options as well as the print dialog, 2nd tab)
Hmm, maybe it should be turned off by default ..
Why do the developers assume something is always going to be printed or
put on the web?
Well, I guess we have to go back to 1995 or so, to find that out But I guess it is designed with large production/documents in mind, that get printed double sided (not to waste paper, even then).
Cheers,