Gostaria de ter uma linha horizontal no final da introdução.
Adicionar isso ao changes.txt insere uma linha antes do capítulo 1 em cada livro:
'(\\c 1 ?\r?\n)' > '\\zrule |width=".6"\\*\r\n\1 '
Infelizmente, estou publicando uma coleção de trechos do AT em que o capítulo 1 é frequentemente omitido. Então, escrevi uma série de regras como esta no changes.txt, uma para cada livro:
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 '
Isso insere uma linha antes do primeiro \c que ocorre no “capítulo 0”. Existe uma maneira de escrever uma regra que faça isso em todos os livros, para que eu não precise especificar os nomes dos livros e possa substituir minha regra de \c 1 acima?
Isso não seria um recurso interessante para adicionar à interface do 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?
Tradução automática de English