0 suara
810 tampilan

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?

Postingan lama - ditampilkan dalam bahasa aslinya
Paratext oleh (478 poin) | 810 tampilan

3 Jawaban

0 suara
Jawaban terbaik

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.

Postingan lama - ditampilkan dalam bahasa aslinya
oleh
ditampilkan kembali

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.

Postingan lama - ditampilkan dalam bahasa aslinya

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.

Postingan lama - ditampilkan dalam bahasa aslinya

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.

Postingan lama - ditampilkan dalam bahasa aslinya

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

Postingan lama - ditampilkan dalam bahasa aslinya
0 suara

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

Postingan lama - ditampilkan dalam bahasa aslinya
oleh [Expert]
(16,7k poin)

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.

Postingan lama - ditampilkan dalam bahasa aslinya
0 suara

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.

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (9,9k poin)

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.

Postingan lama - ditampilkan dalam bahasa aslinya

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?

Postingan lama - ditampilkan dalam bahasa aslinya

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.

Postingan lama - ditampilkan dalam bahasa aslinya

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.

Postingan lama - ditampilkan dalam bahasa aslinya

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?

Postingan lama - ditampilkan dalam bahasa aslinya

Pertanyaan terkait

0 suara
1 jawaban 217 tampilan
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?
anonim bertanya Apr 10, 2015
0 suara
1 jawaban 215 tampilan
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 bertanya Okt 28, 2019
0 suara
1 jawaban 332 tampilan
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 bertanya Jul 25, 2017
0 suara
1 jawaban 207 tampilan
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 bertanya Jul 13, 2018
0 suara
1 jawaban 444 tampilan
Saya ingin mengekspor proyek ke HTML agar saya dapat membagikan draf kepada orang lain. Saya tidak ingin ... Bagaimana cara menyembunyikan penanda USFM dari HTML yang diekspor?
bit 495 bertanya Apr 14, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
But if we walk in the light, as he is in the light, we have fellowship with one another, and the blood of Jesus, his Son, purifies us from all sin.
1 John 1:7
3,049 pertanyaan
6,007 jawaban
5,672 komentar
2,029 pengguna