在我看来, 空白和隐藏字符 (WHC)选项将对我们的项目产生重大影响。它带来了一些切实的好处,但如果用于格式设置目的,也有被滥用的风险。我们需要仔细思考,以确保正确使用它。
[已编辑] 参见 John Wickberg 在相关帖子中的回答,早期版本会删除一些空白字符。
我想知道为什么启用 WHC 时,项目会与早期版本不兼容。我有一些想法,但希望得到确认和/或纠正:
波浪号字符。在 PT 的早期版本中,波浪号 ~ 保留用于不换行空格(NBSP)。在 9.5+ 中,波浪号现在是普通字符。要输入 NBSP,您可以使用隐藏字符菜单或输入 00A0 CTRL-X Paratext 的早期版本通过合并空白或将其转换为其他字符来以不同方式处理空白。 在创建新项目或启用 WHC 时,? 最佳实践是什么?
我看到建议(目前?)是仅当项目需要时才启用 WHC,大概仅用于复杂脚本。我预计最终所有项目都将使用新的空白方法。最终,我预计启用 WHC 将成为新项目的默认设置。 我们应该如何处理项目中的波浪号?它们不会自动转换为 00A0,并且在预览视图中仍然会消失。我假设它们不应该消失。 我知道单词分隔符不会自动转换为 200B 我看到 不换行空格方法 在 Project>Advanced 菜单下没有改变。也许当项目选择加入后,它们需要具有 用不换行空格 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 显示原文