07-24-2023, 07:13 AM | #16 | |
frumious Bandersnatch
Posts: 7,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
"If specifying line-height". You should not do that, so the rest can be ignored. "extra spacing between text blocks and any padding around images should be a multiple of the specified line-height". This is easy to comply with. You set line-height to, say, 1.2, and then set extra padding to 0.6... oh, wait, they mean integer multiple. Well, set the padding to 1.2 or 2.4 "to keep text aligned across the spine". Nonsense. This won't happen (except maybe in some very specific broken applications). It might work with some vanilla code, but first, line-height works weirdly (and you should not specify it, and the user can change it), elements with different font size will alter line spacing, then they don't say what's the image size, or what to do with margins. |
|
07-24-2023, 07:50 AM | #17 | |
the rook, bossing Never.
Posts: 11,675
Karma: 87654321
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Also we use Smashwords/D2D to publish on Apple, Kobo and Barnes & Noble. |
|
07-24-2023, 08:34 AM | #18 |
Grand Sorcerer
Posts: 6,568
Karma: 84812983
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
According to the change log that requirement was added to the Assets Guide in version 4.8 dated December 8, 2011. I suspect that it made more sense then given the simpler e-book formatting that was common at that time.
Or perhaps it was added by someone with a print book background and a poor understanding of HTML/CSS. Last edited by jhowell; 07-24-2023 at 08:58 AM. |
07-24-2023, 03:17 PM | #19 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
If you have entire pages of pure text + an occasional heading—like a Fiction book—it's a little easier. But deal with Non-Fiction, and trying to enforce grid-based layouts... you'll be pulling your hair out in no time! :P Quote:
Even carryovers from a lot of their InDesign->iBooks / physical book workflows. - - - And... bleedthrough is one of the big reasons "grid-based" is/was pushed in certain books. With thin paper (or certain lighting conditions), you could SEE THROUGH the physical pages. So, you might flip open a book and see:
but "the back" of each page:
you might see page 9/12's "grayish/see-through text" overlapping in-between lines on your current page—this may have gotten distracting to some people. Aligning all text on the grid would mitigate some of that problem... But that issue DOES NOT EXIST in ebooks. - - - Complete Side Note: Another interesting "grid-based" rabbit hole I've been researching recently is CJK typography. In CJK text, aligning on a grid becomes much more important, and a heck of a lot more complicated than the simple Western languages. If you want some technical details, see the fantastic images/discussion in:
Auto-Translation is another reason why I don't like messing too much with overly-complicated book CSS. If a reader Auto-Translated from English->Japanese, and you implemented all this complicated (and "Western-focused" CSS layouts)... it would interfere with the translated text! In physical books, you don't have to worry about readers wildly changing the underlying formulas. But in ebooks, users can be interacting and flipping all sorts of bells and whistles, completely changing the look of your ebook. (And, as Hitch has previously explained many times—most users ARE NOT "using the Publisher defaults" on their devices.) For more info on that, also see my recent:
Last edited by Tex2002ans; 07-24-2023 at 03:33 PM. |
||
07-25-2023, 03:08 AM | #20 |
frumious Bandersnatch
Posts: 7,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
08-06-2023, 06:34 AM | #21 |
Guru
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
When laying out a book for print, you do this by making sure that all elements are a whole number of the same unit high. So if the body text is 11 pt with 14pt leading, then a heading may be 16 pts on 28 pt leading, with 14 points top margin. I.e., for this book, everthing is a multiple of 14 points high.
But ebooks, the reader can override or ignore much of your formatting, so it's a lost cause, and few read books two-up anyway. |
08-06-2023, 08:09 AM | #22 |
the rook, bossing Never.
Posts: 11,675
Karma: 87654321
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
No, you basically do it by Register = True (in Wordprocessor), though obviously the spacing of some styles will be unexpectedly wider depending on the font and margins and line spacing.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two-pages image (facing pages) / How to? | 42piratas | ePub | 24 | 11-10-2022 02:01 PM |
optional (double pages, facing pages) | kelly33 | Kindle Formats | 0 | 11-08-2012 01:02 AM |
Right Aligning Wrapped Text Only | ghostyjack | ePub | 7 | 11-04-2010 08:54 AM |
Correctly Aligning Text Within a Table | ghostyjack | ePub | 3 | 07-28-2010 07:18 AM |
Turning Scanned PDFs with facing pages into single pages | jimteacher | Workshop | 5 | 11-09-2009 02:59 PM |