0 votes

I am trying to put a header that has the verse references ranges and the book name. but when I select the settings and create the pdf there is literally nothing on top. why?

EDIT, they show up on other pages but not on the first page. 

\id JAS - OMITTED New Testament

\h Yakub 

\toc3 Yak 

\toc2 Yakub 

\toc1 Waraga ta Yakub 

\c 1 

\v 1 Min Yakub, laabi ta Rabbana ma Sidi Isa Masihu, na kabila itinashar (12) ab masetetu: Salaam neitakum! 

PTXprint by (104 points)
edited by

3 Answers

0 votes
So header information is showing up on every page but the first page?

This seems to be the default behavior, that on the first page of a book, that all of the Heading/Footer data is suppressed/hidden. I can't find any setting that overrides this. Perhaps someone knows a more advanced way to achieve this.
by (1.2k points)
0 votes

Correct, the first page of a book usually has (or is expected to have a \mt main title) which spans across the page, and therefore a header with the book name would "spoil that layout". So traditionally, the first/intro page of a book does NOT get any header.

However, as always, there's a way to tell it that you want a header there anyway, and this would be done by adding your own .tex code as shown below to the ptxprint-mods.tex file (see Advanced tab, enable the option and then click on Edit...)

%% Title Even Header
\def\RHtitleevenleft{\rangeref}
\def\RHtitleevencenter{\book}
\def\RHtitleevenright{\empty}

%% Title Odd Header
\def\RHtitleoddleft{\empty}
\def\RHtitleoddcenter{\book}
\def\RHtitleoddright{\rangeref}
Note that you might also want to include a page number (on the inner).
by (2.8k points)

If you want to set the entire header line for both pages at one time, then there's the following convenience function:

\HEADFOOTset{H}{title}{\rangeref}{\empty}{\folio}{\folio}{\empty}{\rangeref}

The first parameter is H for head, F for foot. The second can take values {title}, {noV} (no versese) or {} for normal
0 votes

Hi,

I haven’t tried this very often myself, but I’ve noticed that by default, PtxPrint hides the headers and footers on the first page of each book.

If you're running into that issue, I suggest trying this line in the ptxprint-mods.tex file: \def\PTXprintBookTitlePageStyle{normal}

It tells PtxPrint to use the regular page style even on the first page of a book—so headers like the book name and verse range should show up properly.

If that doesn't work well, maybe others will have more ideas or solutions.

Let me know if it helps!

by (123 points)
I wonder if you are citing some idea that was never programmed, a trial branch that's not on the main codeline, or a local modification, but there's no code to respond to the above definition. Mark P's answer is the correct one.
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And over all these virtues put on love, which binds them all together in perfect unity.
Colossians 3:14
2,769 questions
5,601 answers
5,175 comments
1,593 users