Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

View Poll Results: What are you feelings about .epub right now:
.epub is the greatest thing since paper! 4 9.30%
.epub is ok, I'll get around to using it someday. 9 20.93%
Why do we need another format? 6 13.95%
I'm waiting till someone other than adobe has a viewer. 2 4.65%
I'm waiting till my reader can natively support it 15 34.88%
How is this different that .oeb? 1 2.33%
What was the IDPF thinking!?! 1 2.33%
What the heck is .epub? 5 11.63%
Voters: 43. You may not vote on this poll

Reply
 
Thread Tools Search this Thread
Old 10-24-2007, 01:20 PM   #31
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Quote:
Originally Posted by jbenny View Post
Yes, footnotes need further investigation. I haven't tried doing footnotes yet, but was trying something similar, which didn't work. I wanted to use CSS to provide a popup window that gave you a definition when you either hovered or clicked on a particular word. It worked great on a web browser, but not in Digital Editions. After reading the OPS spec more carefully, I discovered that "position" and "z-index" are allowed, but not required in the OPS spec. It is a shame that they left these out, as doing word lookup and even popup footnotes could easily be done this way.
Some of the sample files used a separate XML file and it displayed a little cross next to a word to signify that there's a footnote (clicking on the footnote displayed the xml file with the footnotes). I do understand that real footnote support is a lot more complicated to display for a reflowable format, but that's one of those key features that we need if we'd like to display e-books like real books.
Hadrien is offline   Reply With Quote
Old 10-24-2007, 01:21 PM   #32
nekokami
fruminous edugeek
nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.
 
nekokami's Avatar
 
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
I like footnotes indented after the end of the current paragraph, personally.
nekokami is offline   Reply With Quote
Advert
Old 10-24-2007, 01:24 PM   #33
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by kovidgoyal View Post
In order to paginate a reflowable format like HTML or LRF, what's needed is that the reader software has to essentially render the whole book in one pass and save layout information (basically how many lines fit on a page at the current base font size).

The more complex the markup the longer it takes to do this. Without CSS HTML is actually simpler than LRF, so I'm not surprised that FBReader manages to paginate quickly.
From Producing ePub Documents from InDesign:
Quote:
Chapters: a good ePub file should contain a separate XHTML stream for each section or chapter. So every section of your eBook should be created as a different document in InDesign. This is especially important in long or complex eBooks. Dividing the work into separate documents makes styling each section easier, and will make the pages render faster in ADE.
I don't think most existing .epub books (or .LIT or .MOBI books, which being OEB-based can do the same thing) have 1 file per chapter, perhaps because most publishers want to target "simple HTML" e-book formats too. I find it surprising that it matters whether chapters are in separate files or not, but perhaps this is an Adobe Digital Editions specific implementation detail.

FBReader can take a few seconds to layout (say) a multi-MB CHM file, but its primary limitation is that loads the entire document into memory. This (presumably) improves speed, but can be a limitation for really long documents. This is on FBReader's list of thinks to fix, but memory is so cheap that I'm not sure this is a big deal - particularly for Linux devices with virtual memory.
wallcraft is offline   Reply With Quote
Old 10-24-2007, 01:29 PM   #34
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: 45,269
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Actually I don't see why supporting footnotes in a reflowable format is hard from a reader implementation point of view. You just need an bit of extra branching in the layout routine. On the other hand, I actually prefer hyperlinked footnotes to in page footnotes, they are less intrusive and almost as easy to use.
kovidgoyal is offline   Reply With Quote
Old 10-24-2007, 01:35 PM   #35
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: 45,269
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by wallcraft View Post
From Producing ePub Documents from InDesign:
I don't think most existing .epub books (or .LIT or .MOBI books, which being OEB-based can do the same thing) have 1 file per chapter, perhaps because most publishers want to target "simple HTML" e-book formats too. I find it surprising that it matters whether chapters are in separate files or not, but perhaps this is an Adobe Digital Editions specific implementation detail.

