2.1 Advanced InDesign-to-EPUB

Making Ebooks with InDesign: Module 2, Step 1

  • Subject(s):

    InDesign to EPUB

  • Resource Type(s):

    Step-by-Step

  • Audience:

    Technical

Suggested Prerequisite

Before reading this, you might want to read:

Building a Pagelist with PageStaker

A pagelist is a fundamental piece of the accessibility puzzle when it comes to ebooks. It is a print corollary list. Just as it sounds, it is a list of all the pages in the book. And it can be an extra level of navigation for your book. 

Screenshot from Adobe Digital Editions showing the rolled-down pagelist in the navigation.

This is a book opened in Adobe Digital Editions. Along the side, there are three levels of navigation — the table of contents, the Landmarks, and the “Pagelist.” A pagelist is literally a print corollary page list. When I click on page 21, for example, the reading system will jump to the start of page 21. A variety of readers using different formats can literally be on the same page. This is particularly important in an educational context, but also for book clubs. And it is extremely important for the print-disabled reading experience because it’s another nice level of navigation. 

There is a script in your assets called PageStaker. When moved directly into the scripts folder, it will be active for InDesign users.

Check the suggested prerequisite link above to download all assets for the course. To download the PageStaker script, click the download button below:

Screenshot from the finder of a Mac showing the applications folder, the InDesign folder, the scripts panel, and where the PageStaker script lives, circled in red.

From within InDesign, open the scripts palette, and double-click PageStaker.jsx

Showing how to get to the scripts panel via Window — Utilities — Scripts.

Highlighting the orange caret at the start of the chapter title in a red circle. The scripts panel is open and the PageStaker.jsx script is highlighted.

An orange caret now appears at each the start of a page break. That caret is connected to this character style called com.rorohiko.pagestaker.style. Rorohiko is the name of the company that developed the script. The style is .1pt with a strikethrough — so small enough not to cause any reflow, but with an actionable style sheet onto which the correct code can be layered in the ebook.

The same screenshot as above but the character styles palette is now open with the com.rorohiko.pagestaker.style style.

It’s actually a piece of Conditional Text. When activated in the Conditional Text palette, it becomes live in the file and the orange caret disappears.

The conditional text palette is opened over the page, as well as the scripts panel. The “stakedPageNumbers” conditional text is toggled on and circled in red.

When ready to export this to EPUB, be sure to toggle on the conditional text by activating the eyeball, and the export will have those page numbers in the text right at the spot of the page break. We will use that foundation to build a page list later on.

Next Steps

1

Module 2, Step 2

2.2 Cleaning up Styles

Making Ebooks with InDesign: Module 2, Step 2

Subject(s): InDesign to EPUB
Resource Type(s): Step-by-Step
Audience:
Technical
2

Module 2, Step 3

2.3 Index Hyperlinking

Making Ebooks with InDesign: Module 2, Step 3

Subject(s): InDesign to EPUB
Resource Type(s): Step-by-Step
Audience:
Technical
3

Module 2, Step 4

2.4 Creating a Long Description

Making Ebooks with InDesign: Module 2, Step 4

Subject(s): InDesign to EPUB
Resource Type(s): Step-by-Step
Audience:
Technical
4

Module 2, Step 5

2.5 Object Styles

Making Ebooks with InDesign: Module 2, Step 5

Subject(s): InDesign to EPUB
Resource Type(s): Step-by-Step
Audience:
Technical
5

Module 2, Step 6

2.6 Edit All Export Tags

Making Ebooks with InDesign: Module 2, Step 6

Subject(s): InDesign to EPUB
Resource Type(s): Step-by-Step
Audience:
Technical
6

Module 2, Step 7

2.7 Table Styles

Making Ebooks with InDesign: Module 2, Step 7

Subject(s): InDesign to EPUB
Resource Type(s): Step-by-Step
Audience:
Technical

Want to discuss this resource?