Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-05-2012, 11:08 AM   #1
Oldpilot
Groupie
Oldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with others
 
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
downside of using a single "chapter"?

I am accustomed to uploading a single html file (zipped with images where necessary) for publishing on Amazon's Kindle platform. When I converted the html to epub (using Sigil, of course!) for Barnes & Noble, I dutifully hacked it into chapters, breaking the file into as many segments as there were chapters, plus the title page etc etc.

Today, as an experiment, I uploaded an epub file for Kindle conversion that was a single block. It converted perfectly. (I can tell no difference between the epub conversion and the html file I uploaded a few hours earlier, when each is viewed on the Kindle Previewer software.)

I understand that there are some e-book readers that choke on large files. What readers are those, and how large a file? This one for example is 137KB. (The html file shows as 415KB.) Surely that's not a problem anywhere?

(It would really save me time and effort only to have the one version of the book!)

Thanks!
Oldpilot is offline   Reply With Quote
Old 08-05-2012, 11:15 AM   #2
Elfwreck
Grand Sorcerer
Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.
 
Elfwreck's Avatar
 
Posts: 5,142
Karma: 24387938
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Clié; PRS-505; EZR Pocket Pro, PRS-600, Kobo Mini
Quote:
Originally Posted by Oldpilot View Post
I understand that there are some e-book readers that choke on large files. What readers are those, and how large a file? This one for example is 137KB. (The html file shows as 415KB.) Surely that's not a problem anywhere?
The Sony readers, and possibly some others, choke on anything with an internal html file larger than 300kb. (And possibly on any other internal file larger than 300kb, although the tox.ncs and content.opf files almost never get anywhere near that size.)
Elfwreck is offline   Reply With Quote
Old 08-05-2012, 11:43 AM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Elfwreck View Post
The Sony readers, and possibly some others, choke on anything with an internal html file larger than 300kb. (And possibly on any other internal file larger than 300kb, although the tox.ncs and content.opf files almost never get anywhere near that size.)
I used to keep a Calibre Catalog on my PEz until the NCX file grew to 1.5M and the PEz choked and locked up every time on the huge 'spine'.
Every cover image adds a line. n thousand books

For a normal books, this probably won't be an issue.
Using short file names (eg. cvr.jpeg vs The full author-title.jpg)will stretch the range in border cases
theducks is offline   Reply With Quote
Old 08-05-2012, 11:46 AM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Oldpilot View Post
I am accustomed to uploading a single html file (zipped with images where necessary) for publishing on Amazon's Kindle platform. When I converted the html to epub (using Sigil, of course!) for Barnes & Noble, I dutifully hacked it into chapters, breaking the file into as many segments as there were chapters, plus the title page etc etc.

Today, as an experiment, I uploaded an epub file for Kindle conversion that was a single block. It converted perfectly. (I can tell no difference between the epub conversion and the html file I uploaded a few hours earlier, when each is viewed on the Kindle Previewer software.)

I understand that there are some e-book readers that choke on large files. What readers are those, and how large a file? This one for example is 137KB. (The html file shows as 415KB.) Surely that's not a problem anywhere?

(It would really save me time and effort only to have the one version of the book!)

Thanks!
Besides Elfwreck answer

Slower loading, slower reflow. Slower usually means more reader CPU time which means more battery power usage
theducks is offline   Reply With Quote
Old 08-05-2012, 12:47 PM   #5
mmat1
Det
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 956
Karma: 1131766
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by Oldpilot View Post
I dutifully hacked it into chapters, breaking the file into as many segments as there were chapters, plus the title page etc etc.
This will also define pagebreaks!. IMO pagebreaks at the beginning of a chapter/section are nice.

If you publish the thing in one piece, you can define page-breaks with the css, but this will cost you some effort as well.

Btw. i've never heard of a reader that has this ridiculous 300k (260k ?) limit other than Sony
mmat1 is online now   Reply With Quote
Old 08-05-2012, 12:57 PM   #6
mmat1
Det
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 956
Karma: 1131766
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by Elfwreck View Post
... although the tox.ncs and content.opf files almost never get anywhere near that size.)
Never say Never
mmat1 is online now   Reply With Quote
Old 08-05-2012, 01:28 PM   #7
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by mmat1 View Post
This will also define pagebreaks!. IMO pagebreaks at the beginning of a chapter/section are nice.

If you publish the thing in one piece, you can define page-breaks with the css, but this will cost you some effort as well.

Btw. i've never heard of a reader that has this ridiculous 300k (260k ?) limit other than Sony
I think it is a Adobe Mobil Reader (ADE) issue. It is also there on my PEz.
260K is a single file (section) of a much bigger EPUB.

Think about it... More than 1 piece is in memory: 1)some part of The EPUB(zip index) 2) the NCX. 3) (optional) current used Images, fonts, scripts 5)Stylesheet(s) 6)The current text section
theducks is offline   Reply With Quote
Old 08-05-2012, 02:20 PM   #8
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: 63,412
Karma: 41542799
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
It's a limitation on older versions of Adobe Reader Mobile. On the version used by current ePub devices, the limit's no longer there, although that's not to say that using a single huge HTML file is a good idea!
HarryT is online now   Reply With Quote
Old 08-05-2012, 07:43 PM   #9
Oldpilot
Groupie
Oldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with others
 
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
But is 137KB huge? Seems tiny to me!

