Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 11-06-2015, 01:00 AM   #181
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DuckieTigger View Post
I don't give a hoot if there is no soft-hyphens suppossed to be when creating a book. As reader I only care that I can add them and the books will be hyphenated on my Voyage. And that is what the plugin for calibre is supposed to do - not as a book-creation tool.
And that's great, but unless I'm mis-remembering, isn't this thread about KFX, and not the Calibre hyphen tool plugin?????

Hitch
Hitch is offline   Reply With Quote
Old 11-06-2015, 02:03 AM   #182
AaronShep
Connoisseur
AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.
 
Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
Quote:
Originally Posted by DuckieTigger View Post
I don't give a hoot if there is no soft-hyphens suppossed to be when creating a book. As reader I only care that I can add them and the books will be hyphenated on my Voyage. And that is what the plugin for calibre is supposed to do - not as a book-creation tool.
I'm sorry if I misunderstood the intent. But if that's what you want, I believe there's a much easier way to do it. Just add "-webkit-hyphens: auto;" to a style attribute in the body tag. Hyphenation is already built into Webkit, you just have to turn it on. At least, that works in the Kindle Previewer with the Fire emulation.
AaronShep is offline   Reply With Quote
Old 11-06-2015, 02:07 AM   #183
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,547
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
That won't display hyphens on the Kindle Voyage. It certainly doesn't use WebKit.
HarryT is offline   Reply With Quote
Old 11-06-2015, 09:38 AM   #184
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
It would be interesting if all KFX does is add the hyphen metatag. Now all we need is to find out how to enable ligatures and kerning.

I strongly doubt that KFX uses soft-hyphens unless for special case exceptions maybe. The location of a KFX book and a KF8 book match perfectly (great for syncing without having to turn wifi on). So either there is a lookup table or KFX doesn't change the files inside a KF8 file and justs adds extras via exttra files.
DuckieTigger is offline   Reply With Quote
Old 11-06-2015, 11:39 AM   #185
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,075
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by DuckieTigger View Post
The location of a KFX book and a KF8 book match perfectly (great for syncing without having to turn wifi on). So either there is a lookup table or KFX doesn't change the files inside a KF8 file and justs adds extras via exttra files.
All this shows is that KFX uses the same "location numbers" that other Kindle formats use to track reading position in a book.
jhowell is offline   Reply With Quote
Old 11-06-2015, 11:55 AM   #186
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,547
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by jhowell View Post
All this shows is that KFX uses the same "location numbers" that other Kindle formats use to track reading position in a book.
But location numbers are related to file size, so if the file had become larger through adding additional information to it, one might reasonably expect the number of locations in the book to increase.
HarryT is offline   Reply With Quote
Old 11-06-2015, 02:09 PM   #187
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,075
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
My mistake. Anyway, there is some format-independent position identifier used for whispersync that works for mobi and kf8 and audible and the same thing is likely used for kfx.
jhowell is offline   Reply With Quote
Old 11-06-2015, 02:58 PM   #188
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DuckieTigger View Post
It would be interesting if all KFX does is add the hyphen metatag. Now all we need is to find out how to enable ligatures and kerning.
My head just exploded. When I try to think of how we (as a commercial firm) would deal with that, given that there are still millions of devices that wouldn't show a kerned/ligatured font...oish.

Quote:
I strongly doubt that KFX uses soft-hyphens unless for special case exceptions maybe. The location of a KFX book and a KF8 book match perfectly (great for syncing without having to turn wifi on). So either there is a lookup table or KFX doesn't change the files inside a KF8 file and justs adds extras via exttra files.
I don't have a clue, I have to admit. I think that Harry's messages on the topic make sense to me.

Hitch
Hitch is offline   Reply With Quote
Old 11-06-2015, 03:17 PM   #189
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by HarryT View Post
But location numbers are related to file size, so if the file had become larger through adding additional information to it, one might reasonably expect the number of locations in the book to increase.
Unless locations are only for stuff displayed on screen. In that case, locations would not change for adding more to an eBook as long as it's not added text to be displayed.
JSWolf is offline   Reply With Quote
Old 11-07-2015, 02:49 AM   #190
AaronShep
Connoisseur
AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.
 
Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
The -webkit-hyphens CSS is the acknowledged way to turn hyphenation on or off in KFX. Amazon KDP itself told me this, even though they haven't publicly documented it. At present, I'm turning hyphenation OFF in the body tag and then turning it back on for specific paragraph classes. This works perfectly in KFX.

So, Amazon is certainly NOT adding soft hyphens. Given the accuracy I've seen in processed KFX books, it's probably a dictionary lookup.

Kerning and ligatures likewise can probably be controlled by CSS, but I haven't experimented with that. Like hyphenation, these too are Webkit features, not Kindle inventions.

