0 votes

I have Show chapter numbers in single chapter books unchecked, but the spurious chapter number still appears in the running header for Obadiah. How can I prevent this?

PTXprint by (138 points)

2 Answers

0 votes

Hmm. Is this monoglot or diglot? Diglot seems to have problems, it seems.

If monoglot… Can you try checking the ‘Show chapter numbers…’ box, print, uncheck it and print again? I think I just saw a chapter number before I did that but they’re not there now…

by (699 points)

Ooops, I misread the question.
Mark/Martin have to add some extra logic to the python code turn off the chapter numbers in headers.
Until they’ve had time to fix the python code, then can use bookhooks, (in ptxprint-mods.tex): These are untested but ought to work:

\setbookhook{start}{OBA}{\global\OmitChapterNumberRHtrue} 
\setbookhook{end}{OBA}{\global\OmitChapterNumberRHfalse}

If that works, then you can duplicate it for other 1-chapter book IDs in your publication, of course.

0 votes

A fix for this problem has been committed.

by (699 points)

Related questions

0 votes
2 answers
PTXprint Dec 16, 2023 asked by MnKN (121 points)
0 votes
1 answer
PTXprint Jun 3, 2021 asked by mark2024 (120 points)
+2 votes
1 answer
PTXprint May 7, 2021 asked by Kent Spielmann (1.8k points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
2,619 questions
5,350 answers
5,037 comments
1,420 users