Skip to content
Novus Examples
epub2.1 KB

EPUB 3 - Right-to-Left Arabic (page-progression-direction)

An EPUB 3 in Arabic that declares page-progression-direction="rtl" in the spine, dir="rtl" on the body, and a right-aligned stylesheet. Paired with a left-to-right control carrying the same structure, so a reader's page-turn direction can be checked rather than assumed.

Archive contents — 6 entriesepub
  • mimetype
  • container.xml
  • content.opf
  • nav.xhtml
  • style.css
  • chapter1.xhtml

Specifications

Seed
20260807
Epub Version
3.0
Language
ar
Page Progression Direction
rtl
Css Direction
rtl
Script
Arabic
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Open the book and swipe or press the next-page control.
Expected result
Pages advance right to left, text is right-aligned and shaped as connected Arabic, and the contents list reads in the same direction.

What is a .epub file?

EPUB is the open e-book standard, a ZIP archive containing XHTML content documents, CSS, images, and a package manifest describing reading order and metadata. It supports reflowable text that adapts to screen size and is supported by most e-readers except Kindle natively. It is the dominant format for distributable e-books.

How to use this file

Use an example EPUB to test e-book parsing, ZIP-package and manifest handling, reading-order and metadata extraction, and rendering in e-reader applications.

How to use this file for testing

“EPUB 3 - Right-to-Left Arabic (page-progression-direction)” is a deterministic Novus Examples fixture for Internationalization, Conversion testing. Parallel text and accented, multi-script content — for testing translation pipelines, Unicode handling, and localization tooling.

Documented properties for this file: seed 20260807 · ar · UTF-8. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

E-book fixtures are structured archives documented down to their spine and manifest. Test readers and converters, and where a valid↔intentionally-invalid pair exists, assert graceful handling of the malformed container.

Load the catalog with your i18n framework and verify placeholder interpolation and plural handling; the RTL and CJK variants exercise bidirectional text and font fallback.

Code examples

ebook-convert rtl-arabic.epub out.pdf   # Calibre
unzip -l rtl-arabic.epub                # EPUB is a ZIP

Generated by generation/ebooks_p7.py. Free for any use, no attribution required — license.