For KDP, you have to include a table of contents directly after the title.
If I click “Create HTML Table of Contents” when converting the ebook, it is created somewhere, but not after the title.
How should I do this?
Best wishes from Germany!
You’ll have to also tweak the other toc, the one that shows in the ereader’s interface, as this second one refers to the xhtml one that you’ll move.
It’s been a while since last time I’ve done this, I am refreshing up. (…)
. . . . . .
After you’ll have moved your toc after your title page like I’ve shown in my screenshots (except that in my case I moved it all the way to the top, for no good reason),
tweak the other toc using this :
I remember messing around like monkeys about 2 years ago (if not more) with some other user and we couldn’t get the thing going. Then Amber said there was a bug.
I think it was this function. But I’m not sure.
It kept messing up the toc’s title from the compile panel or something, and the toc would fail.
Something about matching the toc’s title to the binder host-document’s in which <$toc> was.
Despite our efforts, the title kept refusing to match/connect. (Windows version)
??
Anyways, @cvst1lleo :
Do as kewms instructed, since you are on Mac.
It is a much simpler solution.
And thank you, Kewms, I had completely forgotten about it.
(I’ll report bug/no bug tomorrow.)
. . . . . . . . . . . . . . . . . . . . . . . .
[EDIT] I think I remember what the bug was.
It kept double titling the toc, and the title was stuck on “Contents”
So even if we titled the toc “Whatever” in the compile panel, it came out as