View Single Post
Old 07-03-2015, 05:23 AM   #36
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: 80,212
Karma: 148951761
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 terendel View Post
Yes, that worked. Apparently I had a bad batch of ePubs, including files converted with Calibre from .azw to ePub. Any suggestions on Calibre settings to make properly coded ePubs?

For what it's worth, even on that file, I don't like where the top margin sits. I guess I prefer the header and footers in kePubs, even though there's less text on the screen.

I think my statement in the article that users will have to become conversant with Calibre is still valid. One of the ePubs I used was from my library, so it's not like I was trying files from odd sources the average user won't run across. (I'll admit the fanfic downloaded from AO3 might have been badly coded. )
.azw = Mobipocket and a lot of Mobipocket can be full of poor code. Calibre does not fix up the code so you will be getting garbage in, garbage out.

I've seen ePub from the big publishers be full of rather poor coding. It's a lot better now though. What eBook was it you downloaded from your library that didn't work. I'd like to know if I have access to it and can give it a try. I'd like to see what in the CSS/XML is causing the problem.

If you convert from KF8 (AZW3) to ePub, don't actually convert. Use the KindleUnplug plugin to shift the code to ePub and then use Calibre's eBook editor to validate the ePub. Once you fix any errors found, you've got a good conversion. Most KF8 started off life as ePub and was converted from there to KF8. So all you are doing is moving the code back to ePub.

As for the top margin, in that ePub I linked, all you need do is use the eBook editor in Calibre, change the top margin in bosy in the CSS and you can have it be whatever you want.
JSWolf is offline   Reply With Quote