0 votes
157 views

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 (110 points)
edited by | 157 views

4 Answers

0 votes

For more info here is what the beginning of my file looks like:

\id JAS - Kinubi 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! 

by (110 points)
reshown by [Administrator]
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.3k 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 (3.2k 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 (125 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.

Related questions

0 votes
0 answers 215 views
I think that a Back Translation might help my project. How much work do I need to get an AI-generated one? What ... Does it need to be checked? How does that checking work?
TM_Software 123 asked Apr 19, 2024
0 votes
1 answer 14 views
When I hover over an external link (e.g. https://support.bible/PTXprint) I can see the url, but when I click ... checked. Is there a setting somewhere else that I need to change?
Tami Allen 102 asked Jan 15
+2 votes
1 answer 172 views
I have some 100+ projects and sometimes I need to do a send/receive for only few projects. The only option we have ... resource, it will be helpful for few people like me. Thanks.
UJ 162 asked Jun 27, 2024
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