0 votes
508 views

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 by (155 points) | 508 views

3 Answers

0 votes
Best answer

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.

by (304 points)
0 votes

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.

by (418 points)
0 votes

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.

by (155 points)

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:
:

Related questions

0 votes
1 answer 9.5k views
When it comes to the book of Psalms, we would like to use the plural Psalms in book titles and in the ... the Scripture Reference Settings, and the plural in the USFM text?
bit 495 asked Nov 12, 2021
0 votes
3 answers 540 views
When giving scripture references across chapters the Komba team prefers to mark it as follows 1:1 - 3:5. That is to say - ... no spaces is too long and is not pleasing to the eye.
anon142050 118 asked Apr 17, 2019
0 votes
2 answers 363 views
When you make corrections to \toc headers, the Book Names under Scripture Reference Settings don’t seem to update automatically. Is that by design?
anonymous asked Apr 10, 2015
0 votes
4 answers 877 views
I'm facing a bunch of footnotes that are suffering from cut-and-paste-itis: the footnote reference (\fr) is wrong and generates a ... even need to put the \fr (or \xo) in at all.
CraigF 237 asked Oct 23, 2020
0 votes
2 answers 569 views
I'm working with a team who want to write out scripture references like this: \xt book_name rukuh # ayat #\xt* ... after chapter separator . Is there any way to get around that?
mnjames 1.9k asked Sep 12, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
3,055 questions
6,014 answers
5,677 comments
2,033 users