Comment 2 for bug 854744

Revision history for this message
Mekk (marcin-kasperski) wrote :

If I paste @import, it is dropped… OK, I will try to describe the problem in other way.

Some readers (including my Sony PRS-600) fail to provide a way to configure default font(s). Therefore the only way to impact book styling is to embed appropriate CSS inside .epub. Still, this is troublesome as such CSS is copied to every book separately, so any change must be reflected in all books separately. Having sth like @import("/predefined/location/on/the/reader.css") in every book would let me edit this CSS file once and impact all books simultaneously, at least for calibre-generated ebooks it would work as replacement for reader configuration.

In Calibre pipeline it could be considered not the aspect of a book, but aspect of EPUB output generator - a snippet of CSS added to epub on the very end of pipeline, after flattening, conversions,, etc