How to Compile a Smashing Doc in Scrivener—Pt 3—Creating a TOC
This is the last of a three-part series on compiling a Microsoft Word document from Scrivener with the goal of uploading it to Smashwords. If you missed them, here’s Part One and Part Two. This last part is concerned with creating a Table of Contents (TOC ) in your Word document after you’ve compiled it from Scrivener. Before we begin, keep in mind two things. First, I write fiction so my book interiors are simple—no tables, no photos, just pages with words on them. Second, the definitive guide for creating a pristine Microsoft Word document for Smashwords, including an HTML Table of Contents, is Mark Coker’s book, Smashwords Style Guide. It’s free and amazing and available on Amazon and Barnes & Noble in several languages. And Smashwords also has step-by-step guides on how to create, check, and upload Word documents. That said, here’s an overview of the steps I use to create a TOC in Microsoft Word. There are three easy steps:
- I create Bookmarks for each item I want to include in my TOC.
- I create the TOC, usually placing it after the copyright page.
- Then I hyperlink each item in the TOC to the bookmarked item in my manuscript.
Easy, right? Very easy, except it’s boring and time-consuming and can make you dizzy, so get ready. For the most part, I use Microsoft Office 2011 on a Mac, but I also have Microsoft Office 2010 on a laptop running Windows 7. The commands are essentially the same in Windows and OS X, except that on the Mac you use the Command key with a shortcut key, and in Windows, it’s the CTRL key plus shortcut. So here’s a closer look at each step. Create Bookmarks. This is where I go through my manuscript and create a Bookmark for each item I want to include in my Table of Contents. (Boring.) For my books, that’s usually just chapter titles, but sometimes I group chapters into parts or sections. Here’s the process I use:
- Turn on Invisibles. You’ll see why soon.
- Highlight the item you want to bookmark. In the example below, “Elena” is my first chapter title. On the Menu Bar, choose Insert > Bookmark
- A dialogue box appears. In the example below, I’ve already created Bookmarks, so they appear in the box. But if you haven’t created a bookmark yet, the box will be empty. Add a name in the Bookmark name: field and click the Add button. Also, when you name a bookmark, make sure you make it one word or use hyphens between words. And one more thing: sometimes Word creates its own Bookmark names. You’ll find them listed in the box below the Bookmark name: field. If that’s the case, just delete them.Note also that I didn’t highlight the paragraph return after “Elena.” If you’re having difficulty un-highlighting the paragraph return, hold down the Shift key and click the left-pointing arrow.
- Go through and bookmark each and every item in the body of your manuscript so you can link to them in your TOC.
Create a TOC. Here’s the way I do it:
- Create a blank document. Name it whatever and save it—but it’s a temporary container, that’s all.
- Copy and paste each TOC item into this newly created document. This step can be combined with bookmarking chapter titles. (I copy and paste each chapter title into the blank document before I create its bookmark.)
- Copy the list of items from the new document.
- Paste it into a new page in the manuscript and title it “Contents”—or whatever. I place mine after the copyright page.
- Delete the new document.
Hyperlink each item in the TOC to the bookmarked item.
- In the TOC, highlight each item. Click Command + K (CTRL + K). The Insert Hyperlink dialogue box appears.
- The very first time you insert a hyperlink, you’ll need to select your manuscript in the Link to: field. To do this, click the Select… button and point to the location of your manuscript document on your computer. In subsequent instances, you can link to your document by clicking the double arrows to the right of the Link to: box as shown in the example below.
- Now you need to point to the Bookmark you’ve created, so click the Locate… button.
- Find its bookmark name in the Select Place in Document box.
- Click OK. Make sure the correct name is in the Anchor: field.
- Click OK, and you’ve hyperlinked one TOC item to one bookmarked item.
- Isn’t it fun?
- When you’re all done, take a deep breath: you’ve created a hyperlinked TOC.
That’s it. After I’m done creating a hyperlink TOC, I always check my Word document one last time to make sure I’ve not missed anything. Then I upload it to Smashwords. If you have questions, please leave a comment or contact me. Oh, and if you want to see the documents I’ve compiled, they’re available on Smashwords. One—Death of a Sad Face—is a free download on Apple, Barnes & Noble, and Smashwords. Clam Seller, Mulberry Bend, ca 1890. Public Domain.