Join Mikkel Aaland for an in-depth discussion in this video Creating a table of contents, part of Creating Photography Ebooks.
Let's see how easy it is to use InDesign to generate a table of contents or TOC. I'm going to grab a new page here and put it in after the copyright page, and then go under Layout, Table of Contents. And I'm going to give this TOC a title, actually I already have, Contents. I'll give that a paragraph style of a Header 1. And I have a good reason for that and I'll show you that shortly. I'm going to select Header, where is it, Header 1 as one of the styles I want and add it over here.
And Header 2 as well. Okay, so I'm going to base my TOC entries on Header 1 and Header 2. All right. So, under Header 1, I'll select that and I want to point this out if you haven't selected this before, it'll just say More Options, and then you click on it and you get these options that show up here. So, for the Header 1, I want the same style and I want the Page Number after the entry. And lets give it a let's give it a little, an m dash.
it's a Level 1. in terms of style, let's just leave that at none, style none. Okay, so then, over here to Header 2. I'm going to create a different entry style for that. I want it to be a body, let's see, body italics. I create it, it's just a body text with italics. So, it'll be a little bit smaller and in italics than Header 1. And I don't want a page number after that. And is there anything else here? It's Level 2 which is good.
So, the next important thing is to be sure to save the style. And you'll see why it's so important shortly. TOC, Table of Contents, County Fair. Okay. And I'm going to go ahead and select OK. But I can always come back later and change these settings if I want. All right, so underneath my cursor, you see the text there. I'm going to click in that page that I created. And you see how it's generated the contents page.
With the Preface, the Foreword, the Introduction, the Special Portfolio Edition. If I'm working on the document later and I add, let's say, other Header 1 or Header 2 styles and I select the TOC like this, and go under Layout, Update Table of Contents. It will automatically generate a new table of contents based on the new information that I have entered into my into my document. So, it's pretty smart, pretty easy, but let's see how it looks when we export it. So, File, Export, Format ePub, Save, Replace.
Okay, under Contents, this is very important that you selected this use InDesign TLC style. And then, here, your style should show up as an option. And be sure to select that. Now, here's the other thing that I'm going to be sure that's selected is Break Document at Paragraph Style, Header 1. You remember, I made the word Contents at Header 1. So, that means, now that will start a new page as will all my Header 1s which I wanted to do. All right, so I'm going to select OK. And let's see how this looks in the in the Preview mode. Okay.
There's there it is over here on the left. If I select Preface, it'll take me right there. And because we've made Header 1 as a new page, it'll open up to that page. And the same with the Foreword and the same with the Introduction. And now, let's scroll back up and see how it looks here in the document. It doesn't look great, but I have no idea how this is going to look in the actual device, the, the reader. And and you really don't have much control over that. See the, the reader can control the type size and there's so many things they have control over.
But you'll have a very functional TLC and it's that easy.
- What is an ebook?
- The process in a nutshell, from start to finish
- Creating and designing an ebook in InDesign
- Adding hyperlinks and a table of contents
- Exporting to the EPUB format
- Publishing and marketing your ebook