03-27-2013, 11:12 AM | #31 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
|
03-27-2013, 11:22 AM | #32 | |
Resident Curmudgeon
Posts: 76,463
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So hy-phen would not be hyphenated because hy is only two letters. It's not about how it falls on the screen. |
|
Advert | |
|
03-27-2013, 11:29 AM | #33 |
Resident Curmudgeon
Posts: 76,463
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Do soft hyphens work with ADE?
|
03-27-2013, 12:12 PM | #34 |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
I think that I've already explained what I was missing.
They should work if the book is soft-hyphenated before encryption and if your ebook reader does the rendering. BTW, most of the ebook reader using ePub can hyphenate w/o this method (my guess). P.S. Are you the one not wanting this plugin to be implemented because "it would bloat things"? Last edited by pirl8; 03-27-2013 at 12:19 PM. |
03-27-2013, 04:27 PM | #35 |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Yes, I tried it on my PRS-T1 and PRS-350. The result was the same on both. The words did split across lines where the soft hyphens were but unfortunately the soft hyphens themselves did not display. Like this:
It's a pity hyphen ation does not dis play quite right. |
Advert | |
|
03-27-2013, 05:32 PM | #36 | |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
Quote:
Can you try to "manually" replace (with Sigil) the ­ sequence with either ­ or ­ and see what happens? You can also try to modify your stylesheed this way: Code:
body { ... word-break: hyphenate; ... } Last edited by pirl8; 03-27-2013 at 05:36 PM. |
|
03-27-2013, 07:20 PM | #37 | |
Resident Curmudgeon
Posts: 76,463
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
03-27-2013, 07:25 PM | #38 |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@pirl8,
On the Sony PRS-T1, I tried adding word-break: hyphenate; to the css body class, but the result was the same as before. As for manually replacing the ­ entities ... I'm not sure what you're suggesting. The epub doesn't actually contain any html entities only the unicode character equivalents, i.e. soft hyphen looks like (but isn't) a standard hyphen in a text editor. |
03-27-2013, 07:34 PM | #39 | |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
However, in theory, the Kobo does support hyphenation and so I would expect to see some hyphenation even without the plugin. My initial gut-feel was that with the plugin it looked as if there may be more soft-hyphens per screen than usual. I've no idea how good/bad the Kobo English hyphenation dictionary is. I need to try the same epub with/without the plugin additions to confirm this. Edit: Seems like my gut-feel was correct this time. There is definitely more soft hyphenation visible on a Kobo with a standard epub (I don't know about kepubs) when this Hyphenation plugin is used. See attached pics - sorry for wonky camerawork Left - Kobo displaying the original epub. Right - Kobo displaying same epub (same font, same font-size, same margins) after using this plugin to add soft hyphens. My conclusions: Plugin not really suitable for Sony PRSx50/PRS-T1 users but for Kobo users, who read in a language not well-supported by Kobo's own hyphenation dictionaries, this plugin should offer a workable alternative. Last edited by jackie_w; 03-27-2013 at 08:43 PM. Reason: Added test results and pics |
|
03-27-2013, 08:00 PM | #40 |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
Try with Sigil and put the editor in "code" mode. Then you can try a find&replace.
Last edited by pirl8; 03-27-2013 at 08:34 PM. |
03-27-2013, 08:28 PM | #41 |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
@JSWolf
This plugin is definitely ePub compatible. &Shy; is a stantard HTML entity supported since HTML 3.2 and clearly defined in HTML 4. It's present in the W3G XHTML 1.1 dtd, and being ePub 2 based on XHTML 1.1 it definitely includes ­ (even if you don't like it). However not every ePub reader implements the rendering of this special character. Some of them do it partially. Other shows it as expected. This is the same as other CSS features which may or may not be implemented in a specific reader. Last edited by pirl8; 03-27-2013 at 08:34 PM. |
03-27-2013, 08:37 PM | #42 |
Resident Curmudgeon
Posts: 76,463
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I did both of these replacements and no go. Same result of the words splitting where they should, but no hyphen showing up.
|
03-27-2013, 08:46 PM | #43 | |
Resident Curmudgeon
Posts: 76,463
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
03-27-2013, 09:12 PM | #44 | |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Anyway, this isn't really the point. Why do you think that changing a perfectly legal unicode char to an html entity should be necessary? It would be very inconvenient to have to do this. Calibre conversions always convert html entities to unicode, don't they? I know that the current version of Sigil silently strips out non-breaking spaces if you don't convert the unicode \xa0 char to the entity before opening - but that's a whole other story altogether. In case you haven't seen it, I've added my KoboGlo test results to post #39. |
|
03-27-2013, 09:22 PM | #45 |
Resident Curmudgeon
Posts: 76,463
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
Tags |
amazon account, formatting, hypenation, hyphenate this, hyphenation, spaces |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 495 | 10-19-2024 07:06 AM |
[GUI Plugin] SmartEject | JimmXinu | Plugins | 105 | 08-15-2024 11:29 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 09:39 AM |
[GUI Plugin] Wordpress | frescogamba | Plugins | 11 | 04-06-2015 10:09 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |