我所在的团队在标记检查中遇到了大量错误:“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