![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,198
Karma: 4027538
Join Date: May 2014
Device: Kobo Aura, Mini, Touch, Amazon Kindle.
|
|
![]() |
![]() |
![]() |
#17 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,198
Karma: 4027538
Join Date: May 2014
Device: Kobo Aura, Mini, Touch, Amazon Kindle.
|
|
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The problem is how you did it. You stated it "does not work". It does work. But, it is not perfect. There are two problems, but, there appears to have been work done on one of them so it does not happen as much.
And honestly, there are so many shortcomings with the Adobe page numbering method, that criticising the kepub full book numbering is on very shaky grounds. But, that is a topic for another thread. |
![]() |
![]() |
![]() |
#20 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Quote:
For instance, in the book I'm reading now, it looks like the drop caps are done by: Code:
<span class="char-style-override">x</span> Code:
.char-style-override { color: #666; float: left; font-size: 5.839em; line-height: 1.5em; margin-bottom: -0.46em; margin-right: 0.05em; margin-top: -0.5em } Code:
.char-style-override {/* color: #666; float: left; font-size: 5.839em; line-height: 1.5em; margin-bottom: -0.46em; margin-right: 0.05em; margin-top: -0.5em */} EDIT: I just tried it and sent the book over to my Forma. It seems to work. No smoke pouring out of the device at all and those miserable drop caps are gone. Yay! Last edited by enuddleyarbl; 04-12-2022 at 06:22 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Removing the class from the span or making the class in the CSS a do-nothing are effectively the same. My personal choice is to replace the entire span by using a simple regex in Sigil. Something like <span="dropcaps">(.*?)</span> with the replace being \1 (basically whatever the expression inside the brackets works out to, generally a "[A-Z] or [A-Z]. The next time I run Delete unused stylesheet selectors, the entry in the CSS stylesheet also vanishes.
As usual, many ways to achieve the same end. Whichever one you find easiest is the best choice for you. |
![]() |
![]() |
![]() |
#22 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
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> |
![]() |
![]() |
![]() |
#24 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
<span class="first-letter first-letter-[a-z]"> with <span> <span class="first-punctuation punctuation-elevated"> with <span> |
|
![]() |
![]() |
![]() |
#25 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Vellum is garbage. Why anyone would use it to make an eBook is beyond reason. It's best to learn the HTML/CSS needed to make eBooks and do it by hand with either Calibre's editor or Sigil.
Vellum (fortunately) is Mac only so that means those dumb enough to by a Mac are the only ones dumb enough to maybe use Vellum. Last edited by JSWolf; 04-28-2022 at 06:18 PM. |
![]() |
![]() |
![]() |
#26 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
Many, many, many years ago I tried using mac once, because "it was the next in thing", "it was sooo much better than Windows", "Apple wasn't profit motivated" and a hundred other questionable reasons. I tried, I didn't like it, I resisted and I was an idiot for doing so (according to those "friends" of mine, and family who had no clue about computers anyway). I don't understand why to this day so many MacOS users I know are so vehemently protective of their choice. I don't really care, just stop telling me I am wrong for using Windows especially when you can't give me a quality reason. |
|
![]() |
![]() |
![]() |
#27 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Quote:
|
|
![]() |
![]() |
![]() |
#28 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre changes drop cap on converting epub -> azw3 | AlanHK | Conversion | 19 | 02-14-2020 10:24 AM |
Drop cap issue converting ePub > AZW3 | Pepper Breath | Conversion | 14 | 09-17-2018 06:59 AM |
Raised Drop Cap Image Followed by Small Caps | RyanMcSwain | ePub | 10 | 09-04-2014 10:12 AM |
Drop cap bug on Paperwhite | dgatwood | Kindle Formats | 11 | 04-10-2014 04:14 AM |
Aura HD Drop Cap coding help, please | MacEachaidh | Kobo Reader | 13 | 08-15-2013 01:18 PM |