我認為空白與隱藏字元 (WHC)選項將對我們的專案產生重大影響。它帶來了一些實際的好處,但如果用於格式設定目的,也有被濫用的風險。我們需要仔細思考,以確保能妥善使用此功能。
[已編輯] 請參閱 John Wickberg 在相關貼文中提供的回答,指出較早的版本會移除某些空白字元。
我想知道,為什麼啟用 WHC 後,專案會變得與較早版本不相容。我有一些想法,但希望得到確認和/或更正:
波浪號字元。在 Paratext 的較早版本中,波浪號 ~ 保留用於「不換行空格」(NBSP)。在 9.5+ 版本中,波浪號已成為普通字元。若要輸入 NBSP,您可以使用隱藏字元選單,或輸入 00A0 CTRL-X Paratext 的較早版本會以不同方式處理空白,例如將它們合併或轉換為其他字元。 在建立新專案或啟用 WHC 時,最佳實務 是什麼?
我注意到目前的建議(暫時?)是僅在專案需要時(推測僅限於複雜文字系統)才啟用 WHC。我預期最終所有專案都會使用新的空白處理方式。我預期啟用 WHC 將成為新專案的預設設定。 我們專案中的波浪號應該怎麼處理?它們不會自動轉換為 00A0,而且在預覽視圖中仍然會消失。我假設它們不應該消失。 我知道字詞分隔字元不會自動轉換為 200B。 我注意到專案 > 進階選單下的不換行空格方法 並未改變。也許當專案選擇加入後,需要將方法將波浪號取代為不換行空格 u00A0 (NBSP) 和將字詞分隔字元取代為零寬空格 u200B (ZWSP) 。或者,當專案啟用 WHC 時,自動將它們轉換為 u00A0 可能也是個好主意。 我期待聽到其他人的評論和觀察,也許還能收到開發人員的回覆。
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.
機器翻譯自 English 顯示原文