|  08-07-2012, 08:16 PM | #16 | |
| Groupie            Posts: 184 Karma: 2572 Join Date: Aug 2010 Device: Kindle | Quote: 
 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! | |
|   |   | 
|  08-07-2012, 08:19 PM | #17 | 
| Groupie            Posts: 184 Karma: 2572 Join Date: Aug 2010 Device: Kindle | |
|   |   | 
| Advert | |
|  | 
|  08-08-2012, 12:49 AM | #18 | 
| Wizard            Posts: 3,720 Karma: 1759970 Join Date: Sep 2010 Device: none | |
|   |   | 
|  08-08-2012, 12:58 AM | #19 | 
| eBook Enthusiast            Posts: 85,560 Karma: 93980341 Join Date: Nov 2006 Location: UK Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6 | 
			
			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.
		 | 
|   |   | 
|  08-08-2012, 02:04 AM | #20 | 
| Wizard            Posts: 4,520 Karma: 121692313 Join Date: Oct 2009 Location: Heemskerk, NL Device: PRS-T1, Kobo Touch, Kobo Aura | 
			
			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. | 
|   |   | 
| Advert | |
|  | 
|  08-14-2012, 07:43 PM | #21 | |
| Groupie            Posts: 184 Karma: 2572 Join Date: Aug 2010 Device: Kindle | Quote: 
 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? | |
|   |   | 
|  08-14-2012, 09:08 PM | #22 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
 | |
|   |   | 
|  08-14-2012, 09:24 PM | #23 | |
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 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. | |
|   |   | 
|  08-15-2012, 04:31 AM | #24 | 
| frumious Bandersnatch            Posts: 7,570 Karma: 20150435 Join Date: Jan 2008 Location: Spaniard in Sweden Device: Cybook Orizon, Kobo Aura | 
			
			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.
		 | 
|   |   | 
|  08-15-2012, 09:58 AM | #25 | 
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			For ease of coding and neater code, I prefer the one XML per chapter method.
		 | 
|   |   | 
|  | 
| 
 | 
|  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 |