12-18-2010, 09:06 AM | #1 |
Wizard
Posts: 1,717
Karma: 3790058
Join Date: Oct 2010
Location: NYC
Device: Kindle Paperwhite, Sony 650
|
Calibre Settings and CSS
Some questions about Calibre's "Look and Feel" and "Page Setup" settings vs the "Extra CSS" field. My understanding is that the Look and Feel and Page Setup settings take precedence over the Extra CSS. Is that correct? For instance, I am trying to add left-margin, right-margin, etc values into the CSS but they are not taking effect because there are margin settings in the Page Setup page. So I have to change them there. And there is no way to "not set" a margin value on the Page Setup page. It seems like there should be a "none" or "inherit" value there.
Is this also true for font size and line height settings? The settings in Calibre take precedence over the Extra CSS? I would like to get "my" stylesheet all fixed up and just paste it in once for every title I'm converting, not have to change settings here and there. I also tried changing the settings in the "Preferences" under Common Options. But the changes didn't seem to take effect. My custom settings, including the Extra CSS, are displayed when I view them in Preferences. But when I go to convert a book, the default settings are still there and my custom settings are not. I have tried restarting the app and I still don't see my custom settings. Thanks, eP |
12-18-2010, 10:47 AM | #2 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
If you have already converted a book calibre will remember your previous settings. You can reset to the defaults you set in Preferences on the Convert - Look&Feel page, RestoreDefaults button bottom left. Then convert again.
|
Advert | |
|
12-20-2010, 10:15 AM | #3 |
Wizard
Posts: 1,717
Karma: 3790058
Join Date: Oct 2010
Location: NYC
Device: Kindle Paperwhite, Sony 650
|
Thank you, Jackie_w, that's very helpful about how to get the default settings to apply!
Can anyone address the precedence rules of Calibre settings vs extra css, and how to "turn off" certain Calibre settings in favor of CSS? Thanks, eP |
12-20-2010, 11:23 AM | #4 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Everything is basically merged, but the 'remove paragraph spacing' and 'font size rescaling' are both things that will usually 'win' over the extra_css options that conflict. Disable both of those and you should be ok for the vast majority of cases, though depending on the original book formatting you may want font size rescaling enabled. It usually does just fine, but if there are drop-caps/raised-caps the font size rescaling could shift those around.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre settings for using 'chapter' in TOC | TargonD | Calibre | 13 | 11-03-2010 08:57 PM |
Need help with Calibre settings... | Sinner3k | Calibre | 32 | 09-05-2010 08:58 PM |
Calibre does not remember its settings... | panzer | Calibre | 1 | 09-01-2010 06:59 PM |
Calibre Settings | coredump | PocketBook | 15 | 12-17-2009 01:03 AM |
Opus Best conversion settings in Calibre | Crusader | Bookeen | 4 | 10-17-2009 02:14 PM |