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 (142 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 (831 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 (831 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.
Dear friends, since God so loved us, we also ought to love one another.
1 John 4:11
2,664 questions
5,423 answers
5,083 comments
1,479 users