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

135 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
  • 12,713
  • 38
  • 145
  • 268
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 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
  • 1,071
  • 6
  • 23
  • 43
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
  • 141
  • 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
  • 12,713
  • 38
  • 145
  • 268
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
  • 5,200
  • 3
  • 20
  • 45
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
0 answers

Epub anchor links opens a browser

I am creating an epub with 2 pages. I have page_1.xhtml and page_2.xhtml From page_1.xhtml I created a link to page_2.xhtml with this code Page 2 But it opens a browser. I only need to redirect to page_2.xhtml They are in…
Kiel
  • 483
  • 3
  • 5
  • 18
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
    • 435
    • 1
    • 4
    • 14
    3
    votes
    5 answers

    Zip an epub using a batch file and 7zip

    I created this batch file to compress my epub files into an epub. It checks for an existing epub and deletes it. It checks the current folder name and then simply creates a zip file with the same name. It then renames that .zip to a .epub for %%a…
    Morne
    • 1,623
    • 2
    • 18
    • 33
    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,614
    • 1
    • 14
    • 27
    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
    • 894
    • 6
    • 12
    1
    2 3
    8 9