似乎如果聖經文本中有任何 \esb...\esbe 內容,而模組中的 \ref 欄位試圖存取該內容,PTXPrint 就會感到困惑,無法將 \ref 欄位展開為完整形式。PTXPrint 會找到 \esb 標記,但找不到 \esbe 標記,並出現錯誤訊息「Reached end of book without finding \esbe」(這似乎發生在 \ref 指定第 1 節時),或者 PTXPRINT 完全忽略 \ref 欄位,並在沒有錯誤的情況下結束(這似乎發生在 \ref 欄位 從第 2 節或之後開始時)。我原本預期 PTXPrint 會忽略 \esb 內容,並繼續查找直到找到適當的節。如果我把 \esb 內容從聖經文本中移除,模組和 PTXPrint 就能按預期運作。 由於我們的詩篇每篇詩歌開頭都有一個短的 \esb...\esbe 章節,這意味著我們無法使用任何詩篇。你們有辦法查看這個問題嗎?我在下方附上了一張截圖,顯示造成問題的詩篇 2 來源文本、模組來源、顯示 PTX 困惑的最終 SFM,以及錯誤訊息(對於指定第 1 節為起點的模組)。



It seems that if there is any \esb...\esbe material in the biblical text that a \ref field in a Module is trying to access, PTXPrint gets confused and is not able to expand the \ref field into its full form. Either PTXPrint finds the \esb marker and then never finds the \esbe marker and fails with an error message "Reached end of book without finding \esbe" (which seems to happen when \ref specifies verse 1), or PTXPRINT just ignores the \ref field altogether and finishes without an error (which seems to happen when the \ref field begins with verse 2 or later). I would have expected that PTXPrint would just ignore the \esb material and keep looking until it found a proper verse. If I take out the \esb material from the biblical text, the module and PTXPrint works as expected. As our book of Psalms has a short \esb...\esbe section at the beginning of each Psalm, this means we can't use any Psalms. Any chance you guys can take a look at this? I have included a screenshot below of the Psalm 2 source text which creates the problem, the module source, the Final SFM which shows PTX's confusion, and the error message (for a Module specifying verse 1 as the start).



機器翻譯自 English