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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2014, 11:03 AM   #1
bowlins
Member
bowlins began at the beginning.
 
Posts: 12
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
bowlins is offline   Reply With Quote
Old 08-29-2014, 11:05 AM   #2
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: 38,689
Karma: 19643753
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
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.
JSWolf is offline   Reply With Quote
Old 08-29-2014, 11:50 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,450
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's all or nothing.
kovidgoyal is online now   Reply With Quote
Old 08-29-2014, 02:53 PM   #4
bowlins
Member
bowlins began at the beginning.
 
Posts: 12
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
bowlins is offline   Reply With Quote
Old 08-29-2014, 04:17 PM   #5
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
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?
mrmikel is offline   Reply With Quote
Old 09-01-2014, 05:42 AM   #6
bowlins
Member
bowlins began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2014
Device: none
Tahnksf or that! I hadn't realised something similar was also available in Sigil
bowlins is offline   Reply With Quote
Old 09-01-2014, 01:32 PM   #7
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,920
Karma: 4329601
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
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.
jackie_w is offline   Reply With Quote
Old 09-02-2014, 05:22 AM   #8
bowlins
Member
bowlins began at the beginning.
 
Posts: 12
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
bowlins is offline   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
Remove unused CSS Rules Divingduck Editor 2 06-21-2014 08:51 AM
New "remove unused css" tool BobC Editor 4 01-25-2014 10:06 PM
"Remove the dependency on the zip command line tool when developing plugins"? JimmXinu Plugins 2 07-13-2012 03:09 PM
Ended "Unused" BN Nook Color. Waba Flea Market 3 01-14-2011 11:21 AM
How to remove "Fully read" books from "Last Open" list? pjeanetta PocketBook 4 12-08-2010 11:30 AM


All times are GMT -4. The time now is 01:07 AM.


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