01-22-2021, 06:10 PM | #31 | |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
|
|
01-22-2021, 08:50 PM | #32 | |
Bookmaker & Cat Slave
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
You can blame that right on Apple. When iBooks (now known as Books, stupidest name for an eBook-reading app, ever) first debuted, alas and alack, it could not size images. The only way to size them was to put them inside a container and size the container. Y'all must remember that from "ePUB: Straight to the Point," by the dear Liz Castro, who seems to have packed up her eBookery bag and moved along? Yupperdoodle. Same reason that we all see, and are plagued by, fixed-layout ePUBs exported from INDD that only work on Books, f/k/a iBooks. (Oh, okay, fine, they also work on Kobos, as KoboBooks mooched, cough, er, homaged Apple's FXL coding.) Hitch |
|
Advert | |
|
01-23-2021, 09:11 AM | #33 | |
the rook, bossing Never.
Posts: 10,786
Karma: 83992591
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Also use "Tablet" on Page settings when doing docx to epub2 conversion in Calibre, assuming the wordprocessor embedded images make sense. Then you can check the CSS afterwards. Use Sigil if doing a more customised ebook creation. We just do simple stuff so mostly docx to epub2 just works. Sometimes it doesn't quite. InDesign was really created for paper print publication via PDF, so it's not the best way to make clean epub2. And all Amazon eink, ereader apps and Fire work most predictably with an upload of a nice clean simple epub2 to KDP. That passes Check Book and Epub Check in Calibre, that the system TOC (NCX) works OK on an epub ereader or a proper epub app or Calibre Viewer and all internal links and external links go to expected places. Not all physical ereaders actually support even internal links, but most do. We also create a text contents page in the source document using Anchors/Bookmarks at the start of the destinations and simple internal links on the page. This is in addition to the conversion generated TOC / NCX that the reader or app uses from a menu. Also any heading appearance not meant to be in the TOC/NCX is given a body text level rather than a level. The Wordprocessor paragraph styles should map 1:1 to class="something" in the HTML and then a definition in the CSS. So never put anything in a style property that won't make sense to an ebook CSS. Last edited by Quoth; 01-23-2021 at 09:36 AM. |
|
01-23-2021, 11:26 AM | #34 |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Speaking of InDesign. I've seen some pretty bad code from eBooks made from ID.
Class names that make no sense. Numbers like 0.00138, too many excess divs where they do not need to be as you can do what's being done with proper CSS. And other rubbish. If you do use ID to make an eBook, you really really should take the eBook and clean up the code. That goes for anytime you don't hand craft the code. |
01-24-2021, 08:43 AM | #35 |
Member
Posts: 11
Karma: 10
Join Date: Jan 2021
Device: Paperwhite
|
Yes, thank you, Philipp!
I am sorry, but I am still not quite there yet (but way further :-)) A) Why couldn't I set the width of a portrait image to 100 % as well? (And why is height a problem if given in %?) B) My plan: Making a zip with all images, the css file and all the html files (one html file per image) ... BUT ... Amazon states that ZIPS are only shown with the Kindle App ... is that to be ignored just like MOBI vs. EPUB? THX knightrider |
Advert | |
|
01-24-2021, 08:49 AM | #36 |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Why are you trying to do things that won't work or only work on a tiny fraction of devices?
|
01-24-2021, 09:01 AM | #37 | |
Member
Posts: 11
Karma: 10
Join Date: Jan 2021
Device: Paperwhite
|
Quote:
Like stated I am wondering whether the statement of Amazon can be ignored - just like the one (supposedly) regarding (not) EPUB compatibilty with E-ink readers. I thought it is the cleaner option to "code" in a HTML editor and then putting it in a ZIP-file instead of working in an EPUB in Calibre and editing the html files there or converting html afterwards. But that would work too. Aside from that I thought I am on exactly the track to do what works on my most devices ... -code it myself -flowable content What am I missing? |
|
01-24-2021, 09:06 AM | #38 | |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
B) sorry, I am not familiar with that workflow; though it sounds rather close to just making an EPUB, so I would just do that. Last edited by phillipgessert; 01-24-2021 at 09:11 AM. |
|
01-24-2021, 09:18 AM | #39 |
the rook, bossing Never.
Posts: 10,786
Karma: 83992591
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Ah, portrait images. Forgot about those.
Portrait, set height as a percent and landscape set width. Only set one or the other. If there are not too many images you can use an image size suitable for an 8" or 10" 300 dpi device and it will then look better than a small image only suitable for a 4" screen expanded. |
01-24-2021, 09:21 AM | #40 |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What is the best way to code for a screen that's 4:3 and a screen that's 16:9 with the same code so the images are aspect ratio correct?
|
01-24-2021, 11:01 AM | #41 |
the rook, bossing Never.
Posts: 10,786
Karma: 83992591
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Only put width or height depending if a landscape or portrait image. I think the other property can be either auto or left out, I forget.
Beware of containing scope properties that are set when leaving out a property setting. I've also seen 1:1, 5:4, 2:1, 16:10 and 3:1 screens. |
01-24-2021, 11:31 AM | #42 | |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
01-24-2021, 11:58 AM | #43 | |
Bookmaker & Cat Slave
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
@knightrider247: you don't set both to 100%, because then, just as you have already seen, the image will distort, trying to fit the image 100% in both directions, that's why. Hitch |
|
01-24-2021, 12:09 PM | #44 |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
auto works is a car service garage.
|
01-24-2021, 01:09 PM | #45 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
The other problem with height: 100%, unless I’m misremembering (likely), is that while width % first targets width of the parent container, and failing that it targets screen width; height % also first targets the parent, but failing that it does nothing at all. So in order to use height 100%, you’d first have to attach a height value to a parent element, and that doesn’t seem to offer any benefits compared to just picking an arbitrary width. At least not in this case where high compatibility is desired.
Last edited by phillipgessert; 01-24-2021 at 01:17 PM. |
Tags |
format, kdp, photobook |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature Request:Add two different files with the same file format as one book | hola!claude | Library Management | 4 | 11-16-2014 04:00 AM |
Professional Quality Personal Documents: KDP and/or Calibre? | RMOP | Editor | 7 | 04-01-2014 10:13 AM |
Complete Noob Feature Question | JoeyS | ePub | 2 | 02-20-2012 05:58 AM |
Cool photo-mosaic feature at LibraryThing! | nekokami | Lounge | 3 | 06-21-2009 10:26 AM |
Drastic pdf drop in quality of scanned book after using acrobat optimize feature | harryE123 | 5 | 12-31-2008 10:40 PM |