J'ai ajouté un marqueur défini par l'utilisateur à ma configuration Paratext. J'ai besoin qu'il spécifie quelque chose appelé indentation exégétique. En gros, il s'agit simplement d'un nombre ajouté à divers endroits dans le texte. Il fonctionne un peu comme un numéro de verset, sauf que les nombres ne sont pas consécutifs.
Afin de faire fonctionner cela, j'ai ajouté ceci à custom.sty :
\Marker zei
\Endmarker zei*
\Name zei...zei* - Number for exegetical indent
\Description A number indicating the exegetical indentation value
\OccursUnder lh li li1 li2 li3 li4 lf lim lim1 lim2 lim3 lim4 m mi nb p pc ph phi pi pi1 pi2 pi3 pr pmo pm pmc pmr po q q1 q2 q3 q4 qc qr qd qm qm1 qm2 qm3 tr tc1 tc2 tc3 tc4 tcr1 tcr2 tcr3 tcr4 s3 d sp
\TextType Other
\TextProperties nonpublishable
\StyleType Character
\FontSize 9
\Color 16711935
Dans la mise en page standard de Paratext, cela affiche un texte tel que "\zei 7 \zei*" dans la couleur et la taille de police spécifiées, comme il se doit. Le problème est que je préférerais écrire simplement "\zei 7" plutôt que "\zei 7 \zei*". En d'autres termes, je veux que le marqueur fonctionne comme les numéros de versets, où vous écrivez simplement "\v 7".
Mais si je supprime la ligne \Endmarker de custom.sty, Paratext affiche tout le texte suivant dans la taille de police spécifiée, et je veux qu'il n'affecte que le nombre - tout comme il le fait avec \v 7.
Comment puis-je faire pour que \zei prenne simplement un nombre comme argument ?
I have added a user-defined marker to my Paratext setup. I need it to specify something called the exegetical indentation. Basically this is just a number that is added at various places in the text. It works somewhat like a verse number, except the numbers are not consecutive.
In order to make this work, I have added this to custom.sty:
\Marker zei
\Endmarker zei*
\Name zei...zei* - Number for exegetical indent
\Description A number indicating the exegetical indentation value
\OccursUnder lh li li1 li2 li3 li4 lf lim lim1 lim2 lim3 lim4 m mi nb p pc ph phi pi pi1 pi2 pi3 pr pmo pm pmc pmr po q q1 q2 q3 q4 qc qr qd qm qm1 qm2 qm3 tr tc1 tc2 tc3 tc4 tcr1 tcr2 tcr3 tcr4 s3 d sp
\TextType Other
\TextProperties nonpublishable
\StyleType Character
\FontSize 9
\Color 16711935
In Paratext's standard layout, this displays a text such as "\zei 7 \zei*" in the specified color and font size, as it should. The problem is that I would prefer to write just "\zei 7" rather than "\zei 7 \zei*". In other words, I want the marker to work like verse numbers, where you just write "\v 7".
But if I remove the \Endmarker line from custom.sty, Paratext displays all the following text in the specified font size, and I want it to affect only the number - just like it does with \v 7.
How can I make \zei just take a number as its argument?
Traduit automatiquement depuis English