0 votes
820 vues

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?

Ancienne publication - affichée dans sa langue d'origine
Paratext par (1,4k points) | 820 vues

2 Réponses

0 votes
Meilleure réponse

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

Ancienne publication - affichée dans sa langue d'origine
par (9,9k points)
réaffiché

Did you mean:

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

?

Ancienne publication - affichée dans sa langue d'origine

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

Ancienne publication - affichée dans sa langue d'origine

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.

Ancienne publication - affichée dans sa langue d'origine

@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.

Ancienne publication - affichée dans sa langue d'origine

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])
Ancienne publication - affichée dans sa langue d'origine

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

Ancienne publication - affichée dans sa langue d'origine

Thanks. You added the professional touch!

Ancienne publication - affichée dans sa langue d'origine
0 votes

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

Ancienne publication - affichée dans sa langue d'origine
par (1,4k points)

Questions connexes

0 votes
1 réponse 532 vues
(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 posée juin 26, 2017
0 votes
1 réponse 244 vues
Le caractère saisi après le marqueur d'ouverture indique quel appelant sera utilisé dans le texte. Dans la vue ... ou Aperçu, les caractères que vous définissez seront affichés.
[Expert]
anon421222
735
posée févr. 23, 2017
0 votes
2 réponses 94 vues
Bonjour à tous, Je travaille sur un projet qui marquait auparavant tous les appels de notes de bas de page manuellement. ... que je passe à côté de quelque chose. Merci, Aaron
PecanMango 112 posée nov. 6, 2024
0 votes
2 réponses 57 vues
Je dois avoir changé l'emplacement de l'appel de note de bas de page pour qu'il soit placé par défaut au début ... -t-il une méthode plus simple que de les déplacer manuellement ?
PeterK 119 posée mai 5, 2025
0 votes
2 réponses 536 vues
Lorsque je modifie les appelants de notes de bas de page pour utiliser des appelants créés automatiquement, des erreurs apparaissent ... part, mais je n'arrive pas à le localiser !
anon928451 127 posée févr. 13, 2023
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,047 questions
6,007 réponses
5,672 commentaires
2,027 utilisateurs