Not all ePubs are formatted correctly. Some are simply scanned from books with page numbers included and simply converted to ePub. Fortunately there are more properly formatted books on the net, and those DO come with a working TOC. But Calibre doesn´t generate it automatically. You need Sigil and some CSS knowledge to do that.
|