为此你需要一个章节号前的章节标签(\cl Chapter)。你可以将其设置为例如零宽不换行空格。
在 changes.txt 中尝试类似这样的内容:
at GEN "(\\c 1)$" > "\\cl \ZWNBSP\n\1"
这是一种粗糙且丑陋的变通方法,因为它会破坏输入中任何真正的 \cl。我认为这是“Use Special features for these books”功能所做的事情之一,但我认为它还会做其他一些事情。
You need a pre-chapter-number chapter label for that (\cl Chapter). You can set that to e.g. a zero width non-breaking space.
How about this sort of thing in your changes.txt:
at GEN "(\\c 1)$" > "\\cl \ZWNBSP\n\1"
This is a crude and ugly hack, because it will destroy any real \cl in your input. This is, I think, one of the things that “Use Special features for these books” does, but I think they do some other things too.
机器翻译自 English