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
最佳答案
嗯,这个看似 bug 出现的地方都在模块章节的末尾有一个“替换”(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

这似乎在 bug 修复之前可以暂时工作,但仍有一个问题:这并不能解决“\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 发布 提问于 十二月 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 发布 提问于 四月 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 发布 提问于 一月 30, 2025
0
2 个回答 461 次浏览
我在从圣经模块中仅提取经文的第一部分时遇到了困难 尽管我尝试在引用范围中使用 a ,但未能达到预期效果 在探索圣经模块时,我找到了一个名为 vernacular translation 修订通用读经表 (Revised Common ... 附加材料中包含了 a \r \it $(LUK 1:46a-55)\it* \ref LUK 1:46a-55
Prabhu_beelagi 241 发布 提问于 六月 17, 2023
0
2 个回答 349 次浏览
L.S. 我们正在通过圣经模块(Bible Module)准备出版旧约选段 我们不想将前言(Front matter) 后记(Back matter) GLO INT 添加到圣经模块中,而是希望为旧约选段出版物使用一套新的 FRT BAK 等文件 如 ... 现这一点,同时仍能自动包含圣经文本的最后一刻修改?(供参考:FRT BAK GLO 等已用于新约 )
goodgoan 347 发布 提问于 四月 12, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And I tell you that you are Peter, and on this rock I will build my church, and the gates of Hades will not overcome it.
Matthew 16:18
3,048 个问题
6,007 个回答
5,672 条评论
2,028 位用户