Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2010, 07:20 PM   #1
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Epub Revision - page-level layouts

Quote:
Need for a means to convey page-level layouts and target multiple display surface sizes in a single publication. EPUB 2.0.1 lacks any way to specify page-level layouts or dynamically select different layouts based on considerations such as available display area and user-preferred font size. This is a barrier to supporting books with more complex information designs, as well as digital magazines, and even for trade books makes it harder to convey a “house style” (addressing this requirement was requested by the AAP in conjunction with its endorsement of EPUB in May 2008).
I think Adobe has already gotten a start on this one.
Nate the great is offline   Reply With Quote
Old 04-08-2010, 10:03 PM   #2
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
This boils down to a choice: CSS3 or XSL-FO.

Adobe has been in favour of XSL-FO for a long time. While it's more cumbersome to code than CSS, it's ultimately far more flexible and a far richer styling language. CSS3's paged media module is quite limited in comparison and has been stuck at working draft status for several years now, so it doesn't even have a finalised version to specify.

OTOH, while progress is somewhat glacial, web browsers are slowly moving towards support of CSS3 and web authoring will follow suit. From an implementation perspective, it's far preferable to allow those creating Reading Systems the ability to use the same renderer for both epub and web browsing functions on the same device.

Ultimately, I think CSS3 will win simply because it'll be easier to implement. Not a great reason, but possibly better than a situation in which Reading Systems implement an inconsistent subset of XSL-FO.
charleski is offline   Reply With Quote
Advert
Old 04-08-2010, 11:27 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Thumbs down from me. I really don't want to encourage the creation of display size specific epubs.

In theory "support for multiple display sizes" sounds great. In practice people will make epubs that look great at a couple of sizes and look like crap everywhere else.

The whole concept goes against the grain of reflowability.
kovidgoyal is offline   Reply With Quote
Old 04-08-2010, 11:50 PM   #4
dmikov
Addict
dmikov has learned how to read e-booksdmikov has learned how to read e-booksdmikov has learned how to read e-booksdmikov has learned how to read e-booksdmikov has learned how to read e-booksdmikov has learned how to read e-booksdmikov has learned how to read e-booksdmikov has learned how to read e-books
 
dmikov's Avatar
 
Posts: 257
Karma: 960
Join Date: Dec 2006
Device: REB1200; REB2150; Sony 500/350; EZReader; IREX DR800SG; Nook/Color
Well that's why CSS might be a good call. n+ fixed layouts and one reflow. You don't like it, you change it to your favorite CSS. For drm of course readers should support custom CSS.
dmikov is offline   Reply With Quote
Old 04-09-2010, 01:26 PM   #5
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Would page-level layouts include support for such things as "real" footnotes, headers and footers, and such like?
HarryT is offline   Reply With Quote
Advert
Old 04-09-2010, 03:09 PM   #6
Gearhead
Enthusiast
Gearhead began at the beginning.
 
Posts: 32
Karma: 45
Join Date: Dec 2007
Device: Kindle DX, PRS505
+1 for CSS. The standard should allow the user to completely replace the embedded stylesheet. This would allow better accessibility.

The iPad's iBook epub reading software is a good example of why user replaceable stylesheets are needed. The iBook software has fixed wide margins (3/4 inch on all sides), a pretty but useless static image of a book binding/cover on each page, and text justification that cannot be changed. Accessibility is reduced for low vision users since they cannot utilize the full screen area with large fonts and books with full justification have distracting rivers of white.
Gearhead is offline   Reply With Quote
Old 04-09-2010, 04:10 PM   #7
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by HarryT View Post
Would page-level layouts include support for such things as "real" footnotes, headers and footers, and such like?
Yes. It should allow much more as well, such as finer control of columns, marginal notes, etc. I think adding proper paged-media handling is pretty high on a lot of people's wishlists.

While I understand kovid's fear, I think it's misplaced. Both possible schemes generally promote a device-independent approach. It's possible to mess-up reflowability right now if you used fixed sizes, and that's one of the first things people learn not to do.
charleski is offline   Reply With Quote
Old 04-09-2010, 10:11 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by charleski View Post
While I understand kovid's fear, I think it's misplaced. Both possible schemes generally promote a device-independent approach. It's possible to mess-up reflowability right now if you used fixed sizes, and that's one of the first things people learn not to do.
Most people don't realize that it's possible to create fixed size layouts with HTML. With explicit support for fixed layouts, there are going to be a whole lot of people that will jump on that bandwagon simply because they ave built up lots of skills in fixed size design already and will be more comfortable with that.
kovidgoyal is offline   Reply With Quote
Old 04-10-2010, 03:02 AM   #9
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
There is a conflict here between the desire to control the layout by the publisher, and the desire to allow the reader to control the layout through the reading software.

For example, a publisher might like to specify one of two column text, depending on the width in characters (ems) of the current display. But equally, the reader might well want the choice to be a preference.

I think any page-size choice of formatting should be automatic by default, but that reader software should be able to provide the reader with the option to overrride the choice in the publication.

I have no idea how this would be done in practice with the current layout standards that have been mentioned in this thread.
pdurrant is offline   Reply With Quote
Old 04-10-2010, 03:05 AM   #10
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Separate points.

I think it would be useful if the specification gave some guidance on how the page height should be interpreted by rendered. At the moment, sizing something based on page height is a bit hit and miss.

