As you've probably all noticed by now, there's a new version out. Version 2.2.7 adds some basic management for device-specific CSS files:
Quote:
Adding Arbitrary CSS
The device driver plugin, through the base KoboTouch driver provided with calibre, has the ability to copy all rules from a specific CSS file into each book as it is uploaded. To support easily maintaining device-specific CSS files, the device driver can copy a CSS file into the correct place to allow adding it to each book. To do this, locate the calibre plugin directory, create a CSS file in there, and ensure that the Modify CSS option is selected in the driver preferences. To locate the calibre plugin directory, open calibre's preferences, choose Miscellaneous, and click the Open calibre configuration directory button. The plugin directory is in there.
The name of the CSS file must be in the format kobo_extra_<DEVICE>.css. The following replacements for <DEVICE> are currently supported (capitalization is important):- Kobo Aura HD - AURAHD (kobo_extra_AURAHD.css)
- Kobo Aura - AURA (kobo_extra_AURA.css)
- Kobo Glo - GLO (kobo_extra_GLO.css)
- Kobo Mini - MINI (kobo_extra_MINI.css)
- Kobo Touch - TOUCH (kobo_extra_TOUCH.css)
Please note, this will blindly overwrite any kobo_extra.css you may have already sent to your Kobo device! If you have created the kobo_extra.css file on your Kobo device already and you want to make use of this feature, you must copy kobo_extra.css to the location specified above.
|