我希望在引言的結尾有一條水平線(rule)。
將以下內容加入 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 介面中一個不錯的新功能?
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