12-16-2014, 09:04 PM | #16 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Thanks for this. Could you elaborate a bit on the above sentence? I had prepared one for French language only (from Grammalecte/LibreOffice) last year which worked well for 2.8.1. and that I keep using. https://www.mobileread.com/forums/sho...0&postcount=10 |
|
12-16-2014, 10:34 PM | #17 | |||
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
So you would need a word of at least 10 letters and it would only hyphenate if at least 5 letters were in front of the hyphen and at least 5 letters behind the hyphen. This basically can leave a lot of gaps in lines where a hyphen would normally work fine. I've used a left of 2 and a right of 3. I'm thinking of changing it to a right of 2. But I'll test it before posting an update. |
|||
Advert | |
|
12-16-2014, 10:59 PM | #18 |
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've updated the hyphenation dictionary in the first post. It's just US English. I;ve changed the settings to give even better hyphenation.
The original settings were... LEFTHYPHENMIN 2 RIGHTHYPHENMIN 3 COMPOUNDLEFTHYPHENMIN 2 COMPOUNDRIGHTHYPHENMIN 3 I've changed the settings to be... LEFTHYPHENMIN 2 RIGHTHYPHENMIN 2 COMPOUNDLEFTHYPHENMIN 2 COMPOUNDRIGHTHYPHENMIN 2 I have tested this and it works well. With a rather largish font size, it hyphenated the word happy as hap-py and if it had not, there would have been some gaps in the line. So if you've installed the previous version, give the new version a go. If anyone wants me to create a better hyphenation dictionary for another language, please find an OpenOffice compatible hyphenation dictionary, PM me a link, I'll edit the settings, make the TGZ file and post it in this thread. Last edited by JSWolf; 12-16-2014 at 11:04 PM. |
12-16-2014, 11:58 PM | #19 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
There are a couple of issues to do with words that have trailing punctuation:
1. Both the epub and kepub reader seem to count the punctuation when deciding if the word is long enough to hyphenate. So for example with both HYPHENMIN parameters set at 5, everybody would not be hyphenated, but everybody, could be hyphenated as every-body, 2. The kepub reader can hyphenate in the wrong place if there is trailing punctuation, so with both HYPHENMIN parameters set at 5, everything, could be hyphenated as everyt-hing, by the kepub reader, but the epub reader would still hyphenate it correctly as every-thing, There is not much that can be done about the second problem, but setting RIGHTHYPHENMIN one higher than LEFTHYPHENMIN can help a bit with the first. (I use LEFTHYPHENMIN 3, RIGHTHYPHENMIN 4) |
12-17-2014, 12:01 AM | #20 | |
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
12-17-2014, 12:06 AM | #21 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Sorry for the external link, for some reason, I can't upload to MR https://mega.co.nz/#!5EECmTDQ!mD0aXJ...VVI1oFVLkjdYHE Last edited by roger64; 12-17-2014 at 12:20 AM. Reason: French hyph |
|
12-17-2014, 04:50 AM | #22 | |
Enthusiast
Posts: 47
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kindle PW3, Kobo Libra H2O
|
Quote:
I attached files for Open office, firefox and another. Last edited by Teom@n; 12-17-2014 at 05:45 AM. |
|
12-17-2014, 10:48 AM | #23 | |
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Have a look around, there might be a Turkish hyphenation dictionary for Tex and there is a way to convert a Tex hyphenation dictionary to one that is compatible with OpenOffice. Google is your friend. |
|
12-17-2014, 11:08 AM | #24 |
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
First post updated with a French hyphenation dictionary.
|
12-17-2014, 11:09 AM | #25 |
Linux User
Posts: 2,281
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
|
12-17-2014, 11:39 AM | #26 | |
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-17-2014, 11:58 AM | #27 | |
Enthusiast
Posts: 47
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kindle PW3, Kobo Libra H2O
|
Quote:
|
|
12-17-2014, 11:59 AM | #28 | |
Enthusiast
Posts: 47
Karma: 10
Join Date: Dec 2014
Location: Lyon
Device: Kindle PW3, Kobo Libra H2O
|
Quote:
|
|
12-17-2014, 08:16 PM | #29 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
|
12-17-2014, 11:40 PM | #30 |
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
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 |