Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-21-2017, 02:17 AM   #16
cramoisi
Addict
cramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchfork
 
cramoisi's Avatar
 
Posts: 208
Karma: 48967
Join Date: Apr 2015
Location: Liège - Belgium
Device: Kobo Aura (wife) - kobo gloHD (Mine)
@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.
cramoisi is offline   Reply With Quote
Advert
Old 04-21-2017, 09:27 AM   #17
Frenzie
Zealot
Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.
 
Posts: 147
Karma: 105238
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
@cramoisi Which standards are you referring to?
Frenzie is offline   Reply With Quote
Old 04-21-2017, 10:23 AM   #18
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 3,918
Karma: 5819412
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
Ken Maltby is offline   Reply With Quote
Old 04-23-2017, 07:44 AM   #19
cramoisi
Addict
cramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchforkcramoisi can load mercury with a pitchfork
 
cramoisi's Avatar
 
Posts: 208
Karma: 48967
Join Date: Apr 2015
Location: Liège - Belgium
Device: Kobo Aura (wife) - kobo gloHD (Mine)
Quote:
Originally Posted by Ken Maltby View Post
@cramoisy; Is that using "French_hyphen_(Alan).pdb" in KOReader?

Luck;
Ken
Hi ken,
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:
In HTML, there are two types of hyphens: the plain hyphen and the soft hyphen. The plain hyphen should be interpreted by a user agent as just another character. The soft hyphen tells the user agent where a line break can occur.

Those browsers that interpret soft hyphens must observe the following semantics: If a line is broken at a soft hyphen, a hyphen character must be displayed at the end of the first line. If a line is not broken at a soft hyphen, the user agent must not display a hyphen character. For operations such as searching and sorting, the soft hyphen should always be ignored.

Last edited by cramoisi; 04-23-2017 at 08:00 AM.
cramoisi is offline   Reply With Quote
Old 04-23-2017, 08:39 AM   #20
Frenzie
Zealot
Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.Frenzie shapes the world with his or her thoughts.
 
Posts: 147
Karma: 105238
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:
While limited, those changes may be more than we can tolerate. Clearly, they affect the semantic of existing documents. It may be useful to observe that implementations vary widely today, and that therefore there may be little to break anyway.
Anyhow, since it's clearly not a matter of interpretation then.
Frenzie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Hyphenate This! SauliusP. Plugins 300 04-02-2017 06:11 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


All times are GMT -4. The time now is 02:05 PM.


MobileRead.com is a privately owned, operated and funded community.