0 votes
328 views

Printing with decorative borders, if there is more than about half a page of text on the last page, the border prints correctly. If only 2-3 lines or so, there is no border. If I tweak the line spacing and/or font size a bit, so that the last few lines fit on the page above, or the critical mass of text appears on the last page, the problem is resolved. But that is tedious. Is there a better way to solve the last page border missing problem?

PTXprint by (123 points) | 328 views

1 Answer

+2 votes
It looks like your text contains no verse numbers on the last page. Verse numbers are the critical thing it looks for, as it's trying to distinguish between some introduction/'outro-duction' type text and actual biblical text. It can't reliably believe markers, because e.g. tables might occur in introductory text or verse text.

It looks like you'd need to move the verse 2 lines to make that happen, so I'm presuming that you don't want to adjust paragraph so much that you do that, though that's an option sometimes.

So, what you need to do is convince the code that there's actually a verse on the page, inserting the invisible "mark" that tells the headings, etc. which verse number it has got to. You can do that with the non-standard USFM code \zMarkVerseAgain, which you can insert via the changes.txt file.

e.g., if you have Mark 16:20, with "Amen!" at the end of the verse, you might do:
at MRK 16:20 "(Amen!)" > "\1\\zMarkVerseAgain"

(Double \ for zMarkAgain, as we want it to get to the output without being interpreted. The brackets tell PTXprint to remember what it matched, so the special sequence, \1 can put it back.)

If you are meeting this problem regularly, and never have \p, \q etc in not-verse-text, then you could probably use an end-hook for \p, \q etc. But I've not tested that.
by (1.1k points)
edited by
Thank you. The MRK 16:20 "(Amen!)" > "\1\\zMarkVerseAgain" hack worked. Much appreciated. It would be better if I didn't have to remember to check each printout for the issue and correct when needed, but I can make do with this workaround. PTXprint is such a big help, I can't complain!

Related questions

0 votes
1 answer 78 views
In the 'Tabs+Borders|Ornamental Decorations|Border|Text Border|Edit settings' dialog you are given the option of selecting the ... v2.7.27/Win10 Pro 22H2 (build 19045.5608)
anon095293 129 asked Mar 17, 2025
0 votes
3 answers 514 views
this is my first time using ptx print but I'm finding it fairly straightforward. However, despite selecting Book (/h) to ... easy to do in the preview app). Thanks for any help.
ASmith 169 asked May 23, 2024
0 votes
1 answer 48 views
I finally got the section header borders and page border to display properly with red diacritics in my Arabic script project ... in the scripture, but not on the initial title page
Mark Skinner 104 asked Feb 19, 2025
0 votes
3 answers 192 views
With an Arabic script project the existing 'A5 section head border.pdf' isn't deep enough to contain the text. I can ... the pdf behind the text or mark the pdf as transparent?
anon095293 129 asked Feb 6, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
I urge you, brothers and sisters, to watch out for those who cause divisions and put obstacles in your way that are contrary to the teaching you have learned. Keep away from them.
Romans 16:17
3,037 questions
5,994 answers
5,661 comments
2,022 users