I created a custom Table of Contents by selecting which items under manuscript I wanted included and used the Copy Special/ copy documents as structured list. I then created a Contents folder under front matter and copied the contents into it. I also unchecked Generate HTML table of contents.
When I compile, my table of contents appear correctly at the beginning of the book, but the generic table of contents also appears at the end of the book as the last page. I cannot figure out a way to get rid of it.
If I check the box Generate an HTML table of contents, it over rides my table of contents and inputs the generic one at the beginning of the book.
I just want my table of contents without the system generated one.
You will always get a generated toc, because it’s mandatory to ePub3. You can remove that one from the spine section in the .opf file if you don’t want to see it in the reader. Use Sigil to edit the e-book.
The other one, place it in your Draft/Manuscript folder at the pisition where you want it to show up. Treat that like a normal page in your book.
It would appear you moved your TOC into Manuscript. Don’t.
My guess is something isn’t quite set up right, if you are getting two separate Contents sections. What would normally happen is Scrivener will find the “Contents” text item (you mention making it as a folder, which I don’t quite understand, maybe that’s part of the problem) and use it to generate a ToC at the beginning of the book. It doesn’t matter where you put it, it will always move it to the front.[1]
So the second one, at the end, may not actually be called “Contents”? It has to match the name you give to the contents page in the compile tab where you enable Generate HTML Table of Contents, in order to e detected.
Plus if you don’t already have a “ToC” section type, you might want to make one, so that you can assign it to the “Table of Contents” layout that the Ebook compile format provides. That will help ensure it is formatted correctly so that all of this works (it needs a formal heading, for example).
That, in fact, is a bug. It should be allowing you to position the contents page wherever you want in the book. But that is beside the point, here. ↩︎