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-07-2012, 08:16 PM   #16
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 HarryT View Post
The reason there's the limit is that ePub supports CSS, and hence has to maintain state information for every part of the text.
So does Kindle (both the older versions and the Fire and other KF8 devices and apps) support CSS. I handle all my styles with an internal stylesheet,

I still don't understand the difference between a 137KB epub and a 400+KB html file. Which is the actual size of the book with respect to, for example, the 300KB limit mentioned by B&N?

(The epub in question had no problem being accepted by PubIt.)

Thanks!
Oldpilot is offline   Reply With Quote
Old 08-07-2012, 08:19 PM   #17
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
Concerning the downsides of large files mentioned by others, I would suggest to make a file-break at last every 1 Meg.
Bingo! Thank you; that's easily done. Even 500KB (in the html file) handles any of my novels.
Oldpilot is offline   Reply With Quote
Old 08-08-2012, 12:49 AM   #18
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,601
Karma: 1065018
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Sony T2, Kindle Fire HDX 8.9 , Kindle for PC
Quote:
Originally Posted by Oldpilot View Post
I still don't understand the difference between a 137KB epub and a 400+KB html file. Which is the actual size of the book with respect to, for example, the 300KB limit mentioned by B&N?


Thanks!
epub is zipped - compressed - thus is smaller than uncompressed html
cybmole is offline   Reply With Quote
Old 08-08-2012, 12:58 AM   #19
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: 62,542
Karma: 40125051
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
So does Kindle (both the older versions and the Fire and other KF8 devices and apps) support CSS. I handle all my styles with an internal stylesheet,
No. The older Kindle Mobipocket format does NOT support CSS in any form whatsoever. The Mobi generation tools support CSS to a limited extent, but they convert that CSS into tag attributes in the generated Mobi file. There is no CSS in a Mobi file.
HarryT is offline   Reply With Quote
Old 08-08-2012, 02:04 AM   #20
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,860
Karma: 2623257
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
The filesize limit is for a single uncompressed (x)html, not any other file.

Benefits are already mentioned. Performance while reading, start on new page and easier maintenance.
I usually have one xhtml file for the cover, one for the titlepage and then for each chapter. When applicable also for dedication pages and so on. If your filenames are logical, maintenance is easy.
Toxaris is offline   Reply With Quote
Old 08-14-2012, 07:43 PM   #21
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 HarryT View Post
No. The older Kindle Mobipocket format does NOT support CSS in any form whatsoever. The Mobi generation tools support CSS to a limited extent, but they convert that CSS into tag attributes in the generated Mobi file. There is no CSS in a Mobi file.
All my styles are obediently followed in my K3, apps, and Kindle Previewer emulations with the sole exception of drop-caps, which become up-caps and still look good. Indents, margin-top, centering, size of headings, font size, page breaks -- all that good stuff renders perfectly in the KF7 devices and apps. It hardly matters to me whether the final KF7 file actually has a style sheet or not, since it follows the CSS that I provided.

With respect to the size of an epub, I understand that it is a zip file. What I don't understand is whether the theoretical 300KB limit refers to the epub (say 150KB) or the underlying html (say 400KB). In the first case it passes, in the second case not. Which is it?
Oldpilot is offline   Reply With Quote
Old 08-14-2012, 09:08 PM   #22
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,223
Karma: 5495470
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
All my styles are obediently followed in my K3, apps, and Kindle Previewer emulations with the sole exception of drop-caps, which become up-caps and still look good. Indents, margin-top, centering, size of headings, font size, page breaks -- all that good stuff renders perfectly in the KF7 devices and apps. It hardly matters to me whether the final KF7 file actually has a style sheet or not, since it follows the CSS that I provided.

With respect to the size of an epub, I understand that it is a zip file. What I don't understand is whether the theoretical 300KB limit refers to the epub (say 150KB) or the underlying html (say 400KB). In the first case it passes, in the second case not. Which is it?
Under laying (x)HTML. I have 50M EPUBS (with lots of segments) that work fine (just slow)
theducks is offline   Reply With Quote
Old 08-14-2012, 09:24 PM   #23
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,129
Karma: 17161828
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Oldpilot View Post
Bingo! Thank you; that's easily done. Even 500KB (in the html file) handles any of my novels.
It won't work on all readers. So if you do this, it will not work on some readers. Stick with the You need to use smaller files in order to get it to work. You've already been told the limit is 300k. My suggestion is to get a Sony Reader to test things or to send your book to someone who has one to test it.

I will volunteer to test it to see if it loads properly on a Sony. But as has been said before (in this thread), if you don't use separate XML for each chapter, then you lose control of the spacing for the chapter titles.
JSWolf is offline   Reply With Quote
Old 08-15-2012, 04:31 AM   #24
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: 5,965
Karma: 4346919
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by JSWolf View Post
But as has been said before (in this thread), if you don't use separate XML for each chapter, then you lose control of the spacing for the chapter titles.
Not exactly lose control, just the top margin of the first element after the (forced) pagebreak is ignored. You can still get the desired spacing by using padding instead of margin, or by having a dummy element between the pagebreak and the title.
Jellby is offline   Reply With Quote
Old 08-15-2012, 09:58 AM   #25
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,129
Karma: 17161828
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Jellby View Post
Not exactly lose control, just the top margin of the first element after the (forced) pagebreak is ignored. You can still get the desired spacing by using padding instead of margin, or by having a dummy element between the pagebreak and the title.
For ease of coding and neater code, I prefer the one XML per chapter method.
JSWolf is offline   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 10:50 PM.


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