Je voudrais avoir une règle horizontale (ligne) à la fin de l'introduction.
L'ajout de ceci à changes.txt ajoute une règle avant le chapitre 1 de chaque livre :
'(\\c 1 ?\r?\n)' > '\\zrule |width=".6"\\*\r\n\1 '
Malheureusement, je publie une collection de portions de l'Ancien Testament dans lesquelles le chapitre 1 est souvent omis. J'ai donc écrit une série de règles comme celle-ci dans changes.txt, une pour chaque livre :
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 '
Cela ajoute une règle avant le premier \c qui apparaît dans le « chapitre 0 ». Existe-t-il un moyen d'écrire une règle qui ferait cela pour tous les livres , afin que je n'aie pas besoin de spécifier les noms des livres et que je puisse remplacer ma règle \c 1 ci-dessus ?
Ne serait-ce pas une fonctionnalité agréable à ajouter à l'interface utilisateur de 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?
Traduit automatiquement depuis English Afficher l'original