View Single Post
Old 02-17-2013, 04:39 PM   #5
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by theducks View Post
This is a (mostly) empty paragraph (or forced Break) that some use because:
1)They don't know how to us top/bottom margin values
2)Their device ignores margins used in #1

The problem: is these margins are indistinguishable from Scene breaks, Header spacing and a host of other uses.

IMHO trying to sledge hammer fix with Calibre is asking for a mess.
This is a case where a EPUB editor like Sigil is handy.
first)
Replace the desired cases with a new selector to distinguish these.
Code:
class="x2TTLPG-AU" -> class="scenebreak"
all you need to do in the stylesheet if no other properties need changing

Code:
.x2TTLPG-AU, scenebreak
is add a comma and the additional selector to make a group
next)
adjust the top/bottom margins for those other styles that spacing is desired

Now you should be ready to remove those other 'empty lines')
Thanks, theducks. So, If I edit the stylesheet as you've described, followed by an ePub => ePub conversion removing unwanted line spacing in the body, this will keep the others (TOC, chapter headings, etc.) unaltered?

The odd part of my problem is that the original is fine -- it's only when sideloaded to the Kobo that the extra spacing appears.

I am new at this and learning.
Skydog is offline   Reply With Quote