As Harry said, it would be wonderful to have some support in for footnotes. At the moment, I do footnotes with a link away to another page. I'd love to seem some specific coding that allowed footnotes to be identified by reading software, and either displayed in a pop-up window, or placed at the bottom of the page.
pdurrant is offline   Reply With Quote
Old 04-10-2010, 08:04 AM   #11
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by pdurrant View Post
There is a conflict here between the desire to control the layout by the publisher, and the desire to allow the reader to control the layout through the reading software.

For example, a publisher might like to specify one of two column text, depending on the width in characters (ems) of the current display. But equally, the reader might well want the choice to be a preference.

I think any page-size choice of formatting should be automatic by default, but that reader software should be able to provide the reader with the option to overrride the choice in the publication.

I have no idea how this would be done in practice with the current layout standards that have been mentioned in this thread.
This is more of an implementation issue than a standards one. A lot of it will be determined by the complexity and richness of the UI that is offered by the Reading System.

I think the best route is to encourage this to be done through modification of a user-level styling file. A RS that only allows a few basic modifications could then be enhanced by those willing to write more advanced css code.

Quote:
Originally Posted by pdurrant View Post
As Harry said, it would be wonderful to have some support in for footnotes. At the moment, I do footnotes with a link away to another page. I'd love to seem some specific coding that allowed footnotes to be identified by reading software, and either displayed in a pop-up window, or placed at the bottom of the page.
One important issue about footnotes: at present neither CSS3 nor XSL-FO explicitly support reflowing footnotes onto the next page. The common scenario in which there's a footnote on the 5th line from the bottom pointing to a note that's longer than 4 lines (for example) will break unless the RS is smart enough to realise that it needs to create a new footnote on the next page with the left-over lines. This needs to be mandated in the specification to make sure implementers don't mess it up. Using a pop-up windows instead would negate the problem (and is something I'd find preferable).
charleski is offline   Reply With Quote
Old 04-10-2010, 11:27 AM   #12
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by charleski View Post
One important issue about footnotes: at present neither CSS3 nor XSL-FO explicitly support reflowing footnotes onto the next page. The common scenario in which there's a footnote on the 5th line from the bottom pointing to a note that's longer than 4 lines (for example) will break unless the RS is smart enough to realise that it needs to create a new footnote on the next page with the left-over lines. This needs to be mandated in the specification to make sure implementers don't mess it up. Using a pop-up windows instead would negate the problem (and is something I'd find preferable).
It does not need to be a pop-up if it lets you page/scroll the footnote area independently. In your scenario, the page would contain maybe 20 lines of main text and 4 lines of footnote; you could get the next page of the main text, dismissing the whole footnote, or page only the footnote, and you get the same 20 lines of main text, but the next 4 lines of the (long) footnote.

Things could get funny with footnotes inside footnotes inside footnotes, though.

Another related thing that could be worth considering is having some element that remains static while the rest of the book changes when paging, a bit like a header, but not for headers. For instance, a map or a diagram. In printed books you often have to turn the pages back and forth when your read a text that refers to a picture in another page (and it's sometimes inevitable, if the text that refers to it is more than one page long). Wouldn't it be nice if you had the possibility of saying "during this whole passage, keep this image fixed on screen while scrolling/paging the text".
Jellby is offline   Reply With Quote
Old 04-10-2010, 11:51 AM   #13
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by Jellby View Post
Another related thing that could be worth considering is having some element that remains static while the rest of the book changes when paging, a bit like a header, but not for headers. For instance, a map or a diagram. In printed books you often have to turn the pages back and forth when your read a text that refers to a picture in another page (and it's sometimes inevitable, if the text that refers to it is more than one page long). Wouldn't it be nice if you had the possibility of saying "during this whole passage, keep this image fixed on screen while scrolling/paging the text".
Oh, what a good idea!
pdurrant is offline   Reply With Quote
Old 04-10-2010, 12:01 PM   #14
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by pdurrant View Post
Separate points.

I think it would be useful if the specification gave some guidance on how the page height should be interpreted by rendered. At the moment, sizing something based on page height is a bit hit and miss.

As Harry said, it would be wonderful to have some support in for footnotes. At the moment, I do footnotes with a link away to another page. I'd love to seem some specific coding that allowed footnotes to be identified by reading software, and either displayed in a pop-up window, or placed at the bottom of the page.
I do not think footnotes should be tied in any fashion to this initiative. Footnotes need to be considered on their own merit and implemented without regard to an page boundaries or page level layouts. We do need the footnotes to be defined in the standard but the implementation should not be defined or forced to a page level scheme without regard to screen display sizes.

Dale
DaleDe is offline   Reply With Quote
Old 04-11-2010, 10:25 PM   #15
Xenophon
curmudgeon
Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.
 
Xenophon's Avatar
 
Posts: 1,481
Karma: 5748190
Join Date: Jun 2006
Location: Redwood City, CA USA
Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500
I would like to see the standard mandate support for footnotes within footnotes (within footnotes, within...). And similarly for endnotes.

Specifically, I don't want the situation we have with Terry Pratchett novels in EReader format, where 2nd and lower level footnotes are lost because the document format cannot support them.

Xenophon
Xenophon is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Same zoom level for each page ? DSpider PDF 1 04-08-2011 03:56 AM
Epub Revision - accessibility support Nate the great ePub 1 02-23-2011 03:47 AM
Epub Revision - mathematics support Nate the great ePub 23 04-14-2010 01:16 PM
Epub Revision - Dictionaries!! Nate the great ePub 9 04-11-2010 01:33 PM
Epub Revision - annotation support Nate the great ePub 3 04-09-2010 11:12 PM


All times are GMT -4. The time now is 08:58 PM.


MobileRead.com is a privately owned, operated and funded community.