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-07-2015, 11:20 PM   #196
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by HarryT View Post
That won't display hyphens on the Kindle Voyage. It certainly doesn't use WebKit.
Quote:
Originally Posted by Doitsu View Post
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?
Amazon does indeed use a Webkit-based KF8 rendering engine on E-Ink Kindles, at least last time anyone checked.
The gory details can be discussed in the Kindle Developer's Corner.
eschwartz is offline   Reply With Quote
Old 11-08-2015, 03:12 AM   #197
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 kovidgoyal View Post
@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
Kovid, I'm saying that hyphenation is turned OFF (except for hard hyphens) for paragraphs where I've set -webkit-hyphens to manual. So, as you say, that indicates there are no soft hyphens -- though I hadn't really considered that before as evidence.

I'm NOT saying that WE have to set -webkit-hyphens to auto to turn hyphenation on. Unless we've previously turned it off ourselves, we don't, because it's the default for KFX. But how and where Amazon is adding that CSS, I don't know. It could be in a stylesheet, or it could be a modification within Webkit itself.

Last edited by AaronShep; 11-08-2015 at 03:14 AM.
AaronShep is offline   Reply With Quote
Old 11-08-2015, 06:07 AM   #198
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 AaronShep View Post
Kovid, I'm saying that hyphenation is turned OFF (except for hard hyphens) for paragraphs where I've set -webkit-hyphens to manual. So, as you say, that indicates there are no soft hyphens -- though I hadn't really considered that before as evidence.
Must we put that instruction in every style (if we want no automagical hyphens)?
Notjohn is offline   Reply With Quote
Old 11-08-2015, 07:59 AM   #199
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,369
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Interesting, good to know. Although since I assume that your test is that you create an epub file send it to amazon and then test the resulting KFX file. In which case it is possible that kfxgen sees that instruction and decides to skip inserting soft hyphens while generating the KFX. Still, that seems rather unlikely so your evidence certainly makes it more probable that KFX does not use soft hyphens. For which I am grateful, in a technical sense, but saddened in a political one -- since it seems there is no remaining technical justification for KFX, making it more likely that it is just a walled garden play.
kovidgoyal is offline   Reply With Quote
Old 11-08-2015, 08:07 AM   #200
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 kovidgoyal View Post
For which I am grateful, in a technical sense, but saddened in a political one -- since it seems there is no remaining technical justification for KFX, making it more likely that it is just a walled garden play.
Do you not consider the delivery of image sizes customised for the resolution of the target device to be a valid technical justification?
HarryT is offline   Reply With Quote
Old 11-08-2015, 08:24 AM   #201
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,986
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by HarryT View Post
Do you not consider the delivery of image sizes customised for the resolution of the target device to be a valid technical justification?
Not when that can be done so easily with the existing formats, since each is already customised for the individual device it's delivered to.
pdurrant is offline   Reply With Quote
Old 11-08-2015, 08:50 AM   #202
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 pdurrant View Post
Not when that can be done so easily with the existing formats, since each is already customised for the individual device it's delivered to.
It's more logical to do as KFX does, though, by separating the images from the remainder of the book. That way there's a logical separation between the "fixed" and "device dependent" portions of the book, which makes a great deal of sense.
HarryT is offline   Reply With Quote
Old 11-08-2015, 09:09 AM   #203
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,986
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by HarryT View Post
It's more logical to do as KFX does, though, by separating the images from the remainder of the book. That way there's a logical separation between the "fixed" and "device dependent" portions of the book, which makes a great deal of sense.
Amazon already do that sometimes with the azw3/azw6 split. A new format wasn't necessary for that.
pdurrant is offline   Reply With Quote
Old 11-08-2015, 09:48 AM   #204
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 HarryT View Post
It's more logical to do as KFX does, though, by separating the images from the remainder of the book. That way there's a logical separation between the "fixed" and "device dependent" portions of the book, which makes a great deal of sense.
It is still not clear how much image customization by device is being done. I have only seen two variants, one grayscale and downrezed for e-ink and one full color and resolution for iOS apps and Fire tablets. And in all cases I have seen, comparing the same book between devices, all of the files that make up the KFX book are different sizes (and therefore have different content), not just the ones containing images. To me that eliminates the justification for splitting the images into separate files.

