0 suara
295 tampilan

Saya sedang membantu sebuah proyek yang tidak memiliki kode format yang disisipkan di dalam kitab Mazmur. Apakah ada cara untuk menyalin/duplikasi kode dari satu proyek ke proyek lain yang sudah memiliki teks di tempatnya?

EpiWaetMan

Diterjemahkan secara otomatis dari English
Paratext oleh (196 poin) | 295 tampilan

1 Jawaban

0 suara
Jawaban terbaik

Saya tidak tahu cara menyalin penanda format dari satu proyek ke proyek lain yang sudah memiliki teks.
Tapi mungkin beberapa rutinitas cari dan ganti (search and replace) bisa membantu Anda mencapai sebagian besar tujuannya.

Pertama, Anda bisa menyisipkan \q1 sebelum setiap penanda ayat dengan cari/ganti seperti ini:
cari: \v
ganti dengan \q1 \v

Kedua, Anda bisa menyisipkan \q2 setelah tanda baca apa pun yang tidak berada di akhir ayat, dengan string ini di RegExPal

cari: ([;.,?:]\s)(?!\n)
ganti dengan \1 \\q2

Ini akan mengubah teks seperti ini:

\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.

Menjadi seperti ini:
\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.

Anda mungkin perlu meninjau hasilnya, misalnya, bagian "A Psalm by David" membutuhkan penanda, dan ayat 4 mungkin memiliki terlalu banyak baris.
Yang akan saya lakukan adalah menyalin kitab Mazmur ke proyek sementara, dan bereksperimen dengan ini. Jika Anda mendapatkan hasil yang baik, Anda kemudian bisa mengimpor Mazmur ke proyek reguler, tetapi jika Anda mendapatkan hasil yang buruk, Anda bisa saja meninggalkan proyek sementara dan Anda masih akan memiliki apa yang Anda miliki sekarang.

Diterjemahkan secara otomatis dari English
oleh [Expert]
(3,3k poin)

ditampilkan kembali

Terima kasih atas idenya, sewhite!
EpiWaetMan

Diterjemahkan secara otomatis dari English

Pertanyaan terkait

+4 suara
1 jawaban 615 tampilan
Jika Anda memiliki Paratext terinstal dan ingin mengatur ulang kode registrasi Anda (atau mungkin kode tersebut telah ... mulai Paratext dan seharusnya kode baru akan diterima.
[Expert]
sewhite
3,3k
bertanya Mei 3, 2023
0 suara
2 jawaban 655 tampilan
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 bertanya Mei 12, 2019
0 suara
1 jawaban 235 tampilan
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 bertanya Mei 9, 2017
0 suara
0 jawaban 64 tampilan
Apakah sudah ada penyoran sintaks untuk USFM? Bentuknya bisa berupa penyesuai pola parser penyoran semantik Saya ingin ... sulit menyediakan fungsi ini di editor USFM lainnya.
Mercado 203 bertanya Okt 24, 2024
0 suara
2 jawaban 423 tampilan
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 bertanya Feb 7, 2018
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Accept the one whose faith is weak, without quarreling over disputable matters.
Romans 14:1
3,052 pertanyaan
6,011 jawaban
5,677 komentar
2,031 pengguna