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 (901 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 (901 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.
There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus.
Galatians 3:28
2,742 questions
5,563 answers
5,163 comments
1,592 users