06-21-2014, 06:11 AM | #1 |
Wizard
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Remove unused CSS Rules
Hi Kovid,
I have an unhandled exception with removing unused css rules due to a not existing file. Is only as information as this is an mistake in the epub and I will adjust this in the book. Calibre error message: Spoiler:
Error caused by missing file: Spoiler:
|
06-21-2014, 07:39 AM | #2 |
creator of calibre
Posts: 44,653
Karma: 24966646
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You should run check book and fix the errors before using any automated tools like remove unused css. The automated tools are not designed to be robust against all possible errors in the book.
EDIT: However, I have made it robust against this particular error at any rate. https://github.com/kovidgoyal/calibr...b7a45940a669d0 Last edited by kovidgoyal; 06-21-2014 at 07:43 AM. |
Advert | |
|
06-21-2014, 08:51 AM | #3 |
Wizard
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
A stupid thing, indeed. This was one of my books in my test library. I corrected the book in my regular library long time ago and forgot afterwards the modification , as I saw later today
Thanks. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CSS to indent paragraphs and remove spaces | Alda | Sigil | 7 | 06-20-2014 06:36 AM |
New "remove unused css" tool | BobC | Editor | 4 | 01-25-2014 10:06 PM |
Remove border css | pvalle29 | Conversion | 6 | 11-27-2013 05:24 AM |
In an ePub reader, what are the rules for processing styles/CSS? | mattcurtis | ePub | 1 | 04-05-2013 12:11 PM |
Conditional CSS rules | Jellby | ePub | 10 | 01-20-2009 09:32 AM |