

This includes original content as well as content in MOBI and EPUB from other sources. I am seeing this behavior consistently with all books, from all sources, when working with AZW3 file formats. This is a new book created with Calibre 5.1, converted from an epub format and merged from multiple source files. The HTML and CSS is otherwise fairly clean, with only a bit of DIV-itis. I can't see anything different about this chapter in the editor. When loaded on my kindle (paperwhite 3) the TOC bookmarks mostly work, with one exception. In practice, I do not know if the error exists when saving the file or when re-opening the file. This means that I cannot manually use these IDs in the HTML even if they were valid, which most are not. Every time I save and reopen, the IDs are all re-generated with a new GUID. I have been unable to determine the source of this GUID. Note the invalid auto-generated IDs all share the same GUID value at the end. In all cases, after saving and reopening, the TOC entries look something like:

* I set my own (valid) IDs on the top DIV or BODY tag and reference them in toc.ncx Calibre generates a "top_1" id in the HTML. * I set a TOC entry to the first DIV in the document. * I set a TOC entry as "top of page" (no id in the link) But when I save, close, and re-open the book in the editor, all the TOC entries are changed to point to invalid IDs that seem to be some kind of default values that do not exist in the actual HTML. I can correctly set up the TOC using either the editor or directly in the toc.ncx file and the check shows no errors. When defining the table of contents (TOC) in a AZW3 book, I am getting strange but consistent errors related to auto-generated ids. So my question is, is there a line of code which I can insert so that the Kindle will mark off a particular body of text as being the Table of Contents?Īnybody who can answer this for me will be my new best friend.OS: Windows 10 圆4 (build 19041, aka "version 2004") The TOC which I created is there, of course, but if you click "Menu", "Go To", the "Table of Contents" button is greyed out and not an option. As a result, however, when I test the book in my Kindle, it comes up with no recognized Table of Contents. As such, I disabled its automatic table of contents creation. My only problem is, Calibre's automatic table of contents creator generates a very screwed up table of contents (because of all the crazy links as I mentioned above). As I said, it's a complicated e-book.Īnyway, I am basically finished formatting and creating hyperlinks. In addition, the book has two tables of contents - one which is a guide to the main book, the other which is a guide to the different footnotes. It had about 300+ footnotes and links to each of them throughout the body of the text. I have created an e-book (a rather elaborate one).
