Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-05-2017, 10:46 AM   #1
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
page_styles1.css after conversion

Hi!

I recently noticed that all my epubs converted using calibre 3.0 (64bit version) have a secondary page_style.css sheet named "page_styles1.css".

In the editor it shows:
Styles:
page_styles.css
page_styles1.css
stylesheet.css

Sometimes the second .css file is an exact duplicate, sometimes it shows different font faces.

Even with unconverted epubs that show one .css file, I wind up with 3.

I wasn't getting this on my previous computer with an older version of Calibre, when I migrated to the new laptop I imported all of my settings from the previous version.

Is this a new feature? Have I turned something off or on that should be on or off?

Thanks for any information.
VirgoGirl is offline   Reply With Quote
Old 08-05-2017, 11:08 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 28,438
Karma: 48895676
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
Not happening here.

Do you have a (additional) 'User stylesheet" (AKA 'Extra CSS)?

Is it possible that the original CSS was not declared properly, thus Calibre trying to add a CSS found the name in use and broke the tie?
theducks is offline   Reply With Quote
Advert
Old 08-05-2017, 02:44 PM   #3
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
I'm not sure.. I didn't before, where can I find it to check? I have honesty been using this program for 5 years and I have no idea where everything is.
VirgoGirl is offline   Reply With Quote
Old 08-05-2017, 02:45 PM   #4
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
Just checked Calibre, under "preferences>Common Options>Styling" I have fonts and colours checked off. But I've always had those checked off.

I have three rules under "preferences>Common Options>Transform styles" which may be a new thing I added after moving computers.

Last edited by VirgoGirl; 08-05-2017 at 02:48 PM.
VirgoGirl is offline   Reply With Quote
Old 08-05-2017, 02:54 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 28,438
Karma: 48895676
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by VirgoGirl View Post
Just checked Calibre, under "preferences>Common Options>Styling" I have fonts and colours checked off. But I've always had those checked off.

I have three rules under "preferences>Common Options>Transform styles" which may be a new thing I added after moving computers.
Now we know the differences in our settings.
CSS work by the "last defined" style.

Kovid or one of the other major developers can confirm that the second one overrides the first (and still leaving it intact)
theducks is offline   Reply With Quote
Advert
Old 08-05-2017, 03:15 PM   #6
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
Hmm... It seems to be something that's triggered by the original file. If I make my own from Word, I don't get it. If I reconvert from a retail epub, it sometimes happens, sometimes not.

I just tried it with various original epubs I have on my computer, sometimes it shows up, sometimes not, there is no consistent trigger.
VirgoGirl is offline   Reply With Quote
Old 08-05-2017, 03:35 PM   #7
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
Apologies for all the replies.

It appears to be something triggered by embedded fonts. If the original file doesn't have embedded fonts, it just gives me the two usual .css files. If there *are* embedded fonts, it spawns the two page_styles.css files. I have "remove embedded fonts" turned on in my preferences, no fonts show up in the stylesheet.css file.

It never happened on the previous version I had, it's the newer 3.0 64bit version.

It's not life altering, it's just annoying.

Under "Preferences>Common Options>Look & Feel>Transform Styles" I have (now) 4 rules:
1) If line-height equals any value, remove it
2) If text-align equals justify, remove it
3) If Font-family equals any value, remove it
4) if font-size is less than 1, change it to 1em (my eyes are bad)

I hope this will kill the problem.

UPDATE: Nope, it didn't.

Last edited by VirgoGirl; 08-05-2017 at 05:22 PM.
VirgoGirl is offline   Reply With Quote
Old 08-05-2017, 07:08 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 28,438
Karma: 48895676
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by VirgoGirl View Post
Apologies for all the replies.

It appears to be something triggered by embedded fonts. If the original file doesn't have embedded fonts, it just gives me the two usual .css files. If there *are* embedded fonts, it spawns the two page_styles.css files. I have "remove embedded fonts" turned on in my preferences, no fonts show up in the stylesheet.css file.

It never happened on the previous version I had, it's the newer 3.0 64bit version.

It's not life altering, it's just annoying.

Under "Preferences>Common Options>Look & Feel>Transform Styles" I have (now) 4 rules:
1) If line-height equals any value, remove it
2) If text-align equals justify, remove it
3) If Font-family equals any value, remove it
4) if font-size is less than 1, change it to 1em (my eyes are bad)

I hope this will kill the problem.

UPDATE: Nope, it didn't.
Are you HAVING Calibre embed the called for fonts (needed if the device does not already have those)?
theducks is offline   Reply With Quote
Old 08-07-2017, 10:51 AM   #9
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
Not as far as I know, based on what my settings were on my previous version.

"preferences>common options>look & feel>styling>filter style information>select what style you want completely removed", I have both fonts and colours checked. And come to think of it, it doesn't remove the colours either.

So, unless it's being overwritten somewhere else that's new (as in a recent addition to the program since my previous version (32 bit and 2.56 I think ), I can't see where it would be forcing it to add the fonts to an extra .css sheet.
VirgoGirl is offline   Reply With Quote
Old 08-07-2017, 03:00 PM   #10
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: 69,728
Karma: 116730707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Why would you turn of full justify? You can use the hyphenation plugin to hyphenate your KF8 eBooks so you don't get gaps.

The other issue is that sometimes these font sizes smaller than 1em are simulated smallcaps that are now no longer correct.
JSWolf is online now   Reply With Quote
Old 08-08-2017, 10:19 AM   #11
VirgoGirl
"Why is it doing *that*?"
VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.VirgoGirl ought to be getting tired of karma fortunes by now.
 
VirgoGirl's Avatar
 
Posts: 322
Karma: 725344
Join Date: Sep 2011
Device: Black Kobo Touch & Glo, responsible for 2 PaperWhites
Quote:
Originally Posted by JSWolf View Post
Why would you turn of full justify? You can use the hyphenation plugin to hyphenate your KF8 eBooks so you don't get gaps.

The other issue is that sometimes these font sizes smaller than 1em are simulated smallcaps that are now no longer correct.
I turn off justification because I visually dislike it. I use as few plugins as possible, preferring to alter the style by hand. If I ever want to justify a book, which I can never see happening because I HATE. IT., my Kobo can turn on justification.

I change all font sizes to at least 1em because my vision is not what is used to be, and I find that at least, 1em is comfortable, even for super and subscript.

Everyone has their own preferences for reading, which is what makes ereaders so useful.
VirgoGirl is offline   Reply With Quote
Old 08-08-2017, 12:18 PM   #12
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: 69,728
Karma: 116730707
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 VirgoGirl View Post
I change all font sizes to at least 1em because my vision is not what is used to be, and I find that at least, 1em is comfortable, even for super and subscript.

Everyone has their own preferences for reading, which is what makes ereaders so useful.
Given that you your vision needs at least a 1em font size, I suggest you get a Kobo Aura H2O Edition 2 or a Kobo Aura One for the larger screen size and the many more choices of font sizes.
JSWolf is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub to azw3 conversion and Extra CSS Section8 Conversion 8 02-06-2015 11:55 PM
css code ignored in conversion barrytatt Conversion 2 12-26-2014 06:41 AM
CSS conversion from a plugin jgoguen Development 1 02-12-2013 11:11 PM
html to epub conversion with extra CSS oilizer Conversion 4 10-23-2011 08:51 AM
Additional CSS for conversion LARdT Calibre 6 02-18-2010 07:52 PM


All times are GMT -4. The time now is 06:06 PM.


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