Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove linear=no from <itemref idref="cover" linear="no" /> #1609

Closed
ousia opened this issue Sep 6, 2014 · 2 comments
Closed

remove linear=no from <itemref idref="cover" linear="no" /> #1609

ousia opened this issue Sep 6, 2014 · 2 comments

Comments

@ousia
Copy link
Contributor

ousia commented Sep 6, 2014

As already discussed in #1593, linear=no makes the <itemref> auxiliary. Breaking the linearity of an <itemref> allows the reading system to present its content in a different order from that one specified in the <spine>.

From the ePub 2 spec:

Specifying whether an OPS Content Document is primary or auxiliary is useful for Reading Systems which opt to present auxiliary content differently than primary content. For example, a Reading System might opt to render auxiliary content in a popup window apart from the main window which presents the primary content. (For an example of the types of content that may be considered auxiliary, refer to the example below and the subsequent discussion.)

Reading Systems are not required to differentiate between primary and auxiliary content, and for the requirements and recommendations given in this section may consider all OPS Content Documents in spine to be primary, regardless of the value of the linear attribute.

Or the ePub 3 spec:

The itemref element linear attribute indicates whether referenced item is considered primary (yes) or auxiliary (no) in the spine. This attribute may be used to enable Reading Systems to distinguish presentation of body content from supplementary content which might be, for example, presented in a popup window or omitted from an aural rendition.

From both descriptions, I think it is important to remove linear=no from <itemref idref="cover" linear="no" /> in both ePub 2 & 3 formats.

As far as I understand, the book cover is no axiliary content. Either way, it shouldn’t be presented in a popup window.

Many thanks for your help.

@elmimmo
Copy link

elmimmo commented Nov 21, 2014

Another argument in favor of the proposed fix is that, if an ereader system is expected to hide non-linear content from its linear flow, it should also be expected that all that non-linear content will therefore be accessible from a hyperlink in the body of the linear content, else, the person reading the book would never be able to access it.

Why would one ever add a hyperlink to the cover image in the body of the book?

@mpickering
Copy link
Collaborator

Seems sensible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants