0 votes

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 (143 points)

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 (737 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 (594 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 (143 points)

Related questions

0 votes
2 answers
PTXprint Apr 10, 2023 asked by mnjames (1.8k points)
0 votes
2 answers
0 votes
3 answers
0 votes
3 answers
0 votes
4 answers
PTXprint Mar 27, 2022 asked by jeffh (1.3k points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And let us consider how we may spur one another on toward love and good deeds, not giving up meeting together, as some are in the habit of doing, but encouraging one another—and all the more as you see the Day approaching.
Hebrews 10:24-25
2,648 questions
5,397 answers
5,069 comments
1,449 users