Moving TOC in eBooks?

First off, my personal experiences thus far using this software has been more dynamic and positive than any other software I have ever used!

This support forum has also been a lifesaver…especially for my first novel being released this Saturday (knock on wood). The process has been so smooth I got a second copy for my wife.

So thank you very much for the brilliance and many, MANY children thank you for helping this story come to life once more.

Now my question:
I’m using Scrivener 2.0 to compile my books into .epub and .mobi formats, but what I’m wondering is:

Can the TOC be moved into the book further, rather than the default location?

Hopefully I make sense. I buy eBooks that have a cover picture, then a title page or copyright page, maybe a dedication page and THEN the TOC. Yet when I create my books with Scrivener, there is the cover art, then the TOC, then the rest listed above.

I’m wondering if there’s a way to place pages/content before the TOC?

Not being overly technical minded, I’m not sure I have options. Yes, I know you all talk as if these issues are simple/easy–but I assure you this crowd is overly clever, so please help the slower members like myself who rely on you :wink: .

Any suggestions?

Thank you in advance.

Yes, this is possible; you just have to do a little more manual labor. Instead of using the automatically generated TOC, you need to create your own as a new document in the binder (place it where you’d like it to be compiled, so after your title page, etc.) and then adjust the compile settings so the ebook uses your custom TOC instead of creating one automatically.

Chapter 23 of the User Manual goes over how to create a custom table of contents, but it’s really pretty simple, especially given that the formatting isn’t going to matter at all on an ebook. Since you don’t even need page numbers, just links, here’s all you really have to do:

  1. In the binder or outliner, expand your list of document titles to just the level that you want to include in your table of contents. The easiest way to do this, unless you’re starting with a flat list anyway, is to load the Draft in the outliner, then select all and use the shortcut Opt-LeftArrow to reset the disclosure states and then continue to select all and use the Right Arrow key to expand each level until you get to the detail you want.

  2. Select all again in the outliner and choose Edit>Copy Special>Copy Documents as Scrivener Links.

  3. Create the new TOC document in the binder, placing it where it should go in the order of documents and giving it the title you want your TOC to have in the compiled book, then paste this list into it.

  4. Delete any titles in the TOC list that you don’t want (your title page, etc.).

The next thing to do is to set up your compile to use this document as the TOC. First, in the Contents area, make sure the TOC document is set to be included in compile and to have a page break before it. Then, under E-Book Options, enter the title of your TOC document in the text field after “HTML table of contents title”. (“Generate HTML table of contents” will need to be checked as well to enable this option.)

If you’ve set your formatting preferences to include a title prefix or suffix for your documents, you’ll also want to go to the Processing Options tab and check the box to “Update Scrivener links containing titles to include prefix/suffix”–this will then add your prefix/suffix to the list of documents in the TOC, so for instance if you’re adding chapter numbers via this method, those numbers will show up properly alongside the title in the TOC. In that same tab you’ll also want to use the drop-down menu under “Individual Document Titles Options” to select the TOC document so that it doesn’t receive a title prefix or suffix, since presumably you don’t want Chapter 1: Table of Contents. :wink:


Thank you. You proved my compliments to be well placed. :smiley:

I am going to try this right now. Be back soon with an update!

No problem. Compile’s always a tricky thing since there are so many ways you can go about setting up your binder and formatting and so on–the flexibility and power is fantastic, but it can get complicated trying to figure it out or explain it sometimes. If you run into any glitches, just throw it back at me and I’ll try and tweak the directions for your specific needs.

Also, I forgot to say, congratulations on your book!



Just the way I wanted it! Worked for both the Kindle and Nook.

Oh MM, I sure do appreciate this :smiley: .

…and thank you about the book. We’re very excited.
As long as I don’t flat out suck as a writer, I’ll be happy :wink: .