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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2012, 02:43 PM   #1
tok240
Junior Member
tok240 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: Sony PRS 505
Extra CSS after Filter Style Information

Hello,

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.
tok240 is offline   Reply With Quote
Old 08-29-2012, 10:48 PM   #2
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
html to epub conversion with extra CSS oilizer Conversion 4 10-23-2011 08:51 AM
Overridng link colour with extra CSS cyruss Conversion 2 04-08-2011 07:58 AM
Justification problem even with extra css hiperlink Recipes 2 03-09-2011 08:40 AM
css pseudo elements and adjacent combinators in extra css? ldolse Calibre 2 12-21-2010 05:09 PM
a few extra css questions marbs Recipes 12 11-20-2010 10:15 AM


All times are GMT -4. The time now is 12:13 AM.


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