Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2025, 10:52 AM   #1
RMOP
Connoisseur
RMOP began at the beginning.
 
Posts: 93
Karma: 10
Join Date: Dec 2008
Device: Kindle Paperwhite, TabPRO 8.4, Galaxy Light, Sony PRS-300
Drop Caps Help?

I've carefully corrected and formatted a series of seven public domain novels. I used Drop Caps at the beginning of each chapter, and am pleased w the result. EXCEPT for ONE of the novels, for which I cannot replicate the Drop Caps formatting. Not sure what I'm missing. I'm a casual and infrequent user of Calibre for such tasks, don't intend to learn new software for just solving this isolated problem, so wonder if anyone is willing to take at look at two of these books (one correctly done, the other the anomaly). I'm confident that the problem is staring me in the face, but trying to copy the headers from the chapter of the correcly formatted book to the problem child hasn't worked. Anyone? I can send the two books via PM or email. Many thanks.
RMOP is offline   Reply With Quote
Old 05-12-2025, 11:42 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,649
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Since they're public domain, feel free to just upload them here as attachments.

BTW, drop caps are notoriously hard to get right. The software displaying the ePub just has to use a different line height (perhaps by user setting) and they won't look very pretty any more.

Last edited by pdurrant; Yesterday at 09:55 AM.
pdurrant is online now   Reply With Quote
Old 05-12-2025, 12:19 PM   #3
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,641
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by RMOP View Post
I've carefully corrected and formatted a series of seven public domain novels. I used Drop Caps at the beginning of each chapter, and am pleased w the result. EXCEPT for ONE of the novels, for which I cannot replicate the Drop Caps formatting. Not sure what I'm missing. I'm a casual and infrequent user of Calibre for such tasks, don't intend to learn new software for just solving this isolated problem, so wonder if anyone is willing to take at look at two of these books (one correctly done, the other the anomaly). I'm confident that the problem is staring me in the face, but trying to copy the headers from the chapter of the correcly formatted book to the problem child hasn't worked. Anyone? I can send the two books via PM or email. Many thanks.
Post the two ebooks here and we'll be able to help you better.
RbnJrg is online now   Reply With Quote
Old 05-12-2025, 12:38 PM   #4
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,123
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The problem with dropcaps is they only really look good with the same font and same setting as whoever did the CSS.
JSWolf is offline   Reply With Quote
Old 05-12-2025, 07:42 PM   #5
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 444
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
When I started editing ebooks I collected and played with maybe a dozen css templates for "the best way to do drop caps". Spent hours on it. What worked on Kindle messed up on Kobo. What worked on one Android app didn't on three others. On and on. The final result was: don't use drop caps.
retiredbiker is offline   Reply With Quote
Old 05-12-2025, 08:11 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 44,805
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I find myself agreeing with @retiredbiker. I did much the same trying various ways to make dropcaps that would look good over a variety of devices, ling spacing, fonts, font sizes, etc. After too many hours of experimentation, I ended up with the same conclusion about not using dropcaps being the best way to use dropcaps.
DNSB is offline   Reply With Quote
Old 05-12-2025, 08:11 PM   #7
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,123
Karma: 144284184
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 retiredbiker View Post
When I started editing ebooks I collected and played with maybe a dozen css templates for "the best way to do drop caps". Spent hours on it. What worked on Kindle messed up on Kobo. What worked on one Android app didn't on three others. On and on. The final result was: don't use drop caps.
When I edit an eBook, I'll remove dropcaps and large first letter as they are really annoying.
JSWolf is offline   Reply With Quote
Old 05-12-2025, 09:56 PM   #8
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Other than what one person just doesn’t like as visually unappealing… most of these points are assuming that you have one, and only one, book file for ALL the different devices/apps out there….

It is just as simple to have a different css file for each market you wish to serve. Put the right css in the file you submit to kindle, put a different css file in one meant to serve kobo, yadda yadda. You can sometimes even include a JS that will link the correct css at runtime to serve those ePub3 devices/apps.

I completely agree that it is difficult to make one ring ePub to rule them all, but it is getting easier every day to compensate. Don’t give up trying!

FWIW - Personally, I just use ::first-letter and ::first-line. I get them to look good to me and provide for a basic fallback for those older devices that can’t understand current coding. It isn’t as pretty for those types, but those with newer devices can experience the better styling. I don’t punish those with newer devices by forcing them to the capabilities of the old devices.
Turtle91 is offline   Reply With Quote
Old Yesterday, 03:56 AM   #9
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,123
Karma: 144284184
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 Turtle91 View Post
Other than what one person just doesn’t like as visually unappealing… most of these points are assuming that you have one, and only one, book file for ALL the different devices/apps out there….

It is just as simple to have a different css file for each market you wish to serve. Put the right css in the file you submit to kindle, put a different css file in one meant to serve kobo, yadda yadda. You can sometimes even include a JS that will link the correct css at runtime to serve those ePub3 devices/apps.

I completely agree that it is difficult to make one ring ePub to rule them all, but it is getting easier every day to compensate. Don’t give up trying!

FWIW - Personally, I just use ::first-letter and ::first-line. I get them to look good to me and provide for a basic fallback for those older devices that can’t understand current coding. It isn’t as pretty for those types, but those with newer devices can experience the better styling. I don’t punish those with newer devices by forcing them to the capabilities of the old devices.
Lets say you have a ePub for Kobo and you get you dropcaps to look perfect on your Kobo. What's to say it will look perfect on my Kobo with a different fint and different line height? That's the problem. You cannot make sure a dropcap works in all situations even if you have a different CSS as you've suggested.

