View Single Post
Old 08-02-2017, 12:31 PM   #80
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
Because there's no specification for chapter titles in epub. In the default stylesheet I have defined:

Code:
  string-set: booktitle "@{@{title}@}@"
  string-set: author "@{@{author}@}@"
because those are known by calibre, but the chapter titles depend on how the book is coded, you can add, for instance:

Code:
head title {
  string-set: chaptertitle content();
}
to use the content of the <title> tag as "chapter title", but as I say, that depends on the book.
Jellby is offline   Reply With Quote