EPUB 3 Fixed-Layout Property - [rendition:layout]

Rendition Layout property [rendition:layout]

Specifies whether the given Publication or spine item is reflowable or pre-paginated.

Value

reflowable | pre-paginated

Usage

1 with meta element in <metadata> tag:

When the rendition:layout property is specified on the Package Document meta element, it indicates that the paginated or reflowable layout style applies globally for all spine items.

<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">     <meta property="rendition:layout">pre-paginated</meta> </metadata>

In this case, Reading Systems must produce exactly one page for all spine items when rendering.

<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">     <meta property="rendition:layout">reflowable</meta> </metadata>

In this case, Reading Systems may apply dynamic pagination when rendering thess spine items.

2 With itemref element in <spine> tag:

The rendition:layout property may also be specified locally on the Package Document spine itemref element, and will override the global value for the given spine item.

If this property is used in the spine within an itemref, the property is defined immediately following the item id. In the spine, using this property would look like this:

<itemref id="page01" properties="rendition:layout-reflowable"/>

<itemref id="page02" properties="rendition:layout-pre-paginated"/>

Comments