So you deliver an ePub for Kobo and I buy from eBooks.com. How can you make sure that the ePub from eBooks.com looks good on my Kobo or someone else's Pocketbook? You can't. So why bother when it doesn't work?
JSWolf is offline   Reply With Quote
Old Yesterday, 06:49 AM   #10
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,696
Karma: 103837201
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by retiredbiker View Post
When I started editing ebooks I collected and played with maybe a dozen css templates for "the best way to do drop caps". Spent hours on it. What worked on Kindle messed up on Kobo. What worked on one Android app didn't on three others. On and on. The final result was: don't use drop caps.
Yes. They also reduce readability even when they work.
Quoth is offline   Reply With Quote
Old Yesterday, 07:42 AM   #11
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,641
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
Lets say you have a ePub for Kobo and you get you dropcaps to look perfect on your Kobo. What's to say it will look perfect on my Kobo with a different fint and different line height? That's the problem. You cannot make sure a dropcap works in all situations even if you have a different CSS as you've suggested.

So you deliver an ePub for Kobo and I buy from eBooks.com. How can you make sure that the ePub from eBooks.com looks good on my Kobo or someone else's Pocketbook? You can't. So why bother when it doesn't work?
Well, in part you have right and in part don't. It's true that the dropcap is affected by the font and line-height. But you omit the power of JS. On epub3 you can detect changes in fonts, font-sizes and line-heights AND ACCORDING TO THAT, to modify the style that gives format the drop cap, so it looks fine. Of course, you can do that on epub3 (I did it) not under epub2 and in the present case, is not possible to have a fallback code for all situations with epub2. However, even under epub3, after the user made a change in the font, the JS code produces "a blink" in the screen to adjust the drop caps in the whole epub that I don't like. And still I couldn't find a way to supress (or to hide) the blink. If the blink is not important for you, then under epub3 is possible to have perfect drop caps (Kobo for Android display very well drop caps even without JS, with any font size).
RbnJrg is online now   Reply With Quote
Old Yesterday, 07:50 AM   #12
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Quoth View Post
Yes. They also reduce readability even when they work.
That’s a matter of taste don’t you think??

Jon - I’m not going to waste my time repeating the same explanation that you obviously haven’t read before. If you truly want to learn how, and not just argue for the sake of argument, I would refer you to all the other threads where this subject has come up. Focus on concepts like pseudo-selectors, embedded fonts, JavaScript, @media, @supports, and fallback coding…
Turtle91 is offline   Reply With Quote
Old Yesterday, 08:16 AM   #13
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,123
Karma: 144284184
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 Turtle91 View Post
That’s a matter of taste don’t you think??

Jon - I’m not going to waste my time repeating the same explanation that you obviously haven’t read before. If you truly want to learn how, and not just argue for the sake of argument, I would refer you to all the other threads where this subject has come up. Focus on concepts like pseudo-selectors, embedded fonts, JavaScript, @media, @supports, and fallback coding…
They don't always work. You know this. You need a universal solution that works in most cases. And there isn't such.
JSWolf is offline   Reply With Quote
Old Yesterday, 11:32 AM   #14
RMOP
Connoisseur
RMOP began at the beginning.
 
Posts: 93
Karma: 10
Join Date: Dec 2008
Device: Kindle Paperwhite, TabPRO 8.4, Galaxy Light, Sony PRS-300
Well, these specific books use the Drop Caps ONLY for the Chapter Titles and the first LETTER of the first LINE of the first PARAGRAPH of each chapter. I read these books almost exclusively on my Kindle, having first sent them TO Kindle for whatever conversion they are presently imposing. No issues there, except for the LACK of the Drop Caps on a single volume. I've tried to match the original formatting in the hard copies, and seeing the same Drop Caps on my readers as I see in the hard copies is, somehow, rather satisfying. I've read and re-read these books so many times that I've come to appreciate that familiarity across platforms more than really makes sense. But, there it is. In any event, the ePub looks great on both my Sony Reader and, upon conversion, on my Kindle and software Kindle Readers on both phone and tablet. So, I'm happy with my very limited implementation of Drop Caps.
RMOP is offline   Reply With Quote
Old Yesterday, 11:39 AM   #15
RMOP
Connoisseur
RMOP began at the beginning.
 
Posts: 93
Karma: 10
Join Date: Dec 2008
Device: Kindle Paperwhite, TabPRO 8.4, Galaxy Light, Sony PRS-300
Quote:
Originally Posted by pdurrant View Post
Since they're public domain, feel free to just upload them here as attachments.
Here they are. The same titles are found in the MobiRead library, BTW, but mine are footnoted and annotated.

Shadows of Ecstasy displays the Drop Caps as desired.
War in Heaven does NOT, and there should be no residual from my failed attempts to add them to this book.

Any guidance will be appreciated. It's only this single book that, for some reason, has given be trouble. Probably as it was my FIRST effort at creating an ePub book. Many thanks.
Attached Files
File Type: epub Shadows of Ecstasy.epub (211.5 KB, 6 views)
File Type: epub War in Heaven.epub (216.4 KB, 5 views)
RMOP is offline   Reply With Quote
Reply

Tags
format questions


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop caps? jackm8 Amazon Kindle 5 02-07-2024 12:33 PM
Best Way for Drop Caps Wlan ePub 62 07-03-2018 07:11 PM
Drop caps RandyK Conversion 2 05-18-2014 09:13 PM
Is there a way to strip drop caps? ficbot Calibre 2 08-30-2013 11:06 AM
Drop caps huebi ePub 8 03-04-2012 06:25 AM


All times are GMT -4. The time now is 10:25 AM.


MobileRead.com is a privately owned, operated and funded community.