|
|
#16 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123457
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
Quote:
I did a bit of testing to decide that .3 em of space seemed 'about right' to me. Didn't take a lot of effort - easier to use Sigil and ADE to quickly make/compare changes to a stylesheet, then feed that back into Calibre. Last edited by ldolse; 02-17-2011 at 06:16 PM. |
||
|
|
|
|
|
#17 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
thanks - don't bother testing the override "feature" as i blieve the posted explanation of cascading stylesheets rules covers it OK
new question. I'm stumpted on how to apply the indent & line spacing prefs in bulk. i thought a 2 stage solution would work so I've backed up my library & then have converted all epub to epub with remove blank lines + set indent to 1em set in prefs. I reckoned that would be a good 1st step & it has worked as expected. for step 2, I was then hopeful that another epub to epub pass, this time with blank lines unchecked and with a short version of your prefs in my extra css p {margin-top: 0.3em ; margin-bottom: 0.3em} would do the trick, but it has not had any effect. so i must be doing something wrong here, if it worked for you -? maybe my step 1 ( remove line spaces) has stuffed the stylsheets with explicit zeros ? is that how "remove blank lines" works ?. I think that is what has happened, so now it's like with the text-indent issue. the extra css will not override the stylesheet specifics, even with the !important tag Last edited by cybmole; 02-18-2011 at 02:56 AM. |
|
|
|
| Advert | |
|
|
|
|
#18 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123457
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
I never use the remove blank lines feature in Look and Feel - it's too big a hammer, and as you've noticed it can make things difficult later. I always use extra css alone, not sure why you need the two-step approach...
|
|
|
|
|
|
#19 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
it never occurred to me that step 2 would fail on me. i knew that some books had been hand-changed to have no indents & to have different line spacings as per my previous attempts to fins my ideal style so i thought let's get them all looking the same by standardizing the indent & taking out the blanks. ( also I knew that was reversible - via the add blank lines option ) I guess its time to accept it & move on, I can easily add the .3 em spacing to any book that I am about to start reading. I had a desire to retro apply it to books read to date but unless an enhancement to calibre is released to take care of it, that will have to wait. I cannot think of another slick way to bulk change all the books stylesheets, as there will be lots of calibre-nn & other styles in them. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hanging indent | Oldpilot | Sigil | 2 | 11-13-2010 07:20 AM |
| Too much left indent! | Barty | Amazon Kindle | 12 | 11-09-2010 03:43 PM |
| ligatures and indent questions | speakingtohe | Calibre | 2 | 08-23-2010 08:33 PM |
| Paragraphs and indent | mrmikel | Calibre | 33 | 01-10-2009 06:37 PM |
| Plucker: Can I indent paragraphs? | alexdouglas | Reading and Management | 3 | 08-07-2006 06:58 PM |