View Single Post
Old 11-14-2014, 10:31 AM   #1
Doonge
Connoisseur
Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 1184732
Join Date: Nov 2013
Device: Kobo Glo
Automatic routine when sending book to device (Kobo)

Hello, new to Calibre programmation.

I'd like to have some help starting (where to look at).

I'd like to clean and structure some of my books, but I typically use css rules that aren't supported by ebook readers (css pseudo elements like :first-letter, :first-element). It means that I'd need a routine that scans the css rules, and creates the pseudo element within the HTML structure when books are sent to a device (my Kobo) which doesn't support pseudo elements.

- when I manually edit a book, does that edit the file contained in the Calibre Library folder, or does that edit a diff file? (I might have dreamed, but I noticed my changes weren't always saved in the .epub files).

- when I send a book to a device, what are the automatic edit routines that are made by Calibre? (so I don't do them twice)

- And how to add one?

Thanks for your attention and your time.
Doonge is offline   Reply With Quote