我有一個團隊在標記檢查(marker check)中遇到了大量錯誤:“Footnote caller is not the expected value (*)”。
我想我在寫這則訊息時已經解決了這個問題,但我想還是值得發送出來,以防其他人遇到同樣的問題。
錯誤僅顯示具有有效腳註的節。也就是說,格式為
\f + \fr 2.23 \ft …\f*。
我使用正則表達式(RegEx)確認 + 是唯一用於有效腳註的字符。我使用 RegExPal 來計算唯一匹配項(\f . \fr)的數量。這確認了 + 是唯一用於有效腳註的字符。
settings.xml 中有 +
+
然後,就在發送這則訊息之前,我在 RegExPal 中進行了另一次搜索(\f . .),並發現新約中有幾百個無效的腳註,這些腳註是在十多年前完成的。這些腳註手動定義了呼叫者(a b c …),但沒有節引用。
我仍然不知道為什麼 Paratext 預期 * 作為腳註呼叫者,也不知道為什麼只有有效的腳註被報告為錯誤,但至少我對這個問題有了更好的理解,並假設解決方案是修正無效的腳註,以便它接受有效的腳註。
我認為他們的第二個錯誤 “Most notes of this type do not have an origin reference.” 是相關的。同樣,它只列出了看似有效的腳註。然而,在 700 多個總腳註中只有 213 個是有效的,Paratext 是正確的 - 大多數腳註沒有來源引用,但應該有!有效的腳註不是錯誤。在這種情況下,大多數是錯誤,只有少數是正確的。
I have a team who is getting lots of errors in the marker check: “Footnote caller is not the expected value (*)”.
I think I have solved the problem as I was writing this message, but I think it is worth still sending this in case others come across the problem.
The errors show only verses which have valid footnotes. That is, of the format
\f + \fr 2.23 \ft …\f*.
I confirmed with RegEx that the + was the only character used in valid footnotes. I used RegExPal to give me a count of the unique matches (\f . \fr). This confirmed that + was the only character used in valid footnotes.
The settings.xml has the +
+
Then just before sending this message I did another search in RegExPal (\f . .) and discovered that there were several hundred invalid footnotes in the New Testament that was done over a decade ago. These had manually defined callers (a b c …) but with no verse reference.
I still don’t know why Paratext was expecting * as the footnote caller, nor why only the valid footnotes were being reported as errors but at least I have a better understanding of the problem and assume the solution will be to correct the invalid ones so that it will accept the valid ones.
I think their second error “Most notes of this type do not have an origin reference.” is related. Once again it only lists what looks like valid footnotes. However, with 213 valid out of 700+ total footnotes, Paratext is correct - most of the footnotes don’t have an origin references, but they should! The valid ones are not the errors. In this case the majority are the errors with only a minority of correct ones.
機器翻譯自 English