In the epub2 spec for page numbers, the pageList element is supposed to contain some pageTarget elements that have, among other attributes, a value that is supposed to be a positive integer.

The epub3 equivalent seems to be the page-list element (example, spec). But I don't see any guidelines as to what to expect in the page-list. The example lists something like this:

<nav epub:type="page-list">
 <ol>
  <li><a href="georgia.xhtml#page752">752</a></li> 
 </ol>
</nav>

Should the content of the a element in the li be expected to be numeric? If so, where is this documented? If not, are there any constraints? Should it be expected to correspond to what one would see in the corner of a print page, i.e. either a number or a roman numeral in preface content? If so, where is this documented?

I am looking at the excellent book EPUB 3 BEST PRACTICES by Matt Garrish and Markus Grylling in the section "Page Numbering."

First, we need to describe what the function of the <nav epub:type="page-list" ..> element is supposed to do. Some reading systems (specifically Readium) have the ability to search specifically by page number (presumably printed page number). IN Garrish's book this feature is called "page jump functionality."

Only if a reading system provides this functionality, then it would be helpful to include an ordered list within the nav "page-list" type. So nav epub.page-list is an optional method for providing an alternate navigation/search method.

Important: the only constraint on page-list type is that it must contain an ordered list. For this reason, the semantics for LI are interchangeable; there's no special requirements or constraints on the value. If the writers of the standard wanted to constrain the values of the ordered list items, they would have created an additional unique element with the nav page-list element.

So yes, these references are arbitrary -- you could use letters of the alphabet, Roman numerals; it does not matter.

Later the book mentions providing anchors for page numbering.

<span
         epub:type="pagebreak"
         id="page24"
         title="24"/>
   …

Presumably for the example you used, you would switch id=page752 on the georgia.xhtml page.

(The book also describes the pros and cons of using css to show/hide these page indicators throughout the text).

A few things worth noting: First, I don't even know which reading systems support this feature of search by page number. Second, I am skeptical about whether this is implemented on Kindles (I could be wrong...) Third, I suspect the ideal way to implement references to printed pages is by letting a tool like Adobe Indesign auto-generate these things.

  • Second, I am skeptical about whether this is implemented on Kindles (I could be wrong...) KindleGen supports page numbers defined as NCX pagelist items and Adobe page-map items. – Nemo XXX Sep 5 '16 at 18:45

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.