मैंने अपने Paratext सेटअप में एक उपयोगकर्ता-परिभाषित मार्कर जोड़ा है। मुझे इसे व्याख्यात्मक अंतराल (exegetical indentation) को निर्दिष्ट करने के लिए उपयोग करना है। मूल रूप से, यह केवल एक संख्या है जो पाठ के विभिन्न स्थानों पर जोड़ी जाती है। यह थोड़ा सा श्लोक संख्या (verse number) की तरह काम करता है, सिवाय इसके कि संख्याएँ क्रमिक नहीं होतीं।
इसे काम करने के लिए, मैंने 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
Paratext के मानक लेआउट में, यह "\zei 7 \zei*" जैसे पाठ को निर्दिष्ट रंग और फॉन्ट आकार में प्रदर्शित करता है, जैसा कि होना चाहिए। समस्या यह है कि मैं "\zei 7 \zei*" के बजाय केवल "\zei 7" लिखना पसंद करूँगा। दूसरे शब्दों में, मैं चाहता हूँ कि मार्कर श्लोक संख्याओं की तरह काम करे, जहाँ आप केवल "\v 7" लिखते हैं।
लेकिन अगर मैं custom.sty से \Endmarker पंक्ति हटा देता हूँ, तो Paratext सभी निम्नलिखित पाठ को निर्दिष्ट फॉन्ट आकार में प्रदर्शित करता है, और मैं चाहता हूँ कि यह केवल संख्या को प्रभावित करे - बिल्कुल वैसे ही जैसे \v 7 के साथ होता है।
मैं \zei को केवल एक संख्या को अपने तर्क के रूप में कैसे स्वीकार करवा सकता हूँ?
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?
English से मशीन-अनुवादित