0
809 次瀏覽

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?

舊文章 - 以原文顯示
Paratext (1.4k 點) 提出 | 809 次瀏覽

2 個回答

0
最佳回答

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

舊文章 - 以原文顯示
(9.9k 點) 提出
已重新顯示

Did you mean:

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

?

舊文章 - 以原文顯示

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

舊文章 - 以原文顯示

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.

舊文章 - 以原文顯示

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

舊文章 - 以原文顯示

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])
舊文章 - 以原文顯示

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

舊文章 - 以原文顯示

Thanks. You added the professional touch!

舊文章 - 以原文顯示
0

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

舊文章 - 以原文顯示
(1.4k 點) 提出

相關問題

0
1 個回答 527 次瀏覽
(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 提出 已提問 6月 26, 2017
0
1 個回答 236 次瀏覽
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 提出
已提問 2月 23, 2017
0
2 個回答 79 次瀏覽
大家好, 我目前正在處理一個專案,之前所有腳註標記都是手動標記的 現在,我們開始嘗試使用 "/f +" 來標記腳註,以自動產生腳註標記 然而,我們希望在出版時,腳註標記的序列能按書重新開始 我在 Ptxprint 中嘗試多卷 ... 而不是重新從 "a" 開始 我剛開始研究 Ptxprint 和出版相關的事務,所以可能只是我漏掉了什麼 謝謝, Aaron
PecanMango 112 提出 已提問 11月 6, 2024
0
2 個回答 54 次瀏覽
我一定是把腳註標記的預設位置設為放在選取文字範圍的開頭了。 我該怎麼改回來,讓它跑到選取文字的結尾呢? 而且現在我在被引用項目的開頭和結尾都有標記,我該怎麼調整? 有沒有比手動移動它們更簡單的方法?
PeterK 119 提出 已提問 5月 5, 2025
0
2 個回答 533 次瀏覽
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 提出 已提問 2月 13, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They devoted themselves to the apostles’ teaching and to fellowship, to the breaking of bread and to prayer.
Acts 2:42
3,044 個問題
6,004 個回答
5,671 則評論
2,026 位使用者