View Single Post
Old 12-30-2010, 02:23 PM   #24
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Quote:
Originally Posted by Marcy View Post
Open the style css file you get when the epub is exploded. Remove all the lines that say "Bookman" in them (to get rid of the extra large bold font they picked for some reason) and remove the two lines in the .calibre section that specify margins at 27%. Then have calibre put the epub back together and it is fixed.
When I exploded the epub in Calibre, the settings for the left and right margins for the ".calibre" style was 24pt ... not 27%. I changed it to 5pt (which is the calibre standard) and that seems to work best.

Other tweaks some may want to make are:

--For the ".title-TableOfContents" style, make the padding-bottom value 2em which will add space between the chapter titles and body text

--For the ".separator" style, make the margin-top and margin-bottom values 0.5em which will add space between the section separators.

--Change all the text-indent values from 1.5em to 0em except for the ".MsoNormal" style which is the body text. For some reason, they had text indentations for other parts of the book which threw off the centering of things like chapter heads.

In addition, for these changes to show up on my Sony reader, I had to do an epub-to-epub conversion in Calibre, which is a simple step.

When I was new to epubs, I would just delete the css stylesheet if there was problematic formatting. But now with Calibre's handy epub tweaking feature and more experience working with epubs, I much prefer to make selective tweaks like this.
PatNY is offline   Reply With Quote