[Solved] Conditional Footer
[Solved] Conditional Footer
I'm printing double sided, so the last sheet of paper may have printing on both sides or it may not. I want to print "PTO" (meaning Please Turn Over) on the front of each sheet that has printing on its reverse but I don't want to print "PTO" if there is nothing on the reverse. Is this possible? How, please?
Last edited by Hagar Delest on Thu Sep 30, 2021 1:48 pm, edited 1 time in total.
Reason: tagged solved.
Reason: tagged solved.
Harold Fuchs
London, England
London, England
Re: Conditional Footer
I cannot immediately think how to do it automatically but it is trivial to do it manually.
1. Put PTO in the footer so it appears identically on all right pages.
2. If the last page is blank, cover the PTO on the previous page with a white rectangle with no border. Anchor the rectangle outside the footer or it will appear in all footers.
Crude ...
... but simple and effective.
Or define a new page format for the last right page and add PTO if needed.
Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
1. Put PTO in the footer so it appears identically on all right pages.
2. If the last page is blank, cover the PTO on the previous page with a white rectangle with no border. Anchor the rectangle outside the footer or it will appear in all footers.
Crude ...
... but simple and effective.
Or define a new page format for the last right page and add PTO if needed.
Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
- Hagar Delest
- Moderator
- Posts: 32865
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Conditional Footer
Or set the footers to be different (in the Footer tab of the page style) and add the PTO only on odd pages.
Assuming that the reader will change page if more than 2.
Just cherry picking I guess but wouldn't something like "Continue to next page" (in a more English way perhaps) be more appropriate?
Assuming that the reader will change page if more than 2.
Just cherry picking I guess but wouldn't something like "Continue to next page" (in a more English way perhaps) be more appropriate?
LibreOffice 24.8 on Xubuntu 24.10 and 24.8 portable on Windows 10
Re: Conditional Footer
Although I have given you two methods to do this I would strongly recommend against putting PTO at the bottom of each right page.
Frankly, I think your readers, like me, would find it patronising. After all, have you ever seen any book with PTO at the bottom of each page? I haven't. I am sure there is a good reason: don't patronise your readers.
If you are really worried about the last page then cut something from the previous many pages so that the penultimate page finishes short of the bottom which makes it obvious you don't need to turn over. Trust me - nothing has ever been written which cannot improved by cutting something out.
If you want to make it more obvious, put THE END, or a flourish page divider, or - o - O - o - after the text, all things which are often seen.
And if you do nothing, what is the penalty? It's trivial: the reader turns the last sheet and sees the blank page. So what? Are they going to vow never to read anything more of yours because they turned a page they didn't need to turn?
Frankly, I think your readers, like me, would find it patronising. After all, have you ever seen any book with PTO at the bottom of each page? I haven't. I am sure there is a good reason: don't patronise your readers.
If you are really worried about the last page then cut something from the previous many pages so that the penultimate page finishes short of the bottom which makes it obvious you don't need to turn over. Trust me - nothing has ever been written which cannot improved by cutting something out.
If you want to make it more obvious, put THE END, or a flourish page divider, or - o - O - o - after the text, all things which are often seen.
And if you do nothing, what is the penalty? It's trivial: the reader turns the last sheet and sees the blank page. So what? Are they going to vow never to read anything more of yours because they turned a page they didn't need to turn?
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Re: Conditional Footer
I have had one case where the "Please turn over" message was appropriate. We once had an exam where nearly half the students missed the last two questions. In this situation, I guess the "PTO" marking would also have been missed by most. It would need to be printed in full "More on next page, please turn over!" to get the message through.
With such a small paper (front page + slightly more than 2 pages of content) it is easy to insert the alert manually. If you have a similar situation with mostly "finalized two-page folds" and some extending "round the back", where you have many instances (forms, task sets, chapters), it may make sense to automate the task.
Otherwise, I am all with the others advising you to avoid a style which derogates the reader. I guess in an exam assignment (and possibly other contexts), patronising is not derogatory.
It should be possible to do this by way of conditionals, but in my limited experience, conditionals in header/footer are only evaluated at the start of a block of pages, so what is evaluated for page 3 is also used for page 5, 7, 9 etc. If what you have are only 2-4 pages long sections, it should be fine. If we are looking at series of multiple page spreads it requires more work, and may only be doable manually within Writer.
With such a small paper (front page + slightly more than 2 pages of content) it is easy to insert the alert manually. If you have a similar situation with mostly "finalized two-page folds" and some extending "round the back", where you have many instances (forms, task sets, chapters), it may make sense to automate the task.
Otherwise, I am all with the others advising you to avoid a style which derogates the reader. I guess in an exam assignment (and possibly other contexts), patronising is not derogatory.
It should be possible to do this by way of conditionals, but in my limited experience, conditionals in header/footer are only evaluated at the start of a block of pages, so what is evaluated for page 3 is also used for page 5, 7, 9 etc. If what you have are only 2-4 pages long sections, it should be fine. If we are looking at series of multiple page spreads it requires more work, and may only be doable manually within Writer.
- Hagar Delest
- Moderator
- Posts: 32865
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Conditional Footer
I think there are similar questions in the forum (no time to search for them right now).
Always with some convoluted answer IIRC.
Always with some convoluted answer IIRC.
LibreOffice 24.8 on Xubuntu 24.10 and 24.8 portable on Windows 10
Re: Conditional Footer
Thanks for all your comments. I think John Ha and keme are right: I don't need PTO except in exceptional circumstances like a 2-page document in which it's not obvious that there is a page 2. I think I'll stick to "Page n of m" in future for all but that case.
Harold Fuchs
London, England
London, England
- Hagar Delest
- Moderator
- Posts: 32865
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Conditional Footer
The best idea IMHO.hwfa wrote:I think I'll stick to "Page n of m" in future for all but that case.
It also gives the reader an idea about the total length and where he is while filling it in.
LibreOffice 24.8 on Xubuntu 24.10 and 24.8 portable on Windows 10