0 票
297 次瀏覽

我正在協助一個專案,該專案的詩篇中沒有插入任何格式代碼。有沒有辦法將一個專案中的代碼複製/重現到另一個已經有文本的專案中?

EpiWaetMan

機器翻譯自 English
Paratext 由 (196 點) 提出 | 297 次瀏覽

1 個回答

0 票
最佳回答

我不知道有辦法將格式標記從一個專案複製到另一個已有文本的專案中。
但或許使用一些搜尋與取代常規程序可以讓你完成大部分的工作。

首先,你可以使用如下搜尋/取代,在每個節標記前插入 \q1:
搜尋:\v
取代為:\q1 \v

其次,你可以使用 RegExPal 中的此字串,在任何非節末的標點符號後插入 \q2

搜尋:([;.,?:]\s)(?!\n)
取代為: \1 \\q2

這些操作將把如下文本:

\c 23
A Psalm by David.
\v 1 Yahweh is my shepherd; I shall lack nothing.
\v 2 He makes me lie down in green pastures. He leads me beside still waters.
\v 3 He restores my soul. He guides me in the paths of righteousness for his name’s sake.
\v 4 Even though I walk through the valley of the shadow of death, I will fear no evil, for you are with me. Your rod and your staff, 2 they comfort me.
\v 5 You prepare a table before me in the presence of my enemies. You anoint my head with oil. My cup runs over.
\v 6 Surely goodness and loving kindness shall follow me all the days of my life, and I will dwell in Yahweh’s house forever.

變成這樣:
\c 23 A Psalm by David.
\q1 \v 1 Yahweh is my shepherd;
\q2 I shall lack nothing.
\q1 \v 2 He makes me lie down in green pastures.
\q2 He leads me beside still waters.
\q1 \v 3 He restores my soul.
\q2 He guides me in the paths of righteousness for his name’s sake.
\q1 \v 4 Even though I walk through the valley of the shadow of death,
\q2 I will fear no evil,
\q2 for you are with me.
\q2 Your rod and your staff,
\q2 they comfort me.
\q1 \v 5 You prepare a table before me in the presence of my enemies.
\q2 You anoint my head with oil.
\q2 My cup runs over.
\q1 \v 6 Surely goodness and loving kindness shall follow me all the days of my life,
\q2 and I will dwell in Yahweh’s house forever.

你可能需要審查這些結果,例如,「A Psalm by David」需要一個標記,而且第 4 節可能行數過多。
我會將詩篇複製到一個臨時專案中,並進行實驗。如果你得到了良好的結果,你可以將詩篇導入常規專案;但如果結果不佳,你只需放棄該臨時專案,你仍然會保留目前的狀態。

機器翻譯自 English
由 [Expert]
(3.3k 點) 提出

已重新顯示

謝謝你的想法,sewhite!
EpiWaetMan

機器翻譯自 English

相關問題

+4 票
1 個回答 615 次瀏覽
如果您已安裝 Paratext,並想要重置您的註冊代碼(或者,如果您更改了組織,代碼可能已被重置),我發現 Paratext 中有一個煩人的錯誤,可能會導 ... \SOFTWARE\Paratext\PreviousRegistrationCode 刪除 PreviousRegistrationCode 值,然後啟動 Paratext,它應該會接受新代碼
[Expert]
sewhite
3.3k 提出
已提問 5月 3, 2023
0 票
2 個回答 655 次瀏覽
Do I have the right, as an administrator, to go to the Paratext Registry and look up the registration codes of the members of the project?
wdavidhj 1.4k 提出 已提問 5月 12, 2019
0 票
1 個回答 235 次瀏覽
All the text in a local translator's back translation project has suddenly become right justified, with the backslash ... to do that? See attachment for screen shot. anon101508
anon101508 117 提出 已提問 5月 9, 2017
0 票
0 個回答 64 次瀏覽
目前是否已經存在任何 USFM 的語法高亮工具? 這些工具的形式可能包括 模式匹配器 解析器 語義高亮 我想知道在其他 USFM 編輯器中提供此功能有多困難。
Mercado 203 提出 已提問 10月 24, 2024
0 票
2 個回答 423 次瀏覽
We work with translators from a number of dialects. I've just gotten to the point where I've created a separate Project ... Is there a way to migrate Notes to a different project?
Paul 642 提出 已提問 2月 7, 2018
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And over all these virtues put on love, which binds them all together in perfect unity.
Colossians 3:14
3,052 個問題
6,011 個回答
5,677 則評論
2,031 位使用者