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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-04-2011, 10:31 AM   #1
jclim00
Member
jclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to behold
 
Posts: 22
Karma: 11902
Join Date: Sep 2011
Device: Nook Touch, Kobo Glo
Calibre breaking Nook Touch hyphenation?

Hello, apologies if there's a similar thread, did a search but didn't see anything.

I just got a Nook Touch a few days ago and have been enjoying it a lot. Today I tried some epub to epub conversions in Calibre to standardize the font sizes, remove the margins, justify the paragraphs, remove spaces between paragraphs, and set a default paragraph indent. I then sent the files to my Nook and started reading.

Seems like end-of-line hyphenation suddenly stops working. I tried switching to a non-Calibre modified epub, and hyphenation is also not working for that. Tried putting it to sleep and waking, no dice. A full restart seems to fix it. But every time I load up a Calibre modified epub, the same thing happens.

I did find this thread

http://www.mobileread.com/forums/sho...=131028&page=3

Quote:
Mobile ADE libraries in Nook STR(1.0.1 update) have a bug that shuts down the hyphenation engine until the device is turned off and on again. If the Nook Color uses the same library code, maybe you can (ab)use this bug to turn off hyphenation.

Here is how:

1. Prepare a dummy EPUB (or acquire a free one from gutenberg, feedbooks etc.)
2. Extract OPF file from it.
3. Change the language to "UND".
4. Put it back into the EPUB overwriting original one.

When you open the resulting book in Nook STR, the hyphenation engine seems to be getting shut down and all your other books are rendered without hyphens as well. This behavior persists through sleep. The engine starts running properly again after the device is turned off and on.
And that seems to be what is happening, but when I checked the OPF file of one of the epubs the language is set to ENG so I don't know what's going on.
jclim00 is offline   Reply With Quote
Old 09-04-2011, 10:51 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,799
Karma: 12528001
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Calibre is not "breaking Nook Touch hyphenation" this is a Nook issue not a calibre issue. You should report this on the Nook company forum.
DoctorOhh is offline   Reply With Quote
Old 09-04-2011, 11:07 AM   #3
jclim00
Member
jclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to behold
 
Posts: 22
Karma: 11902
Join Date: Sep 2011
Device: Nook Touch, Kobo Glo
Quote:
Originally Posted by dwanthny View Post
Calibre is not "breaking Nook Touch hyphenation" this is a Nook issue not a calibre issue. You should report this on the Nook company forum.
How is it not a Calibre issue if it only happens on Calibre converted material?
jclim00 is offline   Reply With Quote
Old 09-04-2011, 11:17 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,799
Karma: 12528001
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by jclim00 View Post
Quote:
Mobile ADE libraries in Nook STR(1.0.1 update) have a bug that shuts down the hyphenation engine until the device is turned off and on again.
How is it not a Calibre issue if it only happens on Calibre converted material?
The ADE libraries (firmware on your ereader) have the bug. Ask Barnes and Noble to fix the firmware or see if setting a language in your conversions will work around the bug. Either way it is a bug in the firmware that is at fault.

Good Luck.
DoctorOhh is offline   Reply With Quote
Old 09-04-2011, 12:27 PM   #5
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,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Calibre may be at fault if it is unexpectedly changing the hyphenation behavior, which is then propagated by the Nook bug until reset. Earlier in the same thread mentioned in the original post, Peter Sorotokin suggests:
Quote:
This property is better suited for hyphenation control:

Code:
adobe-hyphenate: none | explicit | auto
So, try adding (say)
Code:
body {
    adobe-hyphenate: auto
}
to Calibre's extra CSS.
wallcraft is offline   Reply With Quote
Old 09-04-2011, 12:47 PM   #6
jclim00
Member
jclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to beholdjclim00 is a marvel to behold
 
Posts: 22
Karma: 11902
Join Date: Sep 2011
Device: Nook Touch, Kobo Glo
I actually tried changing in content.opf

Code:
<dc:language>eng</dc:language>
to

Code:
<dc:language>en</dc:language>
and lo and behold, it works. No more bug. How odd. I'll add that extra css to my epubs anyway though, thanks wallcraft.

edit: arrgh, some books work, some don't. i'm just gonna hang my head and skip conversion and hand edit the css myself.

Last edited by jclim00; 09-04-2011 at 01:21 PM.
jclim00 is offline   Reply With Quote
Old 09-04-2011, 01:32 PM   #7
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
The language tag using the 3 letter code is incorrect in this case. I've opened a bug report for tracking. However, this does not negate the fact that there is a bug in the Nook that disables hyphenation if an incorrect or unknown lang code is used until the unit is rebooted.
user_none is offline   Reply With Quote
Old 09-04-2011, 05:12 PM   #8
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
The next release will use 2 letter lang code for English.
user_none is offline   Reply With Quote
Old 09-04-2011, 06:28 PM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,799
Karma: 12528001
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by user_none View Post
Quote:
Originally Posted by jclim00 View Post
I actually tried changing in content.opf

Code:
<dc:language>eng</dc:language>
to

Code:
<dc:language>en</dc:language>
and lo and behold, it works. No more bug. How odd. I'll add that extra css to my epubs anyway though, thanks wallcraft.

edit: arrgh, some books work, some don't. i'm just gonna hang my head and skip conversion and hand edit the css myself.
The language tag using the 3 letter code is incorrect in this case. I've opened a bug report for tracking. However, this does not negate the fact that there is a bug in the Nook that disables hyphenation if an incorrect or unknown lang code is used until the unit is rebooted.
@jclim00 - Hopefully you mentioning it will bring about a work around in calibre's conversion code for this bug in the Nook's ADE firmware. I don't think it would be the first work around of a ADE bug.

@user_none thanks for correcting the language code to 2 letter codes.
DoctorOhh 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
Nook Touch/Calibre wireless connection? tigersfan Devices 8 01-10-2012 02:51 PM
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch jbcohen Which one should I buy? 4 06-18-2011 07:58 PM
New Nook Simple Touch & Calibre GeekyGirl Devices 7 06-14-2011 01:31 AM
EPUB to MOBI hyphenation using Calibre nargyris Kindle Formats 2 02-04-2011 05:33 PM
Calibre fixes Hyphenation on iPad Dwayne Smith Devices 11 02-03-2011 11:11 PM


All times are GMT -4. The time now is 04:50 PM.


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