FBReader can take a few seconds to layout (say) a multi-MB CHM file, but its primary limitation is that loads the entire document into memory. This (presumably) improves speed, but can be a limitation for really long documents. This is on FBReader's list of thinks to fix, but memory is so cheap that I'm not sure this is a big deal - particularly for Linux devices with virtual memory.
I think ADE treats each XHTML stream as a logical page that is then split up into separate pages depending on font size and screen size. It keeps a single logical page in memory at one time. As a result having a single very long logical page is likely to cause swapping and slow down page turns. The same is true for LRF (except that there it is <Page> elements than should not be too long instead of individual files.

Memory does seem to be a problem when it comes to handhelds as manufactures want to keep prices as low as possible, which often means they skimp on RAM.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-24-2007, 01:45 PM   #36
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Quote:
Originally Posted by kovidgoyal View Post
Actually I don't see why supporting footnotes in a reflowable format is hard from a reader implementation point of view. You just need an bit of extra branching in the layout routine. On the other hand, I actually prefer hyperlinked footnotes to in page footnotes, they are less intrusive and almost as easy to use.
Extra layout and more rendering issues than with XHTML+CSS.
Hadrien is offline   Reply With Quote
Old 10-24-2007, 01:47 PM   #37
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 kovidgoyal View Post
The problem with an in file pagination solution like eb1150 is that you are then tied to a particular reader implementation (screen size, font size and layout algorithm). I am very concerned that it may not be possible to layout HTML+CSS on existing devices quickly enough, in which case .epub is useless as anything other than an archival format, and as for archiving a zipped up set of HTML files with a opf for metadata and structure information is good enough.
It is true that any pagination solution requires this knowledge. It is even more important for technical manuals that may reference a page number somewhere else in the document which, in the case of ebooks, is a variable.

Taking the hit to reformat a book one time is a price that may be workable but in the long run it should not be required every time a user reselects that size so the standard could permit the build default sizes and then adjust as needed. There are standard screen sizes and font sizes so this should be possible and then the standard should provide a mechanism to store this data. This way the user can buy an epub book and have it automatically paginate for the device they choose. If they switch devices they would have a one time installation hit the first time. The standard just needs to define a format for the data storage in the .epub file.

The nice thing about zip files is that you can easily add data like this on the fly when the epub file is delivered.

Dale
DaleDe is offline   Reply With Quote
Old 10-24-2007, 01:48 PM   #38
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Quote:
Originally Posted by wallcraft View Post
I don't think most existing .epub books (or .LIT or .MOBI books, which being OEB-based can do the same thing) have 1 file per chapter, perhaps because most publishers want to target "simple HTML" e-book formats too. I find it surprising that it matters whether chapters are in separate files or not, but perhaps this is an Adobe Digital Editions specific implementation detail.
Try opening War & Peace with DE and FBReader: you'll notice a huge difference.

Epub file: http://www.feedbooks.com/discover/get_epub/83
Hadrien is offline   Reply With Quote
Old 10-24-2007, 02:01 PM   #39
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: 45,269
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Hadrien View Post
Extra layout and more rendering issues than with XHTML+CSS.
Not really, just add special CSS class say "epub_footnote" then the layout engine renders the contents of the footnote in a block, checks if the block fits on the current page, if yes, adds it to the bottom if no puts it on the footnote stack for the next page. Shouldn't significantly change the rendering complexity.
kovidgoyal is offline   Reply With Quote
Old 10-24-2007, 02:11 PM   #40
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Quote:
Originally Posted by kovidgoyal View Post
Not really, just add special CSS class say "epub_footnote" then the layout engine renders the contents of the footnote in a block, checks if the block fits on the current page, if yes, adds it to the bottom if no puts it on the footnote stack for the next page. Shouldn't significantly change the rendering complexity.
It acts like a "float" element that's correct. In some books, you can have very long footnotes though, and in this case, p-book usually display them on the next page too.
Hadrien is offline   Reply With Quote
Old 10-24-2007, 02:16 PM   #41
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 kovidgoyal View Post
Not really, just add special CSS class say "epub_footnote" then the layout engine renders the contents of the footnote in a block, checks if the block fits on the current page, if yes, adds it to the bottom if no puts it on the footnote stack for the next page. Shouldn't significantly change the rendering complexity.
This is not as simple as you say if the book is large and the layout engine is pre-paginating the entire document. It would have to scan the document and find every instance of a footnote and adjust as needed. This could take a long time for a ebook reader with its limited processor to do. People are already complaining about the start up time for a book. Making a pop up footnote in this case makes more sense since it need not be allowed for in the document pagination.

We may need to take a look at the pagination requirement and determine what is really needed. How important is knowing the last page number of a book? How important is knowing the page number of the next chapter in a book? Are these essential features?

Specific to footnotes - Where should footnotes go? end of page, end of chapter, end of book? Is links enough with a return capability?

It is interesting to look at MobiPocket on a PDA. They only provide a percentage of the book progress bar and links to chapter starts. They do not currently paginate the book but instead remember a few pagination points for previous pages so you can back up a little (5 pages I believe). This is because they provide all sorts of font sizes and the user can change them at any time. The ebook standards limit the font choices to 7 sizes so this can help a little and you can likely limit the initial pagination to a subset of those but it is still something to look at.

Dale
DaleDe is offline   Reply With Quote
Old 10-24-2007, 02:29 PM   #42
jbenny
Addict
jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.
 
Posts: 323
Karma: 358
Join Date: May 2007
Device: Tablet PC and Nokia N800
Quote:
Originally Posted by wallcraft View Post
I don't think most existing .epub books (or .LIT or .MOBI books, which being OEB-based can do the same thing) have 1 file per chapter, perhaps because most publishers want to target "simple HTML" e-book formats too. I find it surprising that it matters whether chapters are in separate files or not, but perhaps this is an Adobe Digital Editions specific implementation detail.
Actually, most of the LIT ebooks I have looked at do make each chapter a separate file. This isn't really much harder to create than one huge file. Also, for ebook display purposes, separate files do make more sense.

In my reading of the OPS spec, they do recommend using separate files, since that is how they will show up in the TOC. Also, with separate files, you can do things with the reading order.
jbenny is offline   Reply With Quote
Old 10-24-2007, 02:30 PM   #43
jbenny
Addict
jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.
 
Posts: 323
Karma: 358
Join Date: May 2007
Device: Tablet PC and Nokia N800
Quote:
Originally Posted by Hadrien View Post
Some of the sample files used a separate XML file and it displayed a little cross next to a word to signify that there's a footnote (clicking on the footnote displayed the xml file with the footnotes). I do understand that real footnote support is a lot more complicated to display for a reflowable format, but that's one of those key features that we need if we'd like to display e-books like real books.
Can you remember a specific sample file which did footnotes? I'd like to take a look at it.
jbenny is offline   Reply With Quote
Old 10-24-2007, 02:35 PM   #44
jbenny
Addict
jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.
 
Posts: 323
Karma: 358
Join Date: May 2007
Device: Tablet PC and Nokia N800
Quote:
Originally Posted by nekokami View Post
I like footnotes indented after the end of the current paragraph, personally.
That would be the easiest way to do them from a content creation standpoint.

In the OPS spec, they define "oeb-page-head" and "oeb-page-foot" for running header and footers on a page. Perhaps something similar could be added for footnotes. The only downside is that the head/foot are optional, according to the spec. I think it should be required that readers render these, but allow the user to optionally disable their display when reading.
jbenny is offline   Reply With Quote
Old 10-24-2007, 02:40 PM   #45
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: 45,269
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by DaleDe View Post
This is not as simple as you say if the book is large and the layout engine is pre-paginating the entire document. It would have to scan the document and find every instance of a footnote and adjust as needed. This could take a long time for a ebook reader with its limited processor to do. People are already complaining about the start up time for a book. Making a pop up footnote in this case makes more sense since it need not be allowed for in the document pagination.

We may need to take a look at the pagination requirement and determine what is really needed. How important is knowing the last page number of a book? How important is knowing the page number of the next chapter in a book? Are these essential features?

Specific to footnotes - Where should footnotes go? end of page, end of chapter, end of book? Is links enough with a return capability?

It is interesting to look at MobiPocket on a PDA. They only provide a percentage of the book progress bar and links to chapter starts. They do not currently paginate the book but instead remember a few pagination points for previous pages so you can back up a little (5 pages I believe). This is because they provide all sorts of font sizes and the user can change them at any time. The ebook standards limit the font choices to 7 sizes so this can help a little and you can likely limit the initial pagination to a subset of those but it is still something to look at.

Dale
No a pre-paginater goes page by page, so whenever it encounters a footnote, it just needs to check if the footnote goes on the current page, or the next page. Personally, I think hyperlinked footnotes to the end of the file, with support for back in the reader software is the best solution.

I think that knowing how many pages there are in the book is important from the perspective of people migrating from paper books. Also from the perspective of books with hyperlinks in them, which increasingly ebooks will have, full pre-layout is important for rendering speed.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-600 Mixed feelings ziegl027 Sony Reader 6 04-13-2010 03:47 PM
epub, ePub, EPUB, warum blos ePub? flowoeB Lounge 5 11-27-2009 09:37 AM


All times are GMT -4. The time now is 05:30 PM.


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