0
811 次浏览

One of our uses pointed out that the Hyphenation markers in the ThSV_11 resource are shown in all views. In Paratext 7.5 we could hide those with some CCT files, but we can not drop those into the .p8z file in Paratext 8.

What can we do to to hide these?

较早的帖子 - 以原始语言显示
Paratext (478 分) 发布 | 811 次浏览

3 个回答

0
最佳答案

I did not see this question until just now.

In P8 this is controlled by “Project > Language Settings > Other Characters > Word break characters”.

If you have a project that uses /'s and ^'s as places where lines can break without a hyphen and ='s as places where lines can break with a hyphen you need to enter the following in this field:

=(00AD) /(200B) ^(200B)

If you do this, when you switch to Preview view you will no longer see = / ^ but instead see ZWSP (which are invisible but allow line breaks) and hyphens for = (if the line breaks at that point).

Since the default replacement is ZWSP this could also be entered as

=(00AD) / ^

We have some issues that need to be fixed

  • If you enter characters in this field with the wrong format, on my machine at least, you do not get an error message, it just disables the OK button.

  • The guide does not mention that you need parenthesis or how to specify multiple characters.

I will write a bug report for this.

较早的帖子 - 以原始语言显示
发布
已重新显示

With regard to hyphenation. The Thai projects that I am aware of do not use hyphenatedwords.txt. They mark up the hyphenation for each word of the text individually. It would be a good thing if we could figure out how to get past that but we have not worked on it yet. The Thai texts that I am aware of also mark subdivisions within a word

/ word boundary
^ a place where a word can break without a hyphen
= a place where a word can break with a discretionary hyphen

We mark places where a word can break because Thai is difficult to justify since there are not many spaces to expand and expanding individual letters or letter spacing can only be done in small amounts or the text starts to look loose and ugly.

It would also be good if we could figure out how to standardize these ^'s in the hyphenatedwords.txt file since it is a major time chunk to put them all in manually.

较早的帖子 - 以原始语言显示

Thank you anon451647. So to repeat what I understand you to be saying. If we want to assist the copyright holder of THSV_11 in cleaning up the project. We would advise them to add = (00AD) / ^ to the Word break Characters section of ‘Other Characters’, then save the project and submit the revision to the DBL.

较早的帖子 - 以原始语言显示

I tried to edit this post, but couldn’t find the option and then opted to delete the post and then create a new one.

较早的帖子 - 以原始语言显示

yes, that is the change that would allow you to view the text in w/o extra decorations in Preview mode

较早的帖子 - 以原始语言显示
0

Unfortunately, it is now up to the resource creators (or someone they designate) to fix their resources. :worried:

较早的帖子 - 以原始语言显示
[Expert]
(16.7k 分) 发布

So the resources will now have to be updated to match the current scheme for hyphenation. Is there a write-up on the current scheme? I imagine that we'll be the ones to get this updated.

较早的帖子 - 以原始语言显示
0

The typical scheme for hyphenation is that nothing is marked directly in Paratext. A hyphenatedWords.txt file is included in the project that has the possible hyphenation points marked with the equal signs.

较早的帖子 - 以原始语言显示
(9.9k 分) 发布

For information purposes, this file can be "edited" by using the Wordlist (View > Show Hyphenation) inside Paratext which may or may not be easier than editing the file directly.

较早的帖子 - 以原始语言显示

I should clarify that this resource is in Thai Script using the standard Thai convention of not using spaces to mark word boundaries. In 7.5 and prior versions, the / would be used to mark word boundaries. You could see these / in the unformatted view, but the formatted views would have the / presented as a zero width space.

So Part 1 of the question was, or ought to have been, really how do we handle the = in this resource and the answer is that the resource owner or their designee will have to go through and remove the = from the text itself and then work with the hyphenation tool…and then resubmitting it to the DBL.

Part 2 of the question is, how do you handle word boundaries for languages that do not use spaces for the word boundary? Is there another place somewhere that instructs Paratext 8 to present the / as a Zero Width Space?

较早的帖子 - 以原始语言显示

I can use the find replace to replace / with 200b (and then using alt-x switch 200b to the zero width space). That would work for this resource as it’s not a live project, but ongoing projects are going to have problems typing 200b and hitting alt-x for every word break as there are no keyboards (that I am aware of) which have a Zero Width Space as a valid keystroke.

So question 3 would then be how does one denote where a zero width space should go in Paratext 8. Perhaps I should turn this into it’s own question.

较早的帖子 - 以原始语言显示

There are a couple of options here.
1) If a team needs to "see" the zero width space then you would continue to use / and simply change it for publication (the output process can change this).
2) You could add a line in the autocorrect.txt file that says something like:
/-->\u200b

Then if the user types a / it simply autocorrects this to a zero width space.

较早的帖子 - 以原始语言显示

In Paratext 7.5 we had the ability to, with cct files, use the / to mark a Zero Width Space and have the / appear in the unformatted view but be hidden in the preview view. Does Paratext 8 not have that sort of capability…to show / in the unformatted view, but replace / with the Zero Width Space in the preview or formatted view?

较早的帖子 - 以原始语言显示

相关问题

0
1 个回答 217 次浏览
When I run a marker check on my back matter I get errors. When I look at in Standard view some of the markers are red. What should I do?
匿名用户 发布 提问于 四月 10, 2015
0
1 个回答 215 次浏览
I was just helping a user who's project seems to be ignoring the line breaking rules. We have several projects using ... This project is Paratext 9 Any ideas? Thank you, MSEAIT/LT
MSEAIT_LT 478 发布 提问于 十月 28, 2019
0
1 个回答 332 次浏览
We have a language that is sesquisyllabic and would like to have hyphenation turned off. Is that possible? We are ... of a hyphenation point. Any help would be appreciated.
MSEAIT_LT 478 发布 提问于 七月 25, 2017
0
1 个回答 207 次浏览
We have a well working setup and a long file hyphenatedWords.txt and I believe I have understood the system in PT8. We ... we need as linguists, but which would be ugly in print:
Tim 934 发布 提问于 七月 13, 2018
0
1 个回答 444 次浏览
我想将项目导出为 HTML,以便与他人分享草稿 我不想导出为 PDF,因为 PDF 在智能手机和其他小屏幕设备上使用起来很不方便 我可以通过打开 Paratext,点击项目菜单按钮,然后选择 高级 (Advanced),再选择 将项目导出为 ... 标记是可见的,例如 \v 1 和 \s 等标记 我该如何在导出的 HTML 中隐藏这些 USFM 标记?
bit 495 发布 提问于 四月 14, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
All the believers were one in heart and mind. No one claimed that any of their possessions was their own, but they shared everything they had.
Acts 4:32
3,049 个问题
6,007 个回答
5,672 条评论
2,029 位用户