Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-12-2021, 07:20 AM   #16
koboy
Wizard
koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.
 
Posts: 1,198
Karma: 4027538
Join Date: May 2014
Device: Kobo Aura, Mini, Touch, Amazon Kindle.
Quote:
Originally Posted by JSWolf View Post
Sorry, but one screen = one page does not work with KePub. It's been buggy for some time now.
i wonder how many people actually care other than you

best wishes koboy
koboy is offline   Reply With Quote
Old 08-12-2021, 02:28 PM   #17
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,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:
Originally Posted by koboy View Post
i wonder how many people actually care other than you

best wishes koboy
I don't care. I'm just pointing out the error.
JSWolf is online now   Reply With Quote
Advert
Old 08-12-2021, 04:08 PM   #18
koboy
Wizard
koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.koboy ought to be getting tired of karma fortunes by now.
 
Posts: 1,198
Karma: 4027538
Join Date: May 2014
Device: Kobo Aura, Mini, Touch, Amazon Kindle.
Quote:
Originally Posted by JSWolf View Post
I don't care. I'm just pointing out the error.
indeed i had noticed.

best wishes koboy
koboy is offline   Reply With Quote
Old 08-12-2021, 08:14 PM   #19
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by JSWolf View Post
I don't care. I'm just pointing out the error.
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.
davidfor is offline   Reply With Quote
Old 04-12-2022, 06:06 PM   #20
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
Quote:
Originally Posted by hobnail View Post
The way I do it is by editing the epub. If you look at the first sentence you'll typically see a span around the first letter, and sometimes another one around the first few words to make them small caps. The first span has a class, often with an obvious name; just do a global search and replace on it (including all of the html files) to make them go away, so that the span has no class. So 'span class="firstletter"' becomes simply 'span' (with the angle brackets of course).
I'm just working up enough courage to try this kind of thing. But, instead of deleting the class in the span, could I go to stylesheet.css, find the style and delete (or somehow comment out) everything between the curly brackets? That seems like it might be a bit easier.

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>
In stylesheet.css, I'm seeing:

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
    }
Would just sticking a /* */ pair around everything be safe:

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.
enuddleyarbl is offline   Reply With Quote
Advert
Old 04-12-2022, 06:30 PM   #21
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: 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.
DNSB is offline   Reply With Quote
Old 04-13-2022, 06:28 AM   #22
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,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:
Originally Posted by DNSB View Post
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.
I use Disp's Editing Toolbag for something like this.
JSWolf is online now   Reply With Quote
Old 04-27-2022, 11:04 PM   #23
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
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>
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.
enuddleyarbl is offline   Reply With Quote
Old 04-28-2022, 12:41 PM   #24
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: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by DaveLessnau View Post
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>
DNSB is offline   Reply With Quote
Old 04-28-2022, 06:14 PM   #25
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,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.
JSWolf is online now   Reply With Quote
Old 04-28-2022, 06:29 PM   #26
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
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.
hahaha, that is funny.

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.
Karellen is offline   Reply With Quote
Old 04-30-2022, 01:10 AM   #27
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
Quote:
Originally Posted by DNSB View Post
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>
Those search/replace fields appear to have worked. I've just now done the replacements and a cursory inspection looks good. Thanks for that.
enuddleyarbl is offline   Reply With Quote
Old 04-30-2022, 03:53 PM   #28
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: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by DaveLessnau View Post
Those search/replace fields appear to have worked. I've just now done the replacements and a cursory inspection looks good. Thanks for that.
Good to hear that it worked for you.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


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


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