View Single Post
Old 09-05-2014, 09:55 AM   #46
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I was going to say no, but now that I think of it, it may be possible to use calibre-provided metadata (with custom columns, templates and everything) in the custom CSS. I'll have to play a bit with it and implement it, but my idea currently is something like this in your CSS:

Code:
body {
string-set: booktitle @{title}@
}
where @{title}@ would be converted into "Book Title" by calibre before passing the CSS to Prince. I'll have to think about the syntax too.
Jellby is offline   Reply With Quote