0 वोट
506 व्यूज़

One of the projects I support has the following formatting for their chapter/verse references in footnotes (the part after the \fr and before the \ft tag) 31.5 rather than 31:5 which is what they want. I had them check their scripture reference settings and they specify a :.

Does anyone know how to get PT to convert the Footnote chapter/verse references to the desired format or does the team need to do that manually?

Thanks!

पुराना पोस्ट - इसकी मूल भाषा में दिखाया जा रहा है
Paratext में द्वारा (155 अंक) | 506 व्यूज़

3 उत्तर

0 वोट
सर्वोत्तम उत्तर

It might be worth pointing out here that Paratext uses the current chapter/verse separator from the Reference Settings each time it inserts a footnote, but if the separator changes, existing footnotes are not affected. So at one point the chapter/verse separator must have been set to a full stop (period). Changing it to colon will result in all new footnotes using colon, but you will still need a regex to fix existing footnotes.

पुराना पोस्ट - इसकी मूल भाषा में दिखाया जा रहा है
द्वारा (304 अंक)
0 वोट

It is fairly straightforward to do using RegexPal. I think Randy Hasty actually set up a batch of preconfigured regexes including one that that covers standardizing the footnote reference format. If you are familiar with RegexPal, I can try to send you a search and replace string that would fix the reference format, or you might be able to get the more complete preconfigured user menu that Randy already set up.

पुराना पोस्ट - इसकी मूल भाषा में दिखाया जा रहा है
द्वारा (418 अंक)
0 वोट

Thanks! I figured that a regex could be a solution, but I wasn’t sure how exactly to use it.

Thanks for the input. I think we’ll be able to solve the problem from here.

पुराना पोस्ट - इसकी मूल भाषा में दिखाया जा रहा है
द्वारा (155 अंक)

anon469793,
To find the period in the middle of a reference and change it to a colon I use the following in the Paratext Find/Replace.
Find:
regex:(?<=\d).(?=\d)
Replace:
:
This says, “use regex” to look for a period that is proceeded by a digit and followed by a digit and replace it with a colon.

Obviously if you have other places in the text where you have digit period digit and want to keep them you would need to expand the find. You might want to do a find first and examine the results to see if there are any items that need to be maintained (like $200.00)

पुराना पोस्ट - इसकी मूल भाषा में दिखाया जा रहा है

To just get the \fr field you could expand the find to be:
Find:
regex:(?<=\fr \d+).(?=\d)
Replace:
:

पुराना पोस्ट - इसकी मूल भाषा में दिखाया जा रहा है

संबंधित प्रश्न

0 वोट
1 उत्तर 9.5k व्यूज़
जब हम बIBLE की पुस्तक Psalms की बात करते हैं, तो हम पुस्तक के शीर्षकों और सारिणी (table of contents) में ... Reference Settings में एकवचन और USFM टेक्स्ट में बहुवचन डालना चाहिए?
bit 495 पूछा गया नवंबर 12, 2021
0 वोट
3 उत्तर 534 व्यूज़
जब अध्यायों के बीच पवित्र ग्रंथ के संदर्भ दिए जाते हैं, तो Komba टीम इसे इस प्रकार चिह्नित करना पसंद करती है: 1:1 - 3 ... em-dash बहुत लंबा होता है और यह आंखों को अच्छा नहीं लगता।
anon142050 118 पूछा गया अप्रैल 17, 2019
0 वोट
2 उत्तर 355 व्यूज़
When you make corrections to \toc headers, the Book Names under Scripture Reference Settings don’t seem to update automatically. Is that by design?
गुमनाम पूछा गया अप्रैल 10, 2015
0 वोट
4 उत्तर 871 व्यूज़
मुझे कई फुटनोटों से जूझना पड़ रहा है जो कट-एंड-पेस्ट की वजह से समस्याग्रस्त हैं: फुटनोट संदर्भ (\fr) गलत है और References ... ताकि आपको \fr (या \xo) डालने की भी ज़रूरत न पड़े।
CraigF 237 पूछा गया अक्टूबर 23, 2020
0 वोट
2 उत्तर 566 व्यूज़
मैं एक टीम के साथ काम कर रहा हूँ जो पवित्र ग्रंथ के संदर्भ इस प्रकार लिखना चाहती है: \xt book_name rukuh # ayat #\ ... पुस्तक अध्याय विभाजक के बाद । क्या इसे टालने का कोई तरीका है?
mnjames 1.9k पूछा गया सितंबर 12, 2022
Paratext में
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Make every effort to keep the unity of the Spirit through the bond of peace.
Ephesians 4:3
3,053 प्रश्न
6,013 उत्तर
5,677 टिप्पणियाँ
2,032 उपयोगकर्ता