Skip to main content
irama57948095
Inspiring
July 23, 2024
Answered

Two questions about InDesign ebooks

  • July 23, 2024
  • 1 reply
  • 1169 views

Hi,

 

1) I've been shown an ebook where the chapters drop ie have a space above the heading. I've never managed to do this. Does anyone know how to do it? Mine just float to the top.

 

2) Same person has told me that the chapters in my ebook do not start on separate pages in Adobe Digital Editions but the above ebook does. Is there something else ADE needs to do this? The above ebook does apparently. Kindle Previewer and Apple Books are fine.

 

Thanks.

This topic has been closed for replies.
Correct answer James Gifford—NitroPress

Hi James, so I've made the drop much larger (Im doing it via an invisible rule) clicked Split document and based on Paragraph style Export tags (which I've clicked on in Paragraph styles) and they still aren't dropping down. Any ideas as to what I'm doing wrong? Thanks.


I wasn't clear enough — let's start with the understanding that space-above works differently in InDesign (layout, print and PDF), EPUB and Kindle. (There's some overlap between the e-book formats, but enough difference to need caution.)

 

What that means is that what works in ID — specifically, the rule-above workaround — doesn't work in EPUB export. The line just disappears or appears as a rule right across the top of the text. (Even more specifically, that rule-above trick is 100% unique to InDesign, and I really wish the developers would add a more standard method, such as a checkbox saying "respect space above at page top." But never mind that now.)

 

For spacing above in EPUB and Kindle, you have to (1) specify actual spacing above — which I said in my prior post, but ambiguously — and, quite often, (2) use the document splitting technique as well. When I create dual-format documents intended for print, Kindle and sometimes EPUB, I use all of the methods simultaneously — rule-above to get the spacing in ID/print, space above defined in ID to get a start on e-book spacing, CSS spacing and padding rules to enforce the spacing on all EPUB reader and Kindle, and then doc splitting to enforce it for EPUB. No, the settings don't collide with each other, so you don't have to have multiple source versions for each platform, not on this point at least.

 

So, you're amost there. Use—

  • The rule-above method to set spacing in your InDesign layout, for visual purposes and print or PDF export. Apply a page break as well; all of the processes are different if you want space above mid-level heads that may not always break to a new page.
  • Space above definition in ID, which will be ignored at page tops there but will export to EPUB at that 2:1 ratio.
  • Document splitting on those headings to force the spacing to be honored. (Not needed for Kindle EPUB.)

 

There's a fourth level of using CSS style definitions, in which adjusting the spacing and adding a padding definition can allow fine-tuning of the e-book layout, but you probably don't need that. (Technical aside: ID does not export padding, so you have to add it for certain style adjustments.)

 

BTW, the reason doc splitting works is this: Since EPUB pages are just HTML, there's only one real "page top" at the very beginning, and you'll find that most spacing works fine there. But further down, since there is no page top, most EPUB readers ignore the space above after a page break. By splitting the document, you're creating a new internal HTML file, with its own hard page top, and thus the spacing works.

 

Yes, this can mean the EPUB has 20 or 50 internal content files instead of one, which is usually no big deal but is best to avoid if you don't need this workaround. That is, don't use file splitting unless you have to.

 

Does that make (more) sense? 🙂

1 reply

James Gifford—NitroPress
Legend
July 23, 2024

First, don't use ADE. For anything. It's a broken, abandoned project by Adobe that is probably one of the worst EPUB viewers available. For generic EPUB viewing and proofing, use Calibre Reader; Kindle Previewer is good but best if you're headed to Kindle publication anyway. Apple's reader is good but has many quirks that make it unsuitable for general proofing and evaluation — but again, if you're going to sell to the iTunes/Apple e-book market, it's essential to tweak your publication to suit its preferences.

 

But don't worry about how your book appears in ADE. At all.

 

If your chapter/page breaks are showing correctly in Calibre, KP, Apple etc. then your export is as good as it gets in that respect.

 

(In case it's not clear from context, EPUB viewers vary widely in how they interpret books. Calibre is the most "vanilla" and best for general proofing and layout checking, but you have to accept that readers may use any of a dozen viewers and see something quite different, even "broken." It's just the nature of the game without any strong standardization of the viewers.)

irama57948095
Inspiring
July 23, 2024

Thanks James. I was recommending it to people who couldn't automatically open it on their computers. Do you know if android computer users can use anything else to check? I find Calibre difficult to use but maybe I need to revisit it. Thanks again.

James Gifford—NitroPress
Legend
July 23, 2024

I don't know of any platform that has an integral EPUB reader (possibly Mac, through all the iTunes integration). Even most browsers don't handle it by default. You have to download a reader for every platform.

 

The Calibre reader is a sub-tool of the whole Calibre set, which I agree is something of a "loose pile of parts" ecosystem. I don't recommend any of its other tools, including the editor, but that's because I don't espouse EPUB editing and don't have a mad need to convert every e-book to every format.

 

Thorium Reader is in theory the best vanilla, standards-based reader, but it has a persistent font-sizing bug that the development team can't seem to eliminate. (I have been told they've hooked up with the original developer to nail the problem.)

 

But all in all, Calibre Reader is a simple, reliable, fairly standardized tool. Just ignore the other components. 🙂