05-21-2024, 04:35 PM | #271 |
Connoisseur
Posts: 94
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
In order to have hyphens more to my liking, could I unzip the .tgz file, change the values of LEFTHYPHENMIN 2 and RIGHTHYPHENMIN 3 to LEFTHYPHENMIN 3 and RIGHTHYPHENMIN 4, and then create a .tgz again?
|
05-21-2024, 05:07 PM | #272 |
Resident Curmudgeon
Posts: 76,537
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I would change the LEFTHYPHENMIN to 3 and leave the other as is and see how you get on.
|
Advert | |
|
05-22-2024, 03:43 AM | #273 |
Connoisseur
Posts: 94
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
I will try with 3 and 3 then.
The process to do it is as I said, right? Unzip, go to the dictionary, change the values, and create the .tgz again, right? |
05-22-2024, 06:11 AM | #274 |
Resident Curmudgeon
Posts: 76,537
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
05-22-2024, 06:38 AM | #275 |
Connoisseur
Posts: 94
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
Do you mean extract from the Kobo?
I was talking about the download from the first page of the topic. |
Advert | |
|
05-22-2024, 06:46 AM | #276 |
Resident Curmudgeon
Posts: 76,537
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
05-22-2024, 08:51 AM | #277 |
Connoisseur
Posts: 94
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
I see, but I can’t see the difference. Maybe I am missing something but I think that we are saying the same thing.
|
05-22-2024, 12:06 PM | #278 | |
Resident Curmudgeon
Posts: 76,537
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Just edit the dictionary with a program that will not change the line endings such as Notepd++ (if on Windows) and rebuild KoboRoot.tgz so it's the same as it was and you're good to go. |
|
05-22-2024, 12:57 PM | #279 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
Quote:
So what I've done is change the setting in KTE to 3 characters before and 4 characters after, so that only words 7 characters or more get hyphenated. Now, things look MUCH better in my kepubs. I'm curious what you think about my approach, and thanks for your help! |
|
05-22-2024, 01:05 PM | #280 | |
Resident Curmudgeon
Posts: 76,537
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-15-2024, 10:59 AM | #281 |
Member
Posts: 13
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
What do the 1!1 1,1 etc at the beginning of the english hyphenation dictionary mean? I tried using them on the italian one but that resulted in words being splitted just a letter before the punctuation, like this: "Isabe-l." Probably the dot is counted as part of the word? I resolved that by eliminating the first 1 from the rules in the first section of the hyph file, but I don't know how they work or how that resolved the issue.
Also, in my italian file there's a rule like this one: l'2, which is intended to impede the hyphenation right after the apostrophe for word like l'hai. But as I was reading I found precisely that horrible instance of hyphenation: l'-hai. Does anyone know how to counter this by adding or modifying the rules? |
11-15-2024, 01:03 PM | #282 | |
Resident Curmudgeon
Posts: 76,537
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-15-2024, 01:10 PM | #283 |
Member
Posts: 13
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
Pity
I thought the rules in the first section could signal the punctuation marks as independent and not to be counted for hyphenation, but it wasn't working for me as it was and I'm not sure that just because they're there they're correct (someone could have added them tentatively?). I gathered that the 1 means a possible hyphenation point but it wouldn't make sense there. Is there some provedly good italian hyph file? Maybe mine is not the best. Thanks for answering anyhow. |
11-15-2024, 02:27 PM | #284 | |
Resident Curmudgeon
Posts: 76,537
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyphenation | Simboubou | PocketBook | 9 | 09-15-2014 06:21 AM |
PRS-T3 hyphenation - whether you want it or not ? | cybmole | Sony Reader | 10 | 01-13-2014 03:43 PM |
Hyphenation - again.. | ItsMee | Conversion | 2 | 07-31-2012 04:00 PM |
Hyphenation | Jini | ePub | 3 | 04-05-2012 12:48 PM |
hyphenation | CPatrick | OpenInkpot | 3 | 03-22-2010 07:06 AM |