Quote:
Originally Posted by DaveLessnau
Well, I thought I'd figured out how to get rid of dropcaps. I just opened up a new book, found it had dropcaps and went into Calibre's Editor to get rid of them. Ugh. Here's the stuff around the first letter in the book:
Code:
<p class="first first-in-chapter first-full-width"><span class="first-letter first-letter-i"><span class="first-punctuation punctuation-elevated">“</span>I</span>
I can make almost no sense of that. But, what I do see (and the 1167 line long style.css file seems to confirm it) is that he's got a separate dropcap style for every letter that he uses that way (25), plus a few more for different effects, and raised punctuation styles to go along with it. I guess I'm going to have to live with dropcaps I can't see in this book.
|
Looks some some of the stuff that Vellum does in an effort to make dropcaps works over multiple platforms and screen resolutions. Sadly it doesn't work worth crud. My suggestion would be to replace both spans. Note the first find uses [a-z] to match any lower case letter so regex needs to be used. Rinse and repeat as needed.
Code:
<span class="first-letter first-letter-[a-z]"> with <span>
<span class="first-punctuation punctuation-elevated"> with <span>