我希望在引言末尾有一条水平线(横线)。
将此添加到 changes.txt 会在每卷书的第 1 章之前添加一条线:
'(\\c 1 ?\r?\n)' > '\\zrule |width=".6"\\*\r\n\1 '
不幸的是,我正在出版一卷包含旧约部分的合集,其中第 1 章经常被省略。因此,我编写了一系列如下的规则并写入 changes.txt,每卷书一条:
at NUM 0 '(\\c )' > '\\zrule |width=".6"\\*\r\n\1 '
at JDG 0 '(\\c )' > '\\zrule |width=".6"\\*\r\n\1 '
at 2SA 0 '(\\c )' > '\\zrule |width=".6"\\*\r\n\1 '
这会在“第 0 章”中出现的第一个 \c 之前添加一条线。有没有一种方法可以编写一条规则,使其在所有书卷中都能实现这一点,这样我就不需要指定书卷名称,并且可以替换上面的 \c 1 规则?
这难道不是添加到 PTXprint 用户界面(UI)中的一个不错功能吗?
I’d like to have a horizontal rule (line) at the end of the introduction.
Adding this to changes.txt adds a rule before chapter 1 in each book:
'(\\c 1 ?\r?\n)' > '\\zrule |width=".6"\\*\r\n\1 '
Alas, I’m publishing a collection of OT portions in which chapter 1 is frequently omitted. So, I’ve written a series of rules like this to changes.txt, one for each book:
at NUM 0 '(\\c )' > '\\zrule |width=".6"\\*\r\n\1 '
at JDG 0 '(\\c )' > '\\zrule |width=".6"\\*\r\n\1 '
at 2SA 0 '(\\c )' > '\\zrule |width=".6"\\*\r\n\1 '
This adds a rule before the first \c to occur in “chapter 0”. Is there a way to write a rule which would do this in all books, so I don’t need to specify the book names and I could replace my \c 1 rule above?
Wouldn’t this be a nice feature to add to the PTXprint UI?
机器翻译自 English