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 (146 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 (907 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 (907 points)
This conversation was a while back, but I still have this issue. Headers are showing chapter one for all single chapter books. Show chapter numbers in single chapter books is unchecked. This is a monoglot project using ABS script.

Related questions

0 votes
1 answer
0 votes
1 answer
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)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And let us consider how we may spur one another on toward love and good deeds, not giving up meeting together, as some are in the habit of doing, but encouraging one another—and all the more as you see the Day approaching.
Hebrews 10:24-25
2,786 questions
5,631 answers
5,195 comments
1,636 users