Quote:
Originally Posted by jgoguen
Should that be a list in the class, so plugins can override it?
|
I wouldn't code it as a list. If I was doing it properly, I would probably add a property along the lines of "supports_cover_in_toc". Default that to false in the base OutputPlugin class and set it to true wherever appropriate. That was more than I felt like doing yesterday and the change I made was in keeping with the coding style in of the class and method I was changing. And if we keep adding things like, this Kovid will eventually accept that kepubs are a standard format.

Wouldn't we all like to edit kepubs in the calibre editor??? Just two or three changes if anyone is interested.
Also, is the git repository up to date? My local copy doesn't match but I'm not sure which are changes I've meant to throw away.