View Single Post
Old 09-30-2008, 07:39 PM   #31
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: 79,964
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by wallcraft View Post
The problem is the single 759KB HTML file. ADE on the Sony has a 300KB per HTML file limit.

As Madam Broshkina says, if you run it through Calibre's any2epub it splits the HTML file into 5 pieces and also produces a correctly ZIPed epub. On the command line, use:

Code:
any2epub -o test_calibre.epub test.epub
The reason this matters is that each HTML file has an automatic page break before it in the ebook. So Calibre's automatic splitting may not be what you want.

If the items that in the TOC should be chapters (i.e. should have page breaks before them) then it is best to actually put each in a separate HTML file. Calibre can do this for you using the --chapter switch as explained in post #6 above.
I ran it through any2epub and got a problem someplace and got some sort of lines someplace. But the version I rezipped didn't have this issue.
JSWolf is offline   Reply With Quote