When I said that "-webkit-hyphens" works "at least" in the Kindle Previewer with Fire emulation, I was referrring to hyphenation in KF8, which is the format that people are adding their own soft hyphens in. There's no "at least" about it in KFX. It's ALWAYS the way to do it.
AaronShep is offline   Reply With Quote
Old 11-07-2015, 04:13 AM   #191
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,547
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by JSWolf View Post
Unless locations are only for stuff displayed on screen. In that case, locations would not change for adding more to an eBook as long as it's not added text to be displayed.
I have a vague memory that each location in a Kindle book is 128 bytes in the file, markup included.
HarryT is offline   Reply With Quote
Old 11-07-2015, 05:40 AM   #192
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: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@AaronShep: Are you saying the KFX files do not hyphenate unless you set -webkit-hyphens: auto in the book css?

Because, unless that is what you are saying, -webkit-hyphens cannot be used to deduce that KFX does not have soft hyphens. The default value of -webkit-hyphens is manual, which means the rendering engine will break only at soft hyphens. auto simply means it will break preferentially at soft hyphens and otherwise at calculated locations. See https://developer.mozilla.org/en/docs/Web/CSS/hyphens

As for location calculations, it is trivial to simply ignore certain characters when doing the calculation. So again, it does not prove anything one way or another.
kovidgoyal is offline   Reply With Quote
Old 11-07-2015, 09:08 AM   #193
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by Hitch View Post
To wit: here's what we all don't know: we all don't yet know if every bloody book out there, that has escaped into the KDP, over the last 7-ish years, will be reprocessed.
Well, I have 25 books published through the DTP/KDP, starting almost exactly eight years ago. (I'm sure I uploaded at least one book in November 2007, because I had earnings by the end of January 2008, though not enough to get paid, there being a $10 minimum payout.) I went through the Amazon store pages yesterday, and 24 of them said Enhanced Typesetting: Enabled. They were variously uploaded as Word docs, html files, and (since 2012) epubs. (It may be that most of them have since been republished as epubs; I can't remember, but I do often update/improve/tweak my books.)

Funnily enough, there's also one of my books on the store in an e-book from HarperCollins, and it says: Enhanced Typesetting: Not Enabled. So it may be affecting self-pubbers more than mainstream publishers.

Last edited by Notjohn; 11-07-2015 at 09:11 AM.
Notjohn is offline   Reply With Quote
Old 11-07-2015, 09:16 AM   #194
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by AaronShep View Post
When I said that "-webkit-hyphens" works "at least" in the Kindle Previewer with Fire emulation, I was referrring to hyphenation in KF8, which is the format that people are adding their own soft hyphens in. There's no "at least" about it in KFX. It's ALWAYS the way to do it.
This doesn't work with the Kindle for Android/PC apps and eInk Kindles. However, it does work with the Kindle for iOS app, if you specify -webkit-hyphens: auto; in the stylesheet and convert the source files to .azk files with Kindle Previewer. (My test file doesn't contain any soft hyphens.)

Quote:
Originally Posted by HarryT View Post
That won't display hyphens on the Kindle Voyage. It certainly doesn't use WebKit.
You're most likely wrong about eInk Kindles not using a Webkit based rendering engine, because when I applied the following style to a h3 header, it was rotated by minus 3 degrees on my PW2:

Code:
h3 {
    text-align: center;
    -webkit-transform: rotate(-3deg);
}
Therefore, it stands to reason that Kindles have a Webkit based rendering engine.
Can you please test the attached KindleGen generated .azw3 file on your Voyage?
Attached Thumbnails
Click image for larger version

Name:	KindlePW2.png
Views:	299
Size:	15.8 KB
ID:	143537   Click image for larger version

Name:	Kindlle4IOS.PNG
Views:	307
Size:	40.0 KB
ID:	143538  
Attached Files
File Type: epub hyph_test.epub (32.1 KB, 205 views)
File Type: azw3 hyph_test.azw3 (34.6 KB, 219 views)
File Type: zip hyph_test_AZK.zip (31.5 KB, 186 views)
Doitsu is offline   Reply With Quote
Old 11-07-2015, 09:45 AM   #195
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,547
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Doitsu View Post
Can you please test the attached KindleGen generated .azw3 file on your Voyage?
A rotated title, but no hyphens.
HarryT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Kindle format vs ePub format is like using a compiler vs winzip? Julius Caesar Workshop 1 09-01-2013 07:34 PM
iPhone Convert epub format to kindle for iPhone format. Is it possible? thecyberphotog Apple Devices 16 03-14-2013 01:04 AM
No 'epub' format shown in Plugboards Format dropdown list kakkalla Library Management 3 06-16-2012 04:23 AM
Ebook in PRC format will not convert to any other format Katelyn Calibre 0 10-01-2010 07:02 PM
Master Format for multi-format eBook Generation? cerement Workshop 43 04-01-2009 12:00 PM


All times are GMT -4. The time now is 07:27 AM.


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