0 votos
506 visualizações

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!

Publicação antiga - exibida no idioma original
Paratext por (155 pontos) | 506 visualizações

3 Respostas

0 votos
Melhor resposta

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.

Publicação antiga - exibida no idioma original
por (304 pontos)
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.

Publicação antiga - exibida no idioma original
por (418 pontos)
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.

Publicação antiga - exibida no idioma original
por (155 pontos)

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)

Publicação antiga - exibida no idioma original

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

Publicação antiga - exibida no idioma original

Perguntas relacionadas

0 votos
1 resposta 9,5k visualizações
Quando se trata do livro de Salmos, gostaríamos de usar o plural Salmos nos títulos dos livros e no sumário, ... nas Configurações de Referência Bíblica e o plural no texto USFM?
bit 495 perguntada Nov 12, 2021
0 votos
3 respostas 534 visualizações
Ao fornecer referências bíblicas entre capítulos, a equipe Komba prefere marcá-las da seguinte forma: 1:1 - 3:5. Ou ... sem espaços é longo demais e não é agradável aos olhos.
anon142050 118 perguntada Abr 17, 2019
0 votos
2 respostas 355 visualizações
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 perguntada Abr 10, 2015
0 votos
4 respostas 871 visualizações
Estou enfrentando uma série de notas de rodapé que sofrem de "síndrome do copiar-e-colar": a referência da nota de rodapé ... nem precise colocar o \fr (ou \xo) em primeiro lugar.
CraigF 237 perguntada Out 23, 2020
0 votos
2 respostas 566 visualizações
Estou trabalhando com uma equipe que deseja escrever referências bíblicas da seguinte forma: \xt book_name rukuh # ... chapter separator . Existe alguma maneira de contornar isso?
mnjames 1,9k perguntada Set 12, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Don’t you know that you yourselves are God’s temple and that God’s Spirit dwells in your midst?
1 Corinthians 3:16
3,053 perguntas
6,013 respostas
5,677 comentários
2,032 usuários