Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-08-2013, 10:11 AM   #1
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
hyphenation control

hi all,

not having much luck googling, so was wondering if anyone knows how/if it's possible to control how a reader/app (mostly ADE and RMSDK) hyphenates.

i know that in iBooks i can set
Code:
-webkit-hyphens:0; hyphens:0;
whoops—as per Jellby's comment below, of course i meant:

Code:
-webkit-hyphens:none;
hyphens:none;
, but of course this doesn't work on just about everything else out there. also, i'd rather set lower bounds in minimum number of letters that are hyphenated rather than just turning them off.

i read some posts suggesting inserting soft-hyphens everywhere, but, apart from the labour in putting them in, they also make the text non-searchable if a word contains a soft-hyphen.

any suggestions/advice would be appreciated!

thanks

Last edited by mzmm; 08-06-2013 at 07:29 PM.
mzmm is offline   Reply With Quote
Old 07-08-2013, 12:08 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Not only that, soft-hyphens do not work in a lot of readers. They can even be displayed as question marks.
It is not really controllable.
Toxaris is offline   Reply With Quote
Old 07-08-2013, 08:30 PM   #3
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,633
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by mzmm View Post
hi all,

...i read some posts suggesting inserting soft-hyphens everywhere, but, apart from the labour in putting them in...

thanks
No labour at all; use the "Hyphenate This!" Calibre's plugin:

https://www.mobileread.com/forums/sho...ight=hyphenate

Regards
Rubén
RbnJrg is offline   Reply With Quote
Old 07-09-2013, 02:46 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
That plugin inserts a lot of soft hyphens, but there is a lot of issues with it on a lot of readers. Again, a lot of readers do not support the soft hyphen. With newer readers hyphenation will be built in into the reader software, but for older readers you are out of luck.
Toxaris is offline   Reply With Quote
Old 07-09-2013, 06:52 AM   #5
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
thanks Toxaris and Rubén, looks like i'll be sticking with the default hyphenation then.

Quote:
Originally Posted by RbnJrg View Post
No labour at all; use the "Hyphenate This!" Calibre's plugin ...
and thanks for the link, i try to stay away from Calibre as an editor because i don't know it well enough to get consistent results, but will check out the plugin to see how how the hyphens are being generated
mzmm is offline   Reply With Quote
Old 07-09-2013, 08:40 AM   #6
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,633
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by mzmm View Post
...and thanks for the link, i try to stay away from Calibre as an editor because i don't know it well enough to get consistent results, but will check out the plugin to see how how the hyphens are being generated
Results are great and work in ADE. By the way, Calibre doesn't touch the ebook; the plugin just inserts the ­ entities without affecting others parts of the ebook.
RbnJrg is offline   Reply With Quote
Old 07-09-2013, 02:04 PM   #7
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Quote:
Originally Posted by RbnJrg View Post
Results are great and work in ADE.
which version of ADE? i made a dummy book with one word in it that contained a soft-hyphen and the word wasn't searchable in ADE 2.0.67275
mzmm is offline   Reply With Quote
Old 07-09-2013, 06:06 PM   #8
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,633
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by mzmm View Post
which version of ADE? i made a dummy book with one word in it that contained a soft-hyphen and the word wasn't searchable in ADE 2.0.67275
My version is ADE 2.0.67532. But also should work in ADE 2.0.67275; maybe you are doing something wrong. Have you downloaded and installed the dictionaries for "Hyphenate This"?

Below I attach a screenshot of my ADE.

EDIT: A dummy book with just one word is not enough to see hyphenated words. Instead use a real book; "Hyphenate This!" won't hurt it.
Attached Thumbnails
Click image for larger version

Name:	Image1.jpg
Views:	334
Size:	98.1 KB
ID:	107973  

Last edited by RbnJrg; 07-09-2013 at 06:09 PM.
RbnJrg is offline   Reply With Quote
Old 07-10-2013, 01:54 AM   #9
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
But there are big issues with hyphenation on ADE-based readers, even the newer ones. The Kobo is one of the few readers where is it works to some extent. In most readers it will not show the hyphen, show a question mark or a blank. Other issues are that the hyphenation words can no longer be searched. Some readers suffer more from this than others, but in general this method of hyphenation does not really work to an acceptable level. It is fine if it is converted to a mobi, where I heard it will work better.
ADE is not always a good way to see if stuff works.
Toxaris is offline   Reply With Quote
Old 07-10-2013, 09:04 AM   #10
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,633
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Toxaris View Post
...It is fine if it is converted to a mobi, where I heard it will work better.
Yes, in my K4NT I have no problem with soft hyphen. But I can't say the same about others reader devices because I only tried the PC viewers for them. It's perfectly possible all those troubles you point out. But if mmzm wants the book for personal use, then he could try Hyphenate This! to see if it works for him. Of course, for commercial books, your reasons are of much weight.
RbnJrg is offline   Reply With Quote
Old 07-14-2013, 03:20 AM   #11
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by mzmm View Post
i know that in iBooks i can set
Code:
-webkit-hyphens:0; hyphens:0;
, but of course this doesn't work on just about everything else out there.
For Adobe readers you can add adobe-hyphenate, but I think the correct value is "none:

Code:
h1 {
  -webkit-hyphens: none;
  adobe-hyphenate: none;
  hyphens: none;
}
recommended for titles and other "display" stuff.
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyphenation - again.. ItsMee Conversion 2 07-31-2012 03:00 PM
Hyphenation Jini ePub 3 04-05-2012 11:48 AM
Hyphenation Mixx Calibre 4 11-17-2010 10:01 AM
hyphenation CPatrick OpenInkpot 3 03-22-2010 06:06 AM
Mobi Hyphenation brewt Kindle Formats 3 07-06-2008 10:20 AM


All times are GMT -4. The time now is 12:27 PM.


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