03-18-2019, 06:39 AM | #16 |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
|
Success. And it sucks!
Sometimes I can't see the woods for the trees. I had another go at my kindle problem and lo and behold I can now isolate two distinct groups of devices: Voyage, DX and all other E-Inks/Paperwhites in one group and all the Fires in another -- all according to the Previewers 2.9 and 3.29.1 and my own old Fire.
And then RbnJrg has to barge in and remind me that Code:
box-sizing: border-box; box-sizing: inherit; @RbnJrg: The problem with the images has, as far as I can see, nothing to do with the images but is due to the bug the Voyage suffers from, as Hitch reported. The Code (and images) I'm using works everywhere else, except on the Voyage Preview. Back to the drawing board - but not today. Klaus The two new MQs I added to split the Kindles into two groups: Code:
@media amzn-mobi, amzn-kf8 and not all and (device-aspect-ratio:1/1) { /* "anything in here will work on e-inks" see github url above */ p.einkall2{display:block;} } @media amzn-kf8 and screen and (device-aspect-ratio:1/1) { /* "anything in here will work on Fires. Seriously." see github url above */ p.fireall2{display:block;} } |
03-18-2019, 08:39 AM | #17 |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
The issue is not so much specific devices, but the various file formats that different Kindle devices use. The four main ones are MOBI7, KF8/AZW3, KCR/AZK, and KFX. There is different e-book rendering software for each of these formats with minor variations between devices and firmware revisions.
Straying too far out of the mainstream of e-book coding will lead to problems in one or more of these formats, which you won't be aware of unless you test extensively. The end result will be bad reviews and kindle quality notices from Amazon. ---- Added: Media queries are not supported in KFX format (enhanced typesetting). They are evaluated during conversion from the source format and do not carry through to the device that displays the book. Last edited by jhowell; 03-18-2019 at 08:55 AM. |
Advert | |
|
03-18-2019, 12:28 PM | #18 | |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
|
Quote:
Yes, I've read somewhere that (paraphrased) "If you're trying to do something fancy on a Kindle, don't". I'm close to agreeing. And I fully understand that KFX is a one-way format (mostly anyway) and that "Enhanced Typesetting" is probably no more than a justification for switching to it. What I don't know is: do old devices, like the Voyage or DX, get ET in line with newer ones or are they stuck at whatever capability and bugginess they are at now? At the moment I'm thinking of getting a used Voyage. Any particular System Revision I should look out for if I want the device to match a large number of its siblings? thanks klaus |
|
03-18-2019, 01:24 PM | #19 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
AZK is not a real format. It's a testing/preview format, solely for the iOS devices. It has no purpose other than previewing iOS device appearance. KCR is a reader, not a format, in and of itself. The output files from KC are kpf, which result in KFX final files. The Voyage is not a KF7 device; it's a KF8, but has that image-display glitch. The DX is a bonafide KF7 device. NO, the older KF7s will never, afaik, have ET or KF8 or anything--I don't believe that they can. Amazon still supports them, unlike Apple and its devices/software, but they can't seem to upgrade them to match their newer brethren. It would be much, much easier on we of the bookmaking brigade if they could. Honestly, you can do a lot on a Kindle--but the coding that you were trying would be difficult to implement, even in ePUB format. I wouldn't bet actual money, but I'd be surprised if that worked on all the Nooks, for that matter. eBook HTML is not web html; it's a very specific subset, whether it's for ePUB or MOBI. Yes, MOBI has some additional problems, but all in, I'd rather have a retailer that supports what it sells, philosophically, than one that doesn't. Hitch |
|
03-18-2019, 02:51 PM | #20 | |||
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
At this point only KFX format is receiving enhancements and bug fixes. The older formats are all essentially frozen. Quote:
Quote:
Kindle books can also be read using apps on all of the major platforms and those are kept updated fairly regularly. Last edited by jhowell; 03-18-2019 at 02:53 PM. |
|||
Advert | |
|
03-18-2019, 08:36 PM | #21 | |
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Regards Rubén EDIT: Of course, I used a background color and borders; you can remove that. Last edited by RbnJrg; 03-18-2019 at 08:40 PM. |
|
03-19-2019, 01:39 AM | #22 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
and what question am I going to ask? And before anyone thinks I'm being pedantic for the sake of pedancy, as KFX does NOT support media queries--you see why I'm asking. oui? Hitch Last edited by Hitch; 03-19-2019 at 01:40 AM. Reason: ETA my comment about KFX... |
|
03-19-2019, 04:21 AM | #23 | |
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
In that case the OP won"t be able to get all. He will have to go for having "enhanced typesettings" or for having the things fixed for K7. Tables are not well handled in KFX, so a general solution won't be possible. My previous approximation works for .kf8/.azw3 (Kindle Voyage included) and .KFX. Of course, it doesn't work in .kf7; images are displayed one after the other but they don't look so bad. Maybe it can be something acceptable for the OP. EDIT: there is a general solution: to combine the two images in just one with Gimp or any other program. That will work for any device. No tables, no floating elements, no "fancy code" just a image inserted Last edited by RbnJrg; 03-19-2019 at 04:32 AM. |
|
03-19-2019, 08:29 AM | #24 | |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
However, some specific media queries are evaluated when KFX format is created. "@media amzn-mobi" CSS will be ignored and "@media amzn-kf8" CSS will be processed. (Note that in this case KF8 also includes KFX.) The is also a secret undocumented "@media amzn-et" that is processed only for KFX (enhanced typesetting) but not KF8 or MOBI. Last edited by jhowell; 03-19-2019 at 08:31 AM. |
|
03-19-2019, 08:39 AM | #25 | |
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
03-19-2019, 10:29 AM | #26 | |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
|
Last Question re my Kindle Problem:
How does one get egg off ones' face?
Seriously, all I forgot, and I've done this before, was to include Code:
display: table; Quote:
klaus |
|
03-19-2019, 12:16 PM | #27 | ||
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
|
||
03-21-2019, 03:39 PM | #28 |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
|
Hi Rubén
I found the time today to change my design draft code so the outer containers now are set to Code:
display:table As this DIV isn't needed for any other device or preview (both in 2.9 and 3.29.1) or any other target (Web, EPUB) I was wondering what gave you the idea to add this. Not sure I would have ever tried this as it works without the additional DIV everywhere else AFAIK. Still, as the Voyage problem has been bugging me for some time I'm pleased as punch now. Thanks again. As to the DX or any other KF7 devices: I'm not sure it's doable if they have different screen sizes (need to look into that), as you'd have to specify width and height in PX in the HTML directly. As it stands now, each image covers 100% of the page width if it's not an amzn-kf8 device. klaus |
03-21-2019, 04:55 PM | #29 | ||
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
|
||
03-22-2019, 01:26 AM | #30 | ||
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Hitch |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wishlists and Previews | moffattm | Kobo Reader | 3 | 05-04-2013 08:27 PM |
Worthless Book Previews | unaj41 | Kobo Reader | 7 | 09-09-2012 05:36 PM |
Book Previews | nogle | Kobo Reader | 7 | 07-09-2012 07:29 AM |
Free previews | tecweston | Kobo Reader | 6 | 04-06-2011 08:55 AM |
Video previews | GeoffC | General Discussions | 10 | 10-16-2010 08:50 AM |