0
603 次瀏覽
我正在使用聖經模組中新增的章節劃分功能,這對我們的專案來說非常實用。

對於某些章節,特別是使用 \rep 功能的章節,部分文字會溢出到下一章節。

範例:標準規格
\c 44
\ref Gen 47:31-27
\rep and the years of his life were a hundred and forty-seven.=>. When the time of his death drew near
\rep In the last moments of his life, he called his son Joseph => He called his son Joseph

\c 45
\ref Gen 48:1-4

標準輸出:
\c 44
\v 27 Now the Israelites settled in Egypt in the region of Goshen. They acquired property there and were fruitful and increased greatly in number. \v 28 Jacob lived in Egypt seventeen years. When the time of his death drew near, \v 29 he called his son Joseph

\c 45
and said to him, "If I have found favor in your eyes, put your hand under my thigh and promise that you will show me kindness and faithfulness. Do not bury me in Egypt, \v 30 but when I rest with my fathers, carry me out of Egypt and bury me where they are buried." "I will do as you say," he said. \v 31 "Swear to me," he said. Then Joseph swore to him, and Israel worshiped as he leaned on the top of his staff." \v 1 Some time later Joseph was told, "Your father is ill."   [etc. to the end of Gen 48:4]
範例結束

因此,規格中的章節劃分位置與輸出中的章節劃分位置不一致。您認為這裡可能出了什麼問題?
機器翻譯自 English
Paratext (120 點) 提出 | 603 次瀏覽

3 個回答

0
最佳回答
嗯,這個明顯的錯誤出現的地方,都是在模組章節的結尾有一個「替換」(replace)。因此,目前的快速修復方法似乎是拆分「參考」(reference),確保規格以「\ref」參考陳述結束,而不是以「\rep」替換陳述結束

例如,不要寫:
\c 44
\ref GEN 47:27-31
\rep (...)=>(...)
\rep (...)=>(...)

我改寫為
\c 44
\ref GEN 47:27-29
\rep (...)=>(...)
\rep (...)=>(...)
\ref GEN 47:30-31

這在錯誤修復之前似乎可以運作,但仍有一個問題:這無法解決「\rep」替換陳述位於選取範圍最後一節的情況。在那些情況下,相關文字會被替換,但該節的其餘部分會被截斷/遺失。
機器翻譯自 English
(120 點) 提出
另一個變通方法:如果您要替換的內容不是最後一個 _單詞_,您可以將該節拆分為兩部分,並一次導入一部分。這很遺憾,因為聖經模組的目標之一是您不需要編輯原始位置,但這應該可以運作。

假設您正在處理 GEN 47:31

1) 在原始位置使用 \v 31a 和 \v 31b 拆分該節
2) 在您的聖經模組中放入以下內容
\ref GEN 47:31a
\rep (...)=>(...)
\refnp GEN 47:31b
機器翻譯自 English
與其拆分該節,直接替換整節更合理。換句話說,在替換內容中包含最後一節的完整文字。這樣,最後一次替換的結尾就與章節的結尾重合。不會有文字進入下一章節。

這樣,就不需要在原始位置進行任何編輯。
機器翻譯自 English
0
這看起來是 PTXPrint 的問題。在 Paratext 模組中無法使用多個 \c 標記,但在 PTXPrint 中可以這樣做。
機器翻譯自 English
(9.9k 點) 提出
已重新顯示 提出
Paratext 9.3 新增了此功能:「現在支援聖經模組功能,以尊重額外書籍中的章節標記。」
https://paratext.org/features/whats-new/whats-new-in-paratext-9-3/
機器翻譯自 English
您說得對。Paratext 確實允許在模組中包含多個章節。請使用「說明 > 提供回饋」(Help > Give Feedback) 來報告此問題。
機器翻譯自 English
我已經使用該工具傳送了回饋。有沒有辦法與接收回饋的人聯繫,以了解這個問題是否正在處理中?
機器翻譯自 English
當您使用「提供回饋」(Give feedback) 時,它會進入支援佇列並接受審查。希望您最終能收到負責分派人員的回應,但也可能直接轉交給開發人員進行進一步審查。不幸的是,目前有很多待處理的問題,因此無法保證審查需要多長時間。
機器翻譯自 English
0

請注意您參考中的錯誤: \ref Gen 47:31-27

我猜您是指 \ref Gen 47:27-31 ?

機器翻譯自 English
[Moderator]
(1.3k 點) 提出
抱歉,我抄寫時出錯了。這是從右到左書寫的文字,所以參考看起來是反的。應該是 \ref Gen 47:27-31。Paratext 會自動在範圍內的第一節和最後一節之前插入 U+200F 從右到左標記 (Right-To-Left-Mark)。
機器翻譯自 English
我現在明白您正在處理從右到左的文字,所以錯誤在於上述範例中,而不是您的程式碼。
機器翻譯自 English

相關問題

0
1 個回答 243 次瀏覽
我正在尋找一種方法來加入分頁,讓下一個章節標題從新的一頁開始。我可以在 .sfm 檔案中加入什麼代碼,讓下一個章節從新的一頁開始嗎?某處有模組代碼的清單嗎? 謝謝
MnKN 134 提出 已提問 12月 16, 2023
0
1 個回答 45 次瀏覽
I asked about adding spaces to modules earlier (https://support.bible/12728/add-a-space-between-heading-and-reference-in-module) ... , but I think this will work for now. :-)
Paul 642 提出 已提問 4月 17, 2025
0
1 個回答 156 次瀏覽
I'm working on modules for lectionary selections. The churches that will be using the lectionary use different verse ... , and wondered if there might be some more available.
Paul 642 提出 已提問 1月 30, 2025
0
2 個回答 461 次瀏覽
我在從聖經模組中僅提取節的第一部分時遇到了困難 儘管我嘗試在引用範圍中使用 "a",但未能達到預期效果 在探索聖經模組時,我發現了一個名為「口語翻譯修訂通用讀經表」(Revised Common Lectionary for ... 的附加材料中加入了 "a" \r \it $(LUK 1:46a-55)\it* \ref LUK 1:46a-55
Prabhu_beelagi 241 提出 已提問 6月 17, 2023
0
2 個回答 349 次瀏覽
L.S. 我們正在透過聖經模組準備出版舊約選集。我們希望為《舊約選集》出版物使用一套新的 FRT、BAK 等檔案,而不是將前言、後記、GLO、INT 加入聖經模組。如何能最好地實現這一點(例如在新的專案中?),同時仍能自動包含聖經文本的最後一刻修改?(補充:FRT、BAK、GLO 等已用於新約。)
goodgoan 347 提出 已提問 4月 12, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
All the believers were one in heart and mind. No one claimed that any of their possessions was their own, but they shared everything they had.
Acts 4:32
3,048 個問題
6,007 個回答
5,672 則評論
2,028 位使用者