|08-29-2012, 03:43 PM||#1|
Join Date: Oct 2009
Device: Sony PRS 505
Extra CSS after Filter Style Information
I couldn't find anything about this so I figured I'd just ask.
I add font-family information by reconverting my epubs so they look all nice on my reader. However, when I use Filter Style Information to purge font information previously in the epub, it will also edit out whatever I add in the extra CSS section.
Is there a way to tell calibre to add in the CSS after doing the filtering?
Right now, I can sort of hack it by converting from epub to mobi (with filtering) and then mobi back to epub (with the new css but no filtering). But that feels kinda kludgy.
|08-29-2012, 11:48 PM||#2|
Creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
Do an epub to epub conversion twice, deleting the original_epub file between conversions. Or tweak the epub after conversion to add the css directly to its stylesheet. Filtering css happens only after all css including extra css has been flattened, so there is no way to have it not apply to the extra css.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|html to epub conversion with extra CSS||oilizer||Conversion||4||10-23-2011 09:51 AM|
|Overridng link colour with extra CSS||cyruss||Conversion||2||04-08-2011 08:58 AM|
|Justification problem even with extra css||hiperlink||Recipes||2||03-09-2011 09:40 AM|
|css pseudo elements and adjacent combinators in extra css?||ldolse||Calibre||2||12-21-2010 06:09 PM|
|a few extra css questions||marbs||Recipes||12||11-20-2010 11:15 AM|