![]() |
#16 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 63193
Join Date: Apr 2015
Location: Liège - Belgium
Device: Kobo Aura - kobo gloHD - KA1
|
@JSWolf : yup, it's good, I had yet to see an error with koreader. The algo for hyph in ADE tends to consider all the french non-breaking spaces as "in the word" and generates some errors even with a good hyph dic like difference- / ? or blablah- /*».
Koreader has not this problem but doesn't consider non-breaking space at all. And since non-breaking spaces are of little use (or no use ?) in english, the problem tend to be non-existent in this language. (it's the main raison I use 'hyphenate this' and set adobe-hyphenate:explicit; to bypass totally the algo in ADE. In ADE, there is still a bug when a word with double 't' or 'f' (like 'dif-ference') is cut at the end of a page : the letter is double again on the next page, thus making it triple (dif-// fference). From my point of view, for the french, if koreader could deal with non-breaking spaces, it will be perfect for french epubs. @Frenzie : yup : the standards say that soft hyphen have to be ignore in search. But the search in nickel are not broken, it finds it each time, only says 'i didn't find difference, the word must be 'difference' following the definition. @Ken : In french it's just a pain cause they use nbsp before all punctuation and the quotes are too big to be glue to the word. A 'solution' I won't apply would be to transform all the quotes and double-quotes to english one urgh. |
![]() |
![]() |
Advert | |
|
![]() |
#17 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 111494
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
@cramoisi Which standards are you referring to?
|
![]() |
![]() |
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,195
Karma: 6220228
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite (retired), AuraHD, PDA,
|
@cramoisy; Is that using "French_hyphen_(Alan).pdb" in KOReader?
Luck; Ken |
![]() |
![]() |
![]() |
#19 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 63193
Join Date: Apr 2015
Location: Liège - Belgium
Device: Kobo Aura - kobo gloHD - KA1
|
Quote:
Yes ! @Frenzie : I thought I read something about it last year but can't find it anymore. All I can find now is papers stating how bothering are soft hyphen... There is a mention here : https://www.w3.org/TR/html401/struct/text.html#h-9.3.3 Quote:
Last edited by cramoisi; 04-23-2017 at 08:00 AM. |
||
![]() |
![]() |
![]() |
#20 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 111494
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
According to Wikipedia, it's been defined the same way in Unicode since version 4. That's probably why the HTML5 spec doesn't seem to contain anything on hyphenation.
https://en.wikipedia.org/wiki/Soft_h...nd_definitions I like one of the supporting arguments for this change: http://www.unicode.org/L2/L2002/02279-muller.htm Quote:
![]() |
|
![]() |
![]() |
![]() |
#21 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,244
Karma: 2334301
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
It gave quite decent hyphenation (at least for French) and I really miss it because from time to time surface some strange hyph mistakes. Could it be reinstalled or put in its former place? |
|
![]() |
![]() |
![]() |
#22 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 63193
Join Date: Apr 2015
Location: Liège - Belgium
Device: Kobo Aura - kobo gloHD - KA1
|
I got stranges hyphenation from French_hyphen_(Alan).pdb when police size is "too big" which is an issue in itself. But that's not happening with default size (only 2 with two steps greater).
I was thinking to transform hyph_fr.dic from libreoffice into a .pattern file (which seems to be the same only with xml tags. will it works ? |
![]() |
![]() |
![]() |
#23 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52,143
Karma: 45958441
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
|
I've posted a better French hyphenation dictionary that works with ePub and Kepub. Have a go with it and see what you think.
https://www.mobileread.com/forums/sh....php?p=2995414 |
![]() |
![]() |
![]() |
#24 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 63193
Join Date: Apr 2015
Location: Liège - Belgium
Device: Kobo Aura - kobo gloHD - KA1
|
yup, but i need a koreader-compatible one and .dic are not (I tried yesterday). I wanted to transform yours, in fact.
|
![]() |
![]() |
![]() |
#25 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52,143
Karma: 45958441
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
|
|
![]() |
![]() |
![]() |
#26 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 111494
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
|
|
![]() |
![]() |
![]() |
#27 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,244
Karma: 2334301
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Could not tell you. What I sure remember is that we were offered with Koreader a menu option (a menu item ) in the drop down settings menu, named Hyphen or Hyphenation.
Selecting this option, you could see appear some languages (seven or height about that), among them one for the French (Alan). You were also free to select "No hyphenation". If you selected French, this referred to some hyphenation file within Koreader which gave the settings or the rules to apply for hyphenation in this language. This possibility seems to have been silently squashed and I really miss it. |
![]() |
![]() |
![]() |
#28 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 63193
Join Date: Apr 2015
Location: Liège - Belgium
Device: Kobo Aura - kobo gloHD - KA1
|
Quote:
@Frenzie : if I create a dot pattern file for french hyphenation based on a TeX file and if I add it into languages.json, will it be functional ? Last edited by cramoisi; 05-05-2017 at 05:20 AM. |
|
![]() |
![]() |
![]() |
#29 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,195
Karma: 6220228
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite (retired), AuraHD, PDA,
|
I remember seeing those in the hyph listing, but they don't appear there anymore. There are ".pattern" files for some of the languages. The Greek one I looked at included a description of its generation.
Luck; Ken Last edited by Ken Maltby; 05-05-2017 at 09:50 AM. |
![]() |
![]() |
![]() |
#30 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,244
Karma: 2334301
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
I had "lost" it because my last ten books were all PDF and it does not appear for them (useless). Sorry for this confusion. In French hyphenation is "Césure". Last edited by roger64; 05-05-2017 at 10:50 AM. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Hyphenate This! | SauliusP. | Plugins | 326 | 03-27-2018 03:29 AM |
Hyphenate your ebook files from the command line | acabal | Workshop | 9 | 10-05-2016 03:13 AM |
How about a plugin to hyphenate? | dhdurgee | Plugins | 45 | 02-12-2016 06:58 AM |
Oxt dictionaries for Hyphenate this! | Buhaj47 | Plugins | 2 | 10-06-2015 03:37 PM |
[GUI Plugin] Hyphenate This! | bookbinder | Plugins | 0 | 05-06-2015 01:07 PM |