Electronic Publication (EPUB)


Electronic Publication (EPUB, or ePUB) is an open ebook (also known as e-reader)-oriented document encoding format, which is also compatible with wide set of desktop and mobile software and all major e-readers such as Amazon Kindle and Barnes and Noble’s Nook.

EPUB’s file format works similarly to Microsoft Word in the sense that it consists of a zip file which contains encodes the text elements as XML and includes embedded resources as separate files. The EPUB specification (latest major version is 3) is maintained by the W3C.

Example

The above file represents a snippet taken from EPUB/text/ch001.xhmtl, assuming the below directory structure:

EPUB/text
EPUB/text/ch001.xhtml
EPUB/text/title_page.xhtml
EPUB/nav.xhtml
EPUB/styles
EPUB/styles/stylesheet1.css
EPUB/toc.ncx
EPUB/content.opf
META-INF
META-INF/container.xml
META-INF/com.apple.ibooks.display-options.xml
mimetype

Unless the documentation is solely produced for e-reading use cases, EPUB is considered as a render format.

The example has been generated using Pandoc from the markdown version.


© 2022-2024 Ernesto Garbarino | Contact me at ernesto@garba.org