|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2014
Device: none
|
Is it possible to reject some changes after using "Remove unused CSS tool"?
I was just using the useful "remove unused CSS styles" tool on one of my files. However, there are a couple of changes I want to reject because they are HTML tags I'll edit later.
So my question is: is the "remove unused CSS" tool an all or nothing instance? Or can I reject certain changes when reviewing changes made? At the moment I'm stuck at the all or nothing option |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,247
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Don't remove unused CSS until after you are done editing the XML. Then all that will be removed is truly any CSS you are not using.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's all or nothing.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2014
Device: none
|
Thanks for clarifying this. I'll have to find a workaround. I know this tool should be something to use at the end of the editing process. Otherwise it doesn't make sense, but after finishing editing with Calibre I switch to Sigil because it handles TOC in a way that suits my purposes better, so I'll have to add tags manually after removed
|
![]() |
![]() |
![]() |
#5 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Why not just clean these up in Sigil. It has that function too, doesn't it?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2014
Device: none
|
Tahnksf or that! I hadn't realised something similar was also available in Sigil
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,249
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
With many epubs, using calibre or Sigil will give the same results when removing unused CSS. However, when the CSS is "more complicated", I believe the calibre Editor is able to find unused CSS which Sigil doesn't find.
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2014
Device: none
|
Thanks jackie_w. So now it gets more complicated. That was my "intuition" all along anyway, as software which is no longer supported and developed will be bound to suffer from that sort of drawback. I'll get round it. Thanks again somehow
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove unused CSS Rules | Divingduck | Editor | 2 | 06-21-2014 07:51 AM |
New "remove unused css" tool | BobC | Editor | 4 | 01-25-2014 09:06 PM |
"Remove the dependency on the zip command line tool when developing plugins"? | JimmXinu | Plugins | 2 | 07-13-2012 02:09 PM |
Ended "Unused" BN Nook Color. | Waba | Flea Market | 3 | 01-14-2011 10:21 AM |
How to remove "Fully read" books from "Last Open" list? | pjeanetta | PocketBook | 4 | 12-08-2010 10:30 AM |