Я хотел бы иметь горизонтальную линию в конце введения.
Добавление этого в 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 '
Это добавляет линию перед первой встречей \c в «главе 0». Есть ли способ написать правило, которое делало бы это во всех книгах , чтобы мне не нужно было указывать названия книг, и я мог бы заменить моё правило \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 Показать оригинал