0 votos
808 visualizações

Footnote callers should have a space after them (or before if the caller comes ahead of what it refers to, ESV-style). Is there a PT automatic check that will flag the case where the translator forgets to type that space?

Publicação antiga - exibida no idioma original
Paratext por (1,4k pontos) | 808 visualizações

2 Respostas

0 votos
Melhor resposta

I don’t believe there is an automatic check built into Paratext. This is
the kind of thing i use Regular Expressions to look for. A simple check for
no space might look like:

regex:\\[fx]\*[^\s]

This should find as a regular expression any \f* or \x* followed by
something that is not a space.

anon848905
Americas Area Language Technology Coordinator
[Email Removed]
[Phone Removed]Office at JAARS)
[Phone Removed]Cell)
Skype name: anon848905

Publicação antiga - exibida no idioma original
por (9,9k pontos)
reexibida

Did you mean:

regex:[fx]\*[^\s]

?

Publicação antiga - exibida no idioma original

No, I meant: (and in my sent items it show)

two backslashes before the [fx] and a backslash before the *

For some reason it got clobbered before it came out. This appears to be a problem with the way the Supporters site handles html. You actually have to double escape characters to get the to work correctly in the output. So what would need to be written in an email is:
regex:\\\\[fx]\\*[^\s]

anon848905
Americas Area Language Technology Coordinator
[Email Removed]
[Phone Removed]Office at JAARS)
[Phone Removed]Cell)
Skype name: anon848905

Publicação antiga - exibida no idioma original

This worked best for me:

regex:\\[fx]\*[^»“\)\]\}\-\s]

(where » and “ are the two types of close quotes we use in our language.)

The above finds callers that are definitely in the wrong place. Then I recheck the ones before close quotes, which may or may not be correct.

Publicação antiga - exibida no idioma original

@anon848905, if you put four spaces at the start of a line and a blank line before, it will be indented and formatted monospaced … plus, all backslashes are treated as literal backslashes, removing the need to double escape them.

Publicação antiga - exibida no idioma original

Oh, and this works nicely, particularly in RegEx Pal, to highlight the whole footnote, but not the punctuation or other character that follows:

\\f .*\\[fx]\*(?![\)\]\}»“\-\s])
Publicação antiga - exibida no idioma original

You might want to use this:

\\(f|x) .*?\\\1\*(?![\)\]\}»“\-\s])

\\(f|x) Look for footnotes or cross references
.*? “Non-greedy” (i.e. “match as little as possible”) for cases where there’s more than one footnote/cross ref per verse
\\ A backslash
\1 Either an f or an x
\*(?![\)\]\}»“\-\s]) Same as your expression

Publicação antiga - exibida no idioma original

Thanks. You added the professional touch!

Publicação antiga - exibida no idioma original
0 votos

If you found this topic interesting, then also see this thread.

Publicação antiga - exibida no idioma original
por (1,4k pontos)

Perguntas relacionadas

0 votos
1 resposta 527 visualizações
(Also see this thread.) Most publications that I read in English (including English Wikipedia) put footnote callers outside ... regex for it, I'll add it to this thread.
wdavidhj 1,4k perguntada Jun 26, 2017
0 votos
1 resposta 236 visualizações
The character entered after the opening marker indicates what caller will be used in the text. In Unformatted view, you ... view, the character(s) you define will be displayed.
[Expert]
anon421222
735
perguntada Fev 23, 2017
0 votos
2 respostas 79 visualizações
Olá a todos, Estou trabalhando em um projeto que anteriormente marcava todas as chamadas de notas de rodapé ... , então posso estar apenas perdendo algo. Obrigado, Aaron
PecanMango 112 perguntada Nov 6, 2024
0 votos
2 respostas 54 visualizações
Devo ter alterado a localização do chamador de nota de rodapé para que, por padrão, ele seja colocado no início da ... ? Existe uma maneira mais fácil do que movê-los manualmente?
PeterK 119 perguntada Mai 5, 2025
0 votos
2 respostas 533 visualizações
When I change the footnote callers to automatically-created callers, I get errors in the basic checks. I'm sure there is ... m missing somewhere, but I can't seem to find where!
anon928451 127 perguntada Fev 13, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
But if we walk in the light, as he is in the light, we have fellowship with one another, and the blood of Jesus, his Son, purifies us from all sin.
1 John 1:7
3,044 perguntas
6,004 respostas
5,671 comentários
2,026 usuários