Skip to main content
Inspiring
July 12, 2024
質問

keeping page breaks in an ePub for poetry

  • July 12, 2024
  • 返信数 1.
  • 811 ビュー

I'm designing a short book of poems (actually one long poem with 75 stanzas.)

 

I've done an ePub before for a novel but I need to keep each stanza to its own page resembling the paperback version. I don't think Amazon allows for static ePubs so it has to be exported as reflowable.

 

Is there a way to maintain the stanza breaks? And also the wide margins?

 

Thanks!

Jane

このトピックへの返信は締め切られました。

返信数 1

James Gifford—NitroPress
Legend
July 12, 2024

KDP allows FXL EPUBs, but put shortly, it's a format that should never be used for anything, especially not text-based books. So you're right that reflowable EPUB uploaded to Kindle is the right path.

 

Unlike print layout, where you can use sticks and glue and paper clips and whatever to stick text and elements all over the page, e-books require a meticulous structure for a successful export. So you will have to format your little book using rigid Paragraph Styles (as well as keep it in a single text flow, but that's likely not a problem here.)

 

If you have odd line arrangements, the only way to transfer them to EPUB/Kindle is to create a style for each line type, and apply it. I'd guess you'll need at least three or four "body" styles, something like —

  • A first line, indented as you prefer, with space above as you prefer.
  • A body line with normal indent.
  • A body line with different indent.
  • (Repeat as needed, depending on how elaborate your stanza structure is.)
  • A last line, which may or may not have any special characteristics from a "body" line, but with spacing below as needed.

 

In general, spacing above is preferred as it will disappear at the tops of virtual pages.

 

Each of those styles should have the Keep Options carefully set to try and keep stanzas together; this can be tweaked by writing some CSS code for export but that probably won't be necessary.

 

It is entirely possible to do this from one ID source file, but it gets into some slightly advanced techniques. Would be a good learning project for such "dual format" layout, though. I'd consider starting afresh with your print layout, converted to the multiple-style format, and then doing the conversion to EPUB at the export stage, so you have one and only one source document to manage.

 

Let me know if any of that needs further explanation. But you can't get away with things like soft paragraph breaks, tabs (don't export), multiple spaces, etc. Everything has to be completely managed by that line's style.

 

Oh, and do NOT use the trick of breaking content into multiple text boxes, as to position a title or the like. Bad practice in every way, and fatal to successful EPUB export. One continuous flow, completely managed by styles.

janepell作成者
Inspiring
July 12, 2024

I did a test, and under "General" in the settings, I selected the paragraph style in the dropdown menu under "Split Document" that has the Keep Options applied.

 

That worked! However, I have pretty generous margins and in the epub version, the text is crammed too close to the edge.

James Gifford—NitroPress
Legend
July 12, 2024

You should not need to use splitting for page breaks but it's one workable technique.

 

Left-margins spacing should be honored in the EPUB export; keep in mind that it will be about half the width of what you set in InDesign (the conversion is roughly 72 points == 1 inch in layout to 1 inch of display == 144 pixels — meaning an inch in layout becomes a half inch in display).

 

Top spacing can be a little frustrating in EPUB/Kindle export but if you want space between the virtual page top and the stanza number/title, there are ways to get it in there. Splitting is the core of one basic method.

 

Note that reflowable export don't care nothin' about layout margins, for the most part. If you've laid out your pages with wide margins to bring the text to the center of the page, you might want to reformat with more standard print margins (1 inch inside, half inch top-bottom-outer) and use left-spacing on the styles instead. That will export more sensibly.

 

By the way, don't export fonts. It's possible but a monstrous hassle for EPUB, multiplied in going to Kindle.