Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 08-23-2009, 08:43 PM   #16
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,987
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Ankh View Post
Automated hyphenation might be decently implemented for English language, but I doubt that the same is true for myriad of living (and dead ?) languages.

In the future, a professional hyphenation tool (based on OED database?) might emerge that will do a better job than the automated process. If the author wants to invest effort to fix hyphenation (or to purposely tweak it), why not allow them to do so?

IMHO, the automated hyphenation should be clever enough to shut itself off when soft hyphen characters are present in the source of the word at the edge of the screen.
Because in a reflowable format the author cannot know which words to hyphenate in advance, which means she has to hyphenate *all* the words. I can't imagine any human being sitting and doing that.
kovidgoyal is offline   Reply With Quote
Old 08-23-2009, 09:17 PM   #17
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
Quote:
Originally Posted by kovidgoyal View Post
Because in a reflowable format the author cannot know which words to hyphenate in advance, which means she has to hyphenate *all* the words.
Agreed. All words. Storage is cheap, and the size of publication is very-very-very low on my list of concerns.

Quote:
Originally Posted by kovidgoyal View Post
I can't imagine any human being sitting and doing that.
Neither can I. What I can imagine, though, is human "providing assistance" to the automated hyphenation tool, for a limited number of words that such a tool does not know how to hyphenate. Even that limited intervention can produce better result than the automated tool built into the dedicated reader.

If the author (or the person doing the layout, no difference) is keen to pursue such a perfection, why not let them?
Ankh is offline   Reply With Quote
Advert
Old 08-23-2009, 09:34 PM   #18
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,987
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Ankh View Post

If the author (or the person doing the layout, no difference) is keen to pursue such a perfection, why not let them?
Umm what's stopping them?
kovidgoyal is offline   Reply With Quote
Old 08-23-2009, 09:39 PM   #19
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
Quote:
Originally Posted by kovidgoyal View Post
Umm what's stopping them?
Buggy implementation of soft hyphenation in the ADE 1.71, I would guess.
Ankh is offline   Reply With Quote
Old 08-23-2009, 09:44 PM   #20
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,987
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Ankh View Post
Buggy implementation of soft hyphenation in the ADE 1.71, I would guess.
Ah, well I'm user Adobe will get around to it someday
kovidgoyal is offline   Reply With Quote
Advert
Old 08-23-2009, 09:49 PM   #21
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
Quote:
Originally Posted by kovidgoyal View Post
Ah, well I'm user Adobe will get around to it someday
With all due respect, no, you are not just a "user". You are the author of the the best ePub viewer that runs natively on my Linux box.
Ankh is offline   Reply With Quote
Old 08-23-2009, 09:55 PM   #22
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,987
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Ankh View Post
With all due respect, no, you are not just a "user". You are the author of the the best ePub viewer that runs natively on my Linux box.
Actually I meant user=sure

Incidentally calibre's ebook-viewer respects soft hyphens but because of a bug in Qt, the soft hyphens at line endings are not actually rendered. The viewer even uses language sesnitive algorithms to do hyphenation (if you turn it on in the Preferences)
kovidgoyal is offline   Reply With Quote
Old 08-23-2009, 10:15 PM   #23
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
Quote:
Originally Posted by kovidgoyal View Post
Incidentally calibre's ebook-viewer respects soft hyphens but because of a bug in Qt, the soft hyphens at line endings are not actually rendered.


Thanks for the info, that particular lack of hyphen glyphs was a mystery.

The strange thing was that calibre viewer (when it comes to the treatment of soft hyphens) is behaving same as ADE 1.71, and there should be no Qt dependencies there, unless I am mistaken.
Ankh is offline   Reply With Quote
Old 08-25-2009, 10:20 PM   #24
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Referring back to the start of the thread, shytest.epub now renders the same using mobile ADE (Sony eBook Library 3.0 and Hanlin V3) as Windows ADE, i.e. it breaks on a soft hyphen, but does not add a "-" when it does so.
wallcraft is offline   Reply With Quote
Old 09-22-2009, 06:31 AM   #25
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,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by wallcraft View Post
The attached ebooks are based on http://www.cs.tut.fi/~jkorpela/shytest.html, which is from Soft hyphen (SHY) – a hard problem?. I enclose a single-file HTML (ZIP), MOBI (via MobiPocket Creator) and ePub (via BookGlutton) versions.
In the ePUB, I see all soft hyphens encoded as & #xAD;

This is the "fixed" file. Opera 10 seems to render it it fine, but Prince does not display the hyphen when it occurs at a manual linebreak (<br/>).
Attached Files
File Type: epub shytest.epub (2.5 KB, 290 views)

Last edited by Jellby; 09-22-2009 at 06:36 AM.
Jellby is offline   Reply With Quote
Old 06-11-2012, 02:18 PM   #26
naskotop
Junior Member
naskotop began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2012
Device: kindle 4
Hyphenation and soft hyphens in e-readers

Hyphenation is a visual must. Giving the reader an ugly justified blocks of text to read is as cruel as having spelling mistakes. Being incapable of providing an algorithm working on the hardware (although it is not a rocket science) it is an unexplainable shame not to provide any correct visualisation of the embedded soft hyphens. There are many programs that can process a text as an input and produce a soft-hyphened text as an output. Nobody is going to do it manually - we are not in the stone age...
naskotop is offline   Reply With Quote
Old 06-11-2012, 05:17 PM   #27
DSpider
Evangelist
DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.
 
DSpider's Avatar
 
Posts: 450
Karma: 343115
Join Date: Nov 2009
Location: Romania
Device: PW2 2014
I think InDesign can do it automatically (dictionary-based, I think. So if you want Swahili or something, tough luck). Basically you ouput to ePub and convert the ePub to Mobi (eg. using Calibre).

PS: Bumping a 3 yo thread isn't a very good practice. It's called necroposting.
DSpider is offline   Reply With Quote
Old 06-12-2012, 01:41 AM   #28
naskotop
Junior Member
naskotop began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2012
Device: kindle 4
[QUOTE=DSpider;2111459 Bumping a 3 yo thread isn't a very good practice. It's called necroposting.[/QUOTE]
The astonishing thing is that in 3 years nothing has changed about hyphenation. Do you think it is so difficult to have the support of the ­ in any e-reader and to allow the providers of the content to do their best...?

If you are not interested on this subject, please do not feel obliged to answer any comment...
naskotop is offline   Reply With Quote
Old 06-12-2012, 01:43 AM   #29
naskotop
Junior Member
naskotop began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2012
Device: kindle 4
... the support of the & s h y ; in any e-reader...
naskotop is offline   Reply With Quote
Old 06-12-2012, 04:21 AM   #30
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,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by naskotop View Post
The astonishing thing is that in 3 years nothing has changed about hyphenation.
Really? When was ADE 1.8 (preview) released? It includes hyphenation, and some dedicated readers (mine, for instance) support it.
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre remove soft hyphens? zuli Calibre 3 11-08-2017 09:20 PM
Soft Hyphens Deleted When Opened in Book View rcgordon Sigil 4 06-16-2010 07:14 AM
Feature request: soft hyphens paulpeer Sigil 3 12-05-2009 01:43 PM
Calibre deletes soft Hyphens in Epub ? NASCARaddicted Calibre 4 09-20-2009 06:31 PM
Certain hyphens being removed on HTML to ePub phunkysai Calibre 4 05-19-2009 03:17 PM


All times are GMT -4. The time now is 08:40 PM.


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