0 votes
268 views

I have four pages of local-to-PTXprint FRT matter. Page numbering is set to begin on the second page. Numbers ii and iii print on the bottom of the page as expected but iv prints on the top of the page (as do subsequent pages when added in for testing). Is there a way to keep the numbers on the bottom of the page? Thanks.

PTXprint by (148 points) | 268 views

3 Answers

0 votes

Hmm. my guess is that pages ii and III have some kind of title on them, but that subsequent pages don’t. At the moment PTXprint categorizes pages into 3 types: title pages, scripture, and other. (Not actually called that).

If you want all the ‘other’ pages everywhere to look like title pages, that can be arranged with enough cryptic commands, but there’s no button on the user interface. If you want just the ‘other’ pages in the introduction to look like title pages, but glossary, etc to look more like scripture pages (without chapter ranges), then the cryptic commands get that much more complicated.

by (1.1k points)
0 votes

I too encountered a similar problem in recent project. My solution was to move the page numbers in the PDF using Adobe Acrobat Professional. Alternatively, it sounds like you might be able to trick PTXprint if you add a “title” style to page iv.

by (607 points)

Indeed, lying to TeX is quite easy, either with titles that just contain a zero-width or non-breaking space (there needs to be something),
Or you could even put something like this in ptxprint-mods.tex

\makeatletter
\sethook{page}{-4}{\mark{\t@tle}}
\sethook{page}{-5}{\mark{\t@tle}}
\makeatother

Which ought to convince TeX that page -4 and -5 (iv and v) start with a title, even if you actually have a very long paragraph going from page 3 to page 5 without a break. (hopefully you don’t!).

But if you want the change to occur everywhere, then it makes sense to not lie about what’s on the page, but to tell it what you want it to do.

If at present you have a page number on the top-right of odd pages and top-left of even numbered pages, then to make all non-title, non-verse text have page numbers at the middle-bottom, you’d want to say something like:

\def\RHnoVoddright{\empty}
\def\RHnoVevenleft{\empty}
\def\RFnoVoddcenter{\pagenumber}
\def\RFnoVevencenter{\pagenumber}
  • RH means running header, RF running footer,
  • noV means no verses. There is also title for title page, and nothing in that slot means normal pages.
  • even/ odd is referring to the page numbers,
  • left/right/center are the 3 the position within the header / footer.

For those that want learn more cryptic commands, the documentation is here.

0 votes

Thanks David and Eric for the ideas and solutions. You’ve provided a way forward.
Marv Lucas

by (148 points)

Related questions

0 votes
1 answer 109 views
The PTXPrint project in question is constructed in the peripherals section using the following Selected Front Matter PDF(s) ... g. Roman) page numbers to the front matter PDF?
Alastair 102 asked Jan 15, 2025
0 votes
1 answer 252 views
I need to "span cells" in a table row, as specified in the USFM 3.0 spec document: Example from the USFM ... Local Front Matter file independent of the USFM encoding of a project?
KimB 670 asked Jul 12, 2024
0 votes
2 answers 238 views
I'd like to add a map to the front matter in a book. The figure (and the front matter in general) aren't in PT. ... (at FRT0.1) could not be understood. Image Lost! Any ideas why?
mnjames 1.9k asked Apr 10, 2023
0 votes
2 answers 216 views
I'm using 2.1.19 In the Peripherals tab, when you click on View/Edit Front Matter, why would someone need to click ... if there is any problem with editing it in the main window.
Ben Pehrson 280 asked May 1, 2022
0 votes
3 answers 427 views
We have some front and back matter which contains clickable hyperlinks / URLs to our website and facebook messenger as part ... is fantastic btw, thanks for all your hard work.
andy_pi 104 asked Apr 28, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Give proper recognition to those widows who are really in need.
1 Timothy 5:3
3,044 questions
6,003 answers
5,671 comments
2,026 users