It is still not known whether the same book sent to a Voyage/PW3 would have different images from its PW2 counterpart. I wanted to test this, but no one was willing to help.
jhowell is offline   Reply With Quote
Old 11-08-2015, 05:09 PM   #205
Little.Egret
Wizard
Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.Little.Egret ought to be getting tired of karma fortunes by now.
 
Posts: 3,168
Karma: 37800000
Join Date: Jan 2010
Location: Walton-on-Thames, Surrey, England, UK
Device: Kindle Keyboard 3G, Kindle Fire 2, NOOK ST, Kindle HDX, Fire 7"
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.
But if the file type that the Amazon server delivers to a device can be AZ3, KF8, KFX depending on device type nevertheless a location number must still refer to the same point ?

How is this done ?
Little.Egret is offline   Reply With Quote
Old 11-08-2015, 05:30 PM   #206
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
I agree that there is no reason Amazon could not have had the different sized images in the existing KF8 format. I also agree that KFX is an attempt at yet another walled garden.
JSWolf is offline   Reply With Quote
Old 11-08-2015, 08:28 PM   #207
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 JSWolf View Post
I agree that there is no reason Amazon could not have had the different sized images in the existing KF8 format. I also agree that KFX is an attempt at yet another walled garden.
Not to be a Zon-pologist, but let's face it: we don't yet know enough about KFX to know what we're talking about. For all we know, we may be looking at the advent of more-sophisticated media queries, surrounding images and/or typography. We don't KNOW. Therefore, we don't know if we're dealing with more "walled garden," or something that most of us actually want or that some of you have been asking for.

Just pointing out what I think is the obvious.

Hitch
Hitch is offline   Reply With Quote
Old 11-09-2015, 12:41 AM   #208
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 Notjohn View Post
Must we put that instruction in every style (if we want no automagical hyphens)?
Notjohn, no, I've done the opposite. I put the instruction for no hyphens in the body tag, so that it applies to ALL styles. Then I turn hyphens back on for the few styles where I do want them. Those instructions go in the embedded CSS for each style in the document header or in the stylesheet. Since these instructions are more specific, they override the body tag instruction, even though they're read earlier.

Generally, I think hyphenation is a good idea for general text, especially when it's read in narrow columns like on a phone. But I don't want it for headings, tables of contents, verse, or a host of other specialized styles. The way I do it, it's off by default.
AaronShep is offline   Reply With Quote
Old 11-09-2015, 12:53 AM   #209
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 kovidgoyal View Post
Interesting, good to know. Although since I assume that your test is that you create an epub file send it to amazon and then test the resulting KFX file. In which case it is possible that kfxgen sees that instruction and decides to skip inserting soft hyphens while generating the KFX. Still, that seems rather unlikely so your evidence certainly makes it more probable that KFX does not use soft hyphens. For which I am grateful, in a technical sense, but saddened in a political one -- since it seems there is no remaining technical justification for KFX, making it more likely that it is just a walled garden play.
Kovid, my test is to submit new HTML files for books that are already listed with Enhanced Typesetting enabled. These files are immediately processed as KFX, no waiting. The next day, I ask Amazon to replace my purchased copy with the latest version, and that shows me the new file with the latest KFX processing. It's cumbersome, but it allows at least limited testing.

I think the reason for KFX is to be able to add and modify "secret sauce" ingredients and make them hard for competitors to copy -- though, so far, they've made a royal mess of it. I do like the new JPEG XR format. I have no doubt there are more changes coming, and they're just setting up the groundwork. And I also know they're working hard to get the bugs out.
AaronShep is offline   Reply With Quote
Old 11-09-2015, 07:25 AM   #210
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 Hitch View Post
Not to be a Zon-pologist, but let's face it: we don't yet know enough about KFX to know what we're talking about. For all we know, we may be looking at the advent of more-sophisticated media queries, surrounding images and/or typography. We don't KNOW. Therefore, we don't know if we're dealing with more "walled garden," or something that most of us actually want or that some of you have been asking for.

Just pointing out what I think is the obvious.

Hitch
If this was true, there's no reason it could not have been added the KF8. True, Amazon may be doing things we don't know about, but what we do know about could be done with KF8 instead of a new format.

Until we get more information saying that KF8 cannot do what Amazon is trying to do, then I'm still of the mind that KFX is an attempt to keep people living in a new walled garden.
JSWolf 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 02:24 AM.


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