Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-20-2009, 01:36 PM   #1
NASCARaddicted
Addict
NASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and grace
 
Posts: 340
Karma: 43106
Join Date: Apr 2009
Location: Germany
Device: BeBook One, Pocketbook Touch, Pocketbook Touch HD
Calibre deletes soft Hyphens in Epub ?

I don't know if this is a bug or a feature, or if I just have a setting in calibre wrong.

This is my problem: I got a html file that is full of long words. I want to add hyphonation for this words.

I know their are 3 different codes for soft hyphens: ­ ­ and ­

Well, I put this codes into different words in the html file. Everything looks good in Firefox. So I converted the html file into an epub file, with Calibre. Strangely, the hyphenations didn't show up on my Bebook.

So I opened the epub (by renaming it to zip) and looked at the html file inside. And to my surprise, all the soft hyphens have been gone. How can this be ? Other html codes like umlauts work fine. So how does it come that the soft hyphenations are gone ? Is there something wrong with Calibre or my settings ? I tried it with and without the "no text justification" setting. (I thought this might solve the problem, but it didn't)

Oh and by the way: I heard that there would be an easier way for hyphenation ? Like a database on your ebook reader where you can enter the words and their correct hyphenations. (I think I heard something like this will come with CSS3 - does the Bebook support this ?)

Thanks for your help
NASCARaddicted is offline   Reply With Quote
Old 09-20-2009, 02:25 PM   #2
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,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
They aren't gone, they're converted to the corresponding UTF-8 character, which most editors wont display. And the BeBook doesn't support soft hyphens.
kovidgoyal is online now   Reply With Quote
Advert
Old 09-20-2009, 03:43 PM   #3
NASCARaddicted
Addict
NASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and grace
 
Posts: 340
Karma: 43106
Join Date: Apr 2009
Location: Germany
Device: BeBook One, Pocketbook Touch, Pocketbook Touch HD
Quote:
Originally Posted by kovidgoyal View Post
And the BeBook doesn't support soft hyphens.
O.k. thanks for the fast reply.

I gotta say I once found an epub file (on some forum, can't remember which one) that included soft hyphens - and it worked on the BeBook. However there were no dashes at the end of the syllable so it still looked strange.

I think I will stop using soft hyphens ... it's not so important anyway.

Last edited by NASCARaddicted; 09-20-2009 at 03:46 PM.
NASCARaddicted is offline   Reply With Quote
Old 09-20-2009, 06:28 PM   #4
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
Quote:
Originally Posted by kovidgoyal View Post
And the BeBook doesn't support soft hyphens.
The latest mobile ADE, e.g. on the BeBook, does support soft hyphens. Like the Desktop version, it does not add the hyphen at the end of the line if the word is actually broken there. It supports ISO 8859-1 encoding, but I did not test UTF. See Soft Hyphens.

The Sony's handle soft hyphens badly, so my first thought when reading the original post is that the output is customized for the PRS-505 (say).
wallcraft is offline   Reply With Quote
Old 09-20-2009, 06:31 PM   #5
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,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm, my impression was formed from trying an older firmware revision of the BeBook. You can test if the sift hyphens are actually in the output by opening the file with the calibre viewer (it wont render the hyphens but it will break words on them).
kovidgoyal is online now   Reply With Quote
Advert
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 wallcraft Workshop 29 06-12-2012 04:21 AM
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
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 01:45 AM.


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