0 votos
505 vistas

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!

Publicación antigua - se muestra en su idioma original
Paratext por (155 puntos) | 505 vistas

3 Respuestas

0 votos
Mejor respuesta

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.

Publicación antigua - se muestra en su idioma original
por (304 puntos)
0 votos

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.

Publicación antigua - se muestra en su idioma original
por (418 puntos)
0 votos

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.

Publicación antigua - se muestra en su idioma original
por (155 puntos)

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)

Publicación antigua - se muestra en su idioma original

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

Publicación antigua - se muestra en su idioma original

Preguntas relacionadas

0 votos
1 respuesta 9,5k vistas
En cuanto al libro de los Salmos, nos gustaría usar el plural Salmos en los títulos de los libros y en el ... Configuración de referencias bíblicas y el plural en el texto USFM?
bit 495 preguntada nov 12, 2021
0 votos
3 respuestas 534 vistas
Al dar referencias bíblicas que abarcan varios capítulos, el equipo de Komba prefiere marcarlo de la siguiente manera: 1 ... sin espacios es demasiado largo y no resulta estético.
anon142050 118 preguntada abr 17, 2019
0 votos
2 respuestas 355 vistas
When you make corrections to \toc headers, the Book Names under Scripture Reference Settings don’t seem to update automatically. Is that by design?
anónimo preguntada abr 10, 2015
0 votos
4 respuestas 871 vistas
Estoy lidiando con un montón de notas al pie que sufren de "corte y pegue": la referencia de la nota al pie (\fr) es ... modo que ni siquiera sea necesario incluir el \fr (o \xo).
CraigF 237 preguntada oct 23, 2020
0 votos
2 respuestas 566 vistas
Estoy trabajando con un equipo que quiere escribir referencias bíblicas de esta manera: \xt book_name rukuh # ayat #\xt ... chapter separator . Hay alguna manera de evitar eso?
mnjames 1,9k preguntada sep 12, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Just as a body, though one, has many parts, but all its many parts form one body, so it is with Christ.
1 Corinthians 12:12
3,053 preguntas
6,013 respuestas
5,677 comentarios
2,032 usuarios