(Or is the book actually the 415KB of the underlying html file? I appreciate that epub is actually a zip file under another name. Maybe it compresses the file that comes out bigger in the actual Sony -- whatever -- Reader?)
Oldpilot is offline   Reply With Quote
Old 08-05-2012, 07:49 PM   #10
Oldpilot
Groupie
Oldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with others
 
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
Quote:
Originally Posted by mmat1 View Post
If you publish the thing in one piece, you can define page-breaks with the css, but this will cost you some effort as well.
Yes, I have a pagebreak before every chapter and before each front-matter "page." They work fine on the epub, both as uploaded to the Kindle plaatform and to Barnes & Noble.

"cost me some effort" -- what effort? It's already there in the underlying html file that I prepare for the Kindle edition.

I find it hard to believe that a plain-vanilla e-ink Kindle is all that much more sophisticated than the other readers out there. My Kindles don't have any problem with even the biggest of my books, say a 400KB html file and six or ten 127KB jpegs.
Oldpilot is offline   Reply With Quote
Old 08-05-2012, 09:00 PM   #11
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Oldpilot View Post
Yes, I have a pagebreak before every chapter and before each front-matter "page." They work fine on the epub, both as uploaded to the Kindle plaatform and to Barnes & Noble.

"cost me some effort" -- what effort? It's already there in the underlying html file that I prepare for the Kindle edition.

I find it hard to believe that a plain-vanilla e-ink Kindle is all that much more sophisticated than the other readers out there. My Kindles don't have any problem with even the biggest of my books, say a 400KB html file and six or ten 127KB jpegs.
The limit is on a single section of a EPUB, not the whole book.
I have 5+ Meg books that work just fine.
The other limit is too many pieces (images) caused the NCX to be huge (relativly)
theducks is offline   Reply With Quote
Old 08-06-2012, 02:26 AM   #12
DreamWriter
Wizard
DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.DreamWriter ought to be getting tired of karma fortunes by now.
 
DreamWriter's Avatar
 
Posts: 1,713
Karma: 2709428
Join Date: Nov 2010
Location: U.S.
Device: Kindle Keyboard 3G
Quote:
Originally Posted by mmat1 View Post
Btw. i've never heard of a reader that has this ridiculous 300k (260k ?) limit other than Sony
I don't know if the Nook devices themselves have the file size limitation, but the 300 KB file limit is mentioned in the Barnes & Noble PubIt! ePub Formatting Guide:

Quote:
VII. Files

Content should be organized into separate HTML or XHTML files. For example, Title_page.xhtml, Contents.xhtml, Copyright.xhtml, Dedicatio.xhtml, Chapter_One.xhtml, Chapter_Two.xhtml, etc.

Each file should be less than 300kb and listed in the <manifest> of the OPF file. Files contained in the ePub but not listed in the <manifest> and files listed in the <manifest> but not contained in the ePub will interfere with nook performance.
I just finished formatting an ePub for my husband today. I noticed that when the XHTML is not broken into separate chapter files, it takes longer for later chapters to come up when selected from the NCX Contents in Nook for Android app. The consolidated chapter XHTML file did not exceed the 300KB limit. This slight delay may be a good reason to break up the chapters into separate files even when they're not large.
DreamWriter is offline   Reply With Quote
Old 08-06-2012, 02:54 AM   #13
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: 63,412
Karma: 41542799
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Quote:
Originally Posted by Oldpilot View Post
I find it hard to believe that a plain-vanilla e-ink Kindle is all that much more sophisticated than the other readers out there. My Kindles don't have any problem with even the biggest of my books, say a 400KB html file and six or ten 127KB jpegs.
It's not that it's "more sophisticated" - quite the opposite, in fact. The reason there's the limit is that ePub supports CSS, and hence has to maintain state information for every part of the text. When the ePub reader opens a file, it has to parse it, and hold that parse tree in memory. The Mobipocket format, which the Kindle uses, is stateless. Only the page currently being displayed is loaded into memory, and there's no parse tree, hence much lower memory requirements. (The new Kindle "KF8" format, however, basically is ePub, and works the same way that ePub does.)
HarryT is online now   Reply With Quote
Old 08-06-2012, 04:01 AM   #14
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: 6,146
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Although you can add pagebreaks with CSS, there's a difference.

When there's a pagebreak due to change of flow (a different XHTML file), the top margin of the first element is maintained. When there's a forced pagebreak due to a page-break-xxx property, the renderer is allowed to discard the top margin of the first element in the new page (and it seems the Adobe engine does so).
Jellby is offline   Reply With Quote
Old 08-06-2012, 04:00 PM   #15
mmat1
Det
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 956
Karma: 1131766
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by Oldpilot View Post
"cost me some effort" -- what effort? It's already there in the underlying html file that I prepare for the Kindle edition.
Well, checking if the template works correctly or splitting in chapters: Thats a difference of few minutes...

Quote:
Originally Posted by Oldpilot View Post
I find it hard to believe that a plain-vanilla e-ink Kindle is all that much more sophisticated than the other ...
Most of the epub-readers I know can handle larger files. Even ADE (PC) can handle large files without problems; there's just a small anotation buried somewhere in the deep.

It's just Sony and maybe Nook (on Nook, the restriction maybe counts only on the upload-Interface to the store...)

Concerning the downsides of large files mentioned by others, I would suggest to make a file-break at last every 1 Meg.
mmat1 is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
inserting a "ruled Line" /chapter and page breaks tscamera Calibre 3 01-05-2011 04:47 PM
Mods: Please make a single "Free EBooks" thread. tiredofspammers Feedback 20 12-02-2010 10:06 AM
"Save single format to disk" trouble vbdasc Calibre 2 12-01-2010 02:30 AM
0.7.7 converts double "l's" to single stan1 Calibre 3 07-06-2010 03:03 AM


All times are GMT -4. The time now is 08:16 AM.


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