Questions tagged [epub]

A standard format for ebooks defined by the International Digital Publishing Forum (IDPF)

enter image description here

epub is a standard format for ebools defined by the International Digital Publishing Forum (IDPF)

The current standard is Epub 3.0 defined at http://idpf.org/epub/30 effective October 11, 2011.

The format defines the structure of the file and the items and their structure that must be in the file.

The basic structure is a zip file, this includes the book to be read which is a set of XHTML files and other resources. There is a package description which includes

Publication metadata — mechanisms for including and/or referencing metadata applicable to the entire Publication and particular resources within it.

A Publication manifest — identifies (via IRI) and describes (via MIME media type) the set of resources that collectively compose the Publication.

A spine — an ordered sequence of ID references to top-level resources in the manifest from which all other resources in the set can be reached or utilized. The spine defines the default reading order of the Publication.

Fallback chains — an optional means for Publications to define an ordered list of top-level resources that can be considered content equivalents that a Reading System can choose between for rendering.

Bindings — an optional means of associating script-based implementations with custom media types.

411 questions
33
votes
2 answers

What are the differences between EPUB2 and EPUB3?

What are the differences between EPUB2 and EPUB3? Which is most popular?
K7AAY
  • 541
  • 1
  • 4
  • 7
14
votes
2 answers

Without ebook creation software, can I fix formatting issues on an epub?

I have an epub copy of a book where all the lines are broken up wrong, and it ends up looking like really bad free form poetry. This makes the book really hard to read. Is there a way for me to fix this sort of problem on my own, without having some…
user151
10
votes
1 answer

Epub OPF 'spine' element: how to exclude an html file from linear reading order, while allowing it to be accessed from a link

I converted an html source to epub with Calibre. Original 'html' source has got an individual html file for each footnote. Footnotes' files are reported in element of my content.opf, so they show up and can be navigated at the end of the…
mmj
  • 263
  • 2
  • 7
9
votes
3 answers

Is epub 3 meant to replace epub 2?

Will EPUB 2 remain an active standard now that EPUB 3 is out? More specifically: Should all new EPUB development use EPUB 3 regardless of the target platform (meaning e-ink along with tablet)? Are current e-ink devices such as the Sony PRS-*,…
chaskes
  • 397
  • 3
  • 9
6
votes
1 answer

What are epub JSON links?

I've spotted that there are some links within the epub using a format in line with JSON the href look like this {"unit": "U01", "page":…
5
votes
1 answer

Epub conversion for a book in Hebrew

What is the best practice for converting an Indesign file in Hebrew to Epub format? I have produced two epubs in Ebglish in the past, but apparently in Hebrew it messes the whole layout up and some of the text is missing...
user12465
  • 51
  • 2
5
votes
1 answer

EPUB Page number values

According to the epub spec a page number can be defined as:

23

And in the page-list:
Morne
  • 223
  • 1
  • 7
5
votes
2 answers

how to properly declare metadata in epub3

couple questions about metadata in epub3: is the namespaced opf attribute (opf:file-as="", for example) deprecated? if so, does anyone know why? given that it this format is deprecated, what is the correct format for including attributes in the opf…
mzmm56
  • 173
  • 1
  • 6
5
votes
1 answer

What files to include in the toc.ncx

I learned to format epubs working from samples that I opened up in the Oxygen XML editor ... as well as from the Elizabeth Castro and Paul Salvette books. Both Castro and Salvette say that the toc.ncx should start with the cover, title page,…
Zora
  • 455
  • 3
  • 9
4
votes
5 answers

how to create hypertext local to an EPUB document?

Trying to explain the title: I am creating an EPUB document which is a programming course. In the document I want to refer to texts describing labs: these are not in the main flow of the main document: you can click if you want to read the labs (or…
bear
  • 51
  • 2
4
votes
2 answers

CSS: display: none - Is it supported by all devices?

Does anyone here know if the CSS property display: none is supported by all ereaders? Let me explain why I'm asking... I'm turning a 500-page book that's in the public domain into an ebook. The index is 40 pages of fine print. Now that I've finished…
WordBear
  • 647
  • 5
  • 12
4
votes
2 answers

Is it possible to create a sidebar in a reflowable EPUB3?

Is there a way to create a responsive sidebar in EPUB3, for example there would be a sidebar in tablet view but if the EPUB was viewed on a mobile it would become one column?
Paul
  • 41
  • 1
3
votes
0 answers

Can epubs include input fields and enough javascript to allow measurement unit conversion?

I'd like to compile culinary recipes into epub format, one recipe per ebook. It would be good if instead of hard-coding ingredient amounts, the user could simply enter the number of people they're cooking for, and the recipe would adjust based on…
John O
  • 151
  • 5
3
votes
1 answer

Epub 2.0 vs 3.0

This might be judged more of a discussion than a question that can be answered, but bear with me. I began my epub journey with a series of InDesign tutorials that instructed me to choose 3.0 as the default setting. I quickly gave up on InDesign and…
WordBear
  • 647
  • 5
  • 12
3
votes
1 answer

Breaks and White Space in Epubs

I created an epub framework in InDesign, exported it as a book, then opened it with BBEdit so I could import my html files. It's working great, except that break tags trigger errors. I got another error message for the entity nbsp. (I'm previewing…
WordBear
  • 647
  • 5
  • 12
1
2 3 4