Menurut saya, opsi spasi dan karakter tersembunyi (WHC) akan berdampak signifikan pada proyek kami. Opsi ini memberikan beberapa manfaat nyata, tetapi juga berpotensi disalahgunakan jika digunakan untuk keperluan format. Diperlukan pemikiran yang cermat untuk memastikan kami menggunakannya dengan baik.
[Diedit] Lihat jawaban John Wickberg di postingan terkait bahwa versi sebelumnya akan menghapus beberapa karakter spasi.
Saya ingin tahu persis mengapa diperlukan untuk membuat proyek tidak kompatibel dengan versi sebelumnya ketika WHC diaktifkan. Saya memiliki beberapa ide, tetapi ingin mengonfirmasi dan/atau mengoreksinya:
- Karakter tilde. Di versi PT sebelumnya, tilde ~ dicadangkan untuk No Break Space (NBSP). Di 9.5+, tilde sekarang menjadi karakter biasa. Untuk memasukkan NBSP, Anda dapat menggunakan menu karakter tersembunyi atau mengetik 00A0 CTRL-X
- Versi Paratext sebelumnya memperlakukan spasi dengan cara yang berbeda, yaitu dengan menggabungkannya atau mengubahnya menjadi karakter lain.
Apa praktik terbaik saat membuat proyek baru atau mengaktifkan WHC?
- Saya melihat bahwa nasihatnya (untuk saat ini?) adalah hanya membuat proyek diaktifkan WHC ketika proyek membutuhkannya, kemungkinan hanya untuk skrip kompleks. Saya memperkirakan bahwa pada akhirnya semua proyek akan menggunakan pendekatan spasi baru. Pada akhirnya, saya memperkirakan WHC yang diaktifkan akan menjadi bawaan untuk proyek baru.
- Apa yang harus kami lakukan dengan tilde di proyek kami? Mereka tidak secara otomatis dikonversi menjadi 00A0, dan mereka masih hilang di tampilan pratinjau. Saya asumsikan mereka seharusnya tidak hilang.
- Saya tahu bahwa karakter pemisah kata tidak secara otomatis dikonversi menjadi 200B
- Saya melihat bahwa metode spasi tanpa jeda di bawah Menu Proyek>Lanjutan tidak berubah. Mungkin ketika proyek telah memilih untuk diaktifkan, mereka perlu memiliki metode Ganti tilde dengan spasi tanpa jeda u00A0 (NBSP) dan Ganti karakter pemisah kata dengan Spasi Lebar Nol u200B (ZWSP). Atau mungkin ide yang baik untuk mengonversinya secara otomatis menjadi u00A0 ketika proyek diaktifkan WHC.
Saya tertarik untuk mendengar komentar dan pengamatan orang lain, dan mungkin mendapat tanggapan dari para pengembang.
It seems to me to be the whitespace and hidden characters (WHC) option will significantly impact our projects. It provides some real benefits but also has the potential to be abused if it is used for formatting purposes. It will require some careful thought to make sure we use it well.
[Editied] See John Wickberg's answer in the related post that earlier versions will remove some whitespace characters.
I would like to know exactly why it was necessary to make a project incompatible with earlier versions when WHC is enabled. I have some ideas but would like to have them confirmed and/or corrected:
- The tilde character. In earlier versions of PT tilde ~ is reserved for a No Break Space (NBSP). In 9.5+ tilde is now a normal character. to enter a NBSP you can use the hidden characters menu or type 00A0 CTRL-X
- Earlier versions of Paratext treat whitespaces differently by combining them or converting them to other characters.
What are best practices when creating new projects or enabling WHC?
- I see that the advice (for now?) is to only make a project WHC enabled when the project needs it, presumably only in complex scripts. I expect that eventually all projects will use the new white space approach. Eventually I expect WHC enabled will be the default for new projects.
- What should we do with tildes in our projects? They are not automatically converted to 00A0, and they still disappear in preview view. I assume they should not.
- I do know that word separation characters.are not automatically converted to 200B
- I see that the no-break spaces methods under the Project>Advanced Menu have not been changed. Perhaps when a project has been opted in they need to have the methods Replace tildes with no-break spaces u00A0 (NBSP) and Replace wordbreak characters with Zero Width Spaces u200B (ZWSP). Or it may be a good idea to have them automatically converted to u00A0 when the project is WHC enabled.
I am interested to hear others comments and observations and perhaps hear back from the developers.
Diterjemahkan secara otomatis dari English