Questions tagged [epub3]

EPUB 3 is a third version free and open e-book standard by the International Digital Publishing Forum (IDPF).

Some useful learning resources, in no particular order:

EPUB 3 COMMUNITY GROUP
epub samples on GitHub
IDPF
Esse-EP
IBM DevelopersWork
Liz Castro's blog
Readium by IDPF epub check by IDPF

124 questions
19
votes
3 answers

Share data across e-book pages

I want to have a quiz at the end of a chapter in my fixed layout epub3 e-book. This quiz will stretch across a number of pages and will be multiple choice in nature. Each question will consist of the question itself and four options, each with a…
Baz
  • 10,775
  • 30
  • 121
  • 236
8
votes
2 answers

How to debug scripted ePub3 in iBooks?

I have an ePub3 book involving scripting which works fine with Readium, but only partially in iBooks. My guess is that the JavaScript is erroring out at some point (although as a standard web app the exact same code works fine in Safari). Any…
user663031
6
votes
1 answer

unzipping ePub file doesn't work

I am developping an app to decompress an .epub file into SDCARD in Android. I already read the Can't Unzip EPub File TOPIC. IT WORKED FOR .zip files but not for .epub files. Can somone tell me where is the problem ? here is the exception log: 03-21…
5
votes
1 answer

how to create a epub annotation with save option within the Epub

I have developed an web-based e pub reader, I want to add a commenting feature to that like adobe PDF reader commenting feature, so that the comments should save within the e pub if I will open that e pub in other e pub reader I could see the…
Mob_App_Dev
  • 121
  • 1
  • 2
  • 9
4
votes
1 answer

Local Storage is not shared between pages

I have an epub3 book with 2 pages as well as a Table of Contents Page. I am viewing this book in Apple's Books, their inbuilt epub3 reader, on Mac OSX. The two pages appear side by side. The first page is as follows:
Baz
  • 10,775
  • 30
  • 121
  • 236
4
votes
0 answers

E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)

I'm a debutant in Android and I'm getting this error E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY) while debugging my app. I'm trying to read an .epub3 file from assets with Webview, but I get a blank page. Note: I'm using two…
Hà Nou
  • 41
  • 3
4
votes
1 answer

UIWebView clipped for Arabic content on iOS 10.3

I am facing a problem with the latest iOS version (10.3) concerning arabic content epub loaded on UIWebView. The text gets clipped on the left side as shown by the screenshot. The same problem is faced on iBooks as I try to load the file on…
coder
  • 3,982
  • 2
  • 16
  • 38
4
votes
1 answer

How to remove epub table of contents link to title page created by pandoc

I'm playing around with pandoc as a way to create epub books. It automatically creates a table of contents by detecting all H1 tags in the book. This works well except that every epub has a TOC link to the title page, something I don't need. How do…
bearaman
  • 991
  • 6
  • 22
  • 39
4
votes
1 answer

Is targeting Kindle app on ipad possible with css media queries?

I am currently experiencing the nightmare that is called Kindle app for ipad. I am on ipad 1 Version 3.9.2 Kindle's support and documentation is abominable. Here are my questions: 1)on the ipad 1, can you confirm that the app does NOT support…
idiotprogrammer
  • 371
  • 1
  • 2
  • 9
3
votes
0 answers

How to create Content MathML for screen-reader accuracy (WCAG 2.0 compliance)

I work in publishing, and I am trying to use MathML to display math in XML-based EPUB 3 publications. I am able to generate Presentation MathML using Microsoft Word's Equation Builder. However, accessibility standards require hidden Content MathML…
3
votes
1 answer

XPath to namespaced XML in Python?

I am using lxml with xpath to parse an epub3, xhtml content file. I want to select all the li nodes with the attribute epub:type="footnote" as for example
  • ...
  • I cannot find the right xpath expression for…
    MrCastro
    • 405
    • 1
    • 3
    • 14
    3
    votes
    3 answers

    iBooks JavaScript Environment - invalid element name

    So, I've narrowed down my error (well, at least the first one) to this function: var genArray = function () { var arr, len, i; if(arguments.length > 0) { len = [].slice.call(arguments, 0, 1)[0]; arr = new Array(len); …
    Logan
    • 1,445
    • 11
    • 26
    3
    votes
    1 answer

    Make iBooks turn page (in reflow mode) with Javascript embedded in the displayed EPUB3 ebook

    I have developed a library (which I will release under BSD/MIT license soon) to simulate Media Overlay support (aka "read aloud" or "SMIL") for reflowable EPUB3 eBooks in Apple iBooks. (I remind you that iBooks supports MO only in FXL layout mode,…
    Alberto Pettarin
    • 839
    • 6
    • 12
    2
    votes
    0 answers

    Create EPUB3 Reader App in Python

    I am trying to create EPUB3 reader application in python for that I explored some python libraries like: i) Epubzilla ii) EbookLib iii) pyepub iv) epub 0.5.1 but I did't got perfect…
    Dhairya
    • 533
    • 2
    • 9
    • 27
    2
    votes
    1 answer

    How to programmatically diffrenciate the epub fix layout and reflowable

    I need to programmatically identify the layout of an ePub file. The ePub file can be either in Fixed Layout or Reflowable Layout. I tried to use Microsoft.WindowsAPICodePack with Microsoft.WindowsAPICodePack.Shell to pull the metadata of an ePub…
    Alan B
    • 1,997
    • 4
    • 25
    • 52
    1
    2 3
    8 9