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?
匿名 提出 已提問 4月 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 提出 已提問 10月 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 提出 已提問 7月 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 提出 已提問 7月 13, 2018
0
1 個回答 444 次瀏覽
我想將專案匯出為 HTML,以便與他人分享草稿 我不想匯出為 PDF,因為 PDF 在智慧型手機和其他小螢幕裝置上操作起來相當不便 我可以透過開啟 Paratext,點擊專案選單按鈕,然後選擇「進階」(Advanced),再選擇「將專案 ... 而,USFM 標記是可見的,例如 \v 1 和 \s 等標記 我該如何隱藏匯出 HTML 中的 USFM 標記?
bit 495 提出 已提問 4月 14, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
3,049 個問題
6,007 個回答
5,672 則評論
2,029 位使用者