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 (144 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 (877 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 (877 points)

Related questions

0 votes
2 answers
PTXprint Dec 16, 2023 asked by MnKN (127 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.
Make every effort to keep the unity of the Spirit through the bond of peace.
Ephesians 4:3
2,688 questions
5,457 answers
5,118 comments
1,523 users