Posted on

EPUB: Server-side pagination

EPUB file format has been widely adopted as a format for digital books. EPUB specification is very comprehensive, it defines:

  • EPUB Container, XHTML files in a zip container.
  • EPUB Package, a way to relate components of an EPUB to each other. This may include various metadata, index, table of contents and spine information.
  • EPUB Canonical Fragment Identifier (CFI), a mechanism for describing a location within an EPUB.
  • Media Overlays, which allow to synchronize audio tracks with text content in a book.

and various other technical standards.  The latest spec is EPUB 3.1.

There are two omissions however, namely searching and pagination. We will describe searching in a future article and tackle pagination today.

Continue reading EPUB: Server-side pagination