[Enhancement] option to always use title attribute for chapter titles in TOC
The calibre manuals mention how to use images as your chapter titles but still have useful text in the generated TOC by setting a title attribute:
For the book I was creating I did not want images but I still wanted the TOC text to be different than the tag's value.
I ended up having an empty H1 with the title attribute followed by my "real" chapter title. This was annoying.
I wanted an option to just default to using the title attribute if one was found. Something like what the attached patch does.
I have only had the calibre source for a couple hours and I'm new to python as well so I could have missed all sorts of conventions or cases but I was able to pass the flag to ebook-convert and from within the gui.
(tested with calibre 1.19 on OS X)
|Changed in calibre:|
|status:||Incomplete → Fix Released|