OK. But:
a) I'm still puzzled how it picks up the language locale... is this encoded in the book somewhere? Where does Calibre get the localised text from?
b) Wouldn't it be a good idea for the future to generate the inline ToC from a template in a file somwhere that users can customise, rather than hard-coding it?
|