На вкладке «Текст» (body) я снял галочку с пункта «Показывать номера глав в книгах с одной главой» (Show Chapter Numbers in Single Chapter Books). В результате номер главы 1 больше не отображается в тексте ни в одной из книг с одной главой. Однако этот номер по-прежнему присутствует в заголовках. Как мне это отключить?
В другом месте на этом форуме я нашёл «крючки» (hooks) для решения этой проблемы. Они выглядели так:
\setbookhook{start}{PHM}{\global\OmitChapterNumberRHtrue}
\setbookhook{end}{PHM}{\global\OmitChapterNumberRHfalse}
Однако они не сработали. Номер один по-прежнему остаётся в заголовках.
In the body tab I have unticked the "Show Chapter Numbers in Single Chapter Books". As a result chapter 1 is no longer displayed in the body of the text in any of the single chapter books. However, that number one is still there in the headers. How do I disable that?
Elsewhere in this forum I found "hooks" to take care of this problem. They looked like this:
\setbookhook{start}{PHM}{\global\OmitChapterNumberRHtrue}
\setbookhook{end}{PHM}{\global\OmitChapterNumberRHfalse}
However, they did not work. Chapter one persists in the headers.
Переведено машиной с языка English