100 likes | 229 Views
The Future of EPUB IDPF Digital Book 2011 at BEA May 24, 2011 Garth Conboy Engineering Manager, Google Books Vice-Chair, EPUB Working Group. Rich( er ) Layout. EPUB 3 adds lots CSS 2.1 Media Queries (@media, @import) display: inline-block, position:, z-index:
E N D
The Future of EPUB IDPF Digital Book 2011 at BEA May 24, 2011 Garth Conboy Engineering Manager, Google Books Vice-Chair, EPUB Working Group
Rich(er) Layout • EPUB 3 adds lots • CSS 2.1 • Media Queries (@media, @import) • display: inline-block, position:, z-index: • overflow:, clip:, visibility: • content:, quotes:, visibility: • letter-spacing:, word-spacing:, text-transform: • border-collapse:, border-spacing:, empty-cells: • Enhanced aural stylesheets • CSS Text Level 3 • -epub-hyphens:, -epub-line-break:, -epub-text-align-last: • -epub-emphasis:, -epub-word-break:
Rich(er) Layout • EPUB 3 adds lots • CSS Writing Modes Module Level 3 • -epub-writing-direction:, -epub-text-orientation:, -epub-text-combine: • CSS3 Multi Column • column-width:, column-count:, column-gap:, column-rule: • break-before:, break-after:, break-inside: • column-fill: • CSS3 Media Queries • -epub-ruby-position: • CSS Font Level 3 @font-face • font-family, font-style, font-weight • src • unicode-range • Both OpenType and WOFF fonts • Font Obsfucation
Rich(er) Layout • Support for attractively reflowing content to different formats, for example from 3 to 2 columns…
Rich(er) Layout • Support for multilingual and multi-alphabet layout beyond traditional Latin-based alphabet
Rich(er) Layout • JavaScript islands • Active content areas
Rich(er) Layout • JavaScript islands • Click-through or timed slideshows
Rich(er) Layout • CSS media-queries to support multiple display sizes retaining high content fidelity…
EPUB 3 Linking Scheme Registry • EPUB CFI: First Scheme, Part of EPUB 3 • EPUB CFI design considerations: • Document references to EPUB content should be enabled in the same way that existing hyperlinks enable references throughout the Web. • The mechanism used to reference content should be interoperable: references to a reading position created by one Reading System should be usable by another. • Each location in an EPUB file should be able to be identified without the need to modify the document. • Comparison operations, including tests for sorting and comparison, should be able to be performed without accessing the referenced files. • Identifier resolution should be reasonably efficient (e.g., processing of the first chapter is not required to resolve a fragment identifier that points to the last chapter). • References should be able to recover their target locations through parser variations and document revisions. • Expression of simple ranges should be supported.
EPUB 3 Linking Scheme Registry • EPUB CFI Examples: • book.epub#epubcfi(/6/4[chap01ref]!/4[body01]/14/10[para05]/3:10[abc,xyz]) • <a href="pub.opf#epubcfi(/6/4[chap01ref]!/4[body01]/14/10[para05]/2/1:3[;s=b])">location</a> • EPUB Linking Going Forward • Reading position • Annotations & highlights • Additional schemes