0 votes

Hi Support Bible Team,

As I am working on a project, there are multiple cross references within the same verse. Can these cross references be combined into one cross reference? Below you find the same text for your reference. If anyone knows anything about this, I would appreciate it if you could provide me with guidance.

\p\v 6 \x - \xo 1:6 \xt ప్రకటన 5:10; 20:6; 1 పేతురు 2:9\x*\x - \xo 1:6 \xt ప్రకటన 5:10; 20:6; 1 పేతురు 2:9\x*\x - \xo 1:6 \xt రోమా 15:6\x*\x - \xo 1:6 \xt రోమా 11:36\x*\x - \xo 1:6 \xt 1 పేతురు 4:11\x*మనలను ప్రేమించుచు తన రక్తమువలన మన పాపముల నుండి మనలను విడిపించినవానికి.

Thanks with Regards,

Thiyagarajan

Paratext by (110 points)

2 Answers

0 votes

I didn't test it, but I'm assuming this would work. It should make each reference into a separate link, but would only involve a single superscript caller.

\p \v 6 \x - \xo 1:6 \xt ప్రకటన 5:10; 20:6; 1 పేతురు 2:9\xt* \xt ప్రకటన 5:10; 20:6; 1 పేతురు 2:9\xt* \xt రోమా 15:6\xt* \xt రోమా 11:36\xt* \xt 1 పేతురు 4:11\x*మనలను ప్రేమించుచు తన రక్తమువలన మన పాపముల నుండి మనలను విడిపించినవానికి.

by (1.8k points)
0 votes
Basically you need to replace the extra \x*\x - \xo 1:6 \xt with a semi-colon. This could be done with a regex similar to this:

Find:
regex:\\x\*\\x - \\xo \d+:\d+(-\d+)? \\xt

Replace:
;

It becomes more complicated if you need to reorder the references. This simply changes the extra callers to be a ; which is used to separate references.
by (8.4k points)
edited by
Just a quick comment that the first two references are identical. You would want to clean these.
I appreciate your prompt response. I checked these regex and they seem to be working properly
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Very truly I tell you, whoever accepts anyone I send accepts me; and whoever accepts me accepts the one who sent me.
John 13:20
2,628 questions
5,370 answers
5,045 comments
1,420 users