09-06-2016, 03:14 PM | #16 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
In this particular case I don't believe calibre 'Delete unused styles' would delete either of those 2 classes. Even though one of them has overridden the other, both are still considered as 'used'. I don't know whether Sigil does it differently.
|
09-06-2016, 03:40 PM | #17 | |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I have been using the editor with the Preview on the Portrait Monitor. There are many things I go right to the Calibre editor for (Many involve simple Image manipulations ) |
|
Advert | |
|
09-06-2016, 03:59 PM | #18 | |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Back to the Topic With the find tools available, sorting becomes mostly a cosmetic (like 'Pretty Print' ) item. |
|
09-06-2016, 05:26 PM | #19 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
09-06-2016, 11:56 PM | #20 |
creator of calibre
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
As far as duplicates are concerned: https://github.com/kovidgoyal/calibr...3c51e363d7959a
|
Advert | |
|
09-07-2016, 12:22 AM | #21 | |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
09-07-2016, 01:35 AM | #22 | |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
09-07-2016, 03:17 AM | #23 |
creator of calibre
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well, if you dont care about maintaining 100% accuracy in the resolved styles, simply sorting selectors is pretty trivial to implement, about 30 lines of code. https://github.com/kovidgoyal/calibr...fe8ba3b03acf03
|
09-07-2016, 04:53 AM | #24 | |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
09-07-2016, 06:12 AM | #25 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Thank you very much |
09-07-2016, 07:27 AM | #26 | |
Evangelist
Posts: 432
Karma: 1720909
Join Date: Mar 2011
Device: Voyage, K3
|
Quote:
Thanks for the enlightenment! So much easier than searching a large CSS file. |
|
09-07-2016, 01:57 PM | #27 |
Interested in the matter
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
Thank Kovid! you're a machine.
|
09-07-2016, 02:36 PM | #28 |
Wizard
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
|
09-07-2016, 02:45 PM | #29 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
09-07-2016, 10:52 PM | #30 |
creator of calibre
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
stylesheet.CSS anyone? | ProDigit | ePub | 81 | 12-26-2015 01:43 PM |
User agent stylesheet: a proposal | roger64 | Editor | 4 | 12-27-2014 02:00 AM |
Converting cm to em in css stylesheet | roger64 | ePub | 41 | 06-13-2014 01:00 PM |
How to maintain a global CSS stylesheet | amoroso | Sigil | 7 | 07-18-2010 08:37 PM |
Where is the stylesheet.css? | roger64 | Sigil | 4 | 03-23-2010 02